Setting up Http/2 with debian 8.7+Apache 2 + WordPress

Apr 20th, 2017 | By

At the time of this post the version of apache with http2 support is not supported by Debian so you have to go into the testing branch to get it and then configure apache.  This tutorial should take you through that: https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ .  Just incase the tutorial ever goes down I’ll mirror it at the end
[continue reading…]



WP CLI just changed my life – Admin wordpress sites from the command line

Apr 20th, 2017 | By

I’ve installed somewhere between 300-500 wordpress sites in my life and I have no idea how I hadn’t heard of WP CLI until now but man oh man this thing is awesome.  Never again have to log into an admin site to do updates and maintenance because WP CLI is here. First off, head over
[continue reading…]



Peforce: Multi-root folder access privileges within a single stream

Jun 26th, 2016 | By

They situation is this. We have a replicated that is replicated across two different platforms, which means the content stays the same but the platform specific tech around it all needs to be recreated from scratch for 2 platforms. So we create 2 folders within the root, one for each platform with the intention of allowing
[continue reading…]



Web filtering / protection using a repeater bridge

Sep 14th, 2015 | By

If you are connecting machines into a repeater via cat5 the sad truth is that Content restriction settings on the repeater don’t work and in rare cases you might not have or want to turn on content restrictions on the main network that your repeater is hooked into(ie: you’re sharing a connection with your neighbours).
[continue reading…]



Setting up my DD-RT router as a wireless repeater

Sep 14th, 2015 | By

First off, go here, https://www.bestvpn.com/blog/9177/how-use-an-old-dd-wrt-router-as-a-repeater/ – it takes you through the steps well enough or here: http://www.wi-fiplanet.com/tutorials/article.php/3655041/DD-WRT-Tutorial-5-Wireless-Repeater.htm   Next you need to go into your network settings on your local machine and set your IP manually.  The network that I am bridging with has it’s router on 192.168.0.1 and so I set my IP to something
[continue reading…]



Adding Google oAuth to Gitlab

Jun 19th, 2015 | By

Follow this tutorial here: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/google.md# Before you restart gitlab you need to reconfigure it with #/opt/gitlab/bin/gitlab-ctl reconfigure   For some reason the people at gitlab forgot this crucial step as none of your changes will take effect until that is done



Every entry I could find for your Gitlab.rb file

Nov 5th, 2014 | By

For now I’m just dumping everything I can find in here randomly, will clean it up later       By default, Unicorn listens at TCP address 127.0.0.1:8080. Nginx listens on port 80 (HTTP) and/or 443 (HTTPS) on all interfaces. The ports for Redis, PostgreSQL and Unicorn can be overriden in /etc/gitlab/gitlab.rb as follows: redis[‘port’]
[continue reading…]



Editing Gitlab email templates to prevent them from getting caught in spam filters

Nov 5th, 2014 | By

So it looks like the default emails are getting picked up by gmail’s spam filters so I wanted to rewrite the tempaltes so they seemed a bit more natural sounding and hopefully pass the test.  To do so you need to go into :   and edit the following files: /opt/gitlab/embedded/service/gitlab-rails/app/views/notify new_user_email.text.erb new_user_email.html.haml   This will
[continue reading…]



Automatically block aggressive IPs to prevent brute force or DDOS attacks using Bash and IPtables

Oct 11th, 2014 | By

Something I do, mainly because of my ignorance of a more elegant solution, is to manually check my logs every 4 hours and the mail server logs every 2 minutes for excessive access by individual IP’s. I run a few scripts together that: Check the access.log and list off the top 10 IP’s organized by
[continue reading…]



How to transfer rules/filters from one zimbra account to another

May 28th, 2014 | By

Well it would appear that the vast majority of links and literature on this subject is outdated and no longer working although it’s not terribly broken it just needs a slight tweak which I’ll post below.  A big thanks to the guys over here: http://www.spheron1.co.uk/2011/06/27/zimbra-mailbox-importexport-and-migration-of-e-mail-filter-rules/ for having the only working solution i found   So first
[continue reading…]