All entries by this author

Before you install WebRoot anti-virus

Mar 18th, 2015 | By

Webroot is, by all accounts, the Citizen Kane of anti-virus applications.  It scores a perfect score on nearly all tests and apparently it can’t be beat.. It comes with one massive downside though and that is the amount of disk space it consumes when running on an active system.  I noticed my system becoming less
[continue reading…]



Slow Git push / pull speeds? Try tweaking your SSH settings

Mar 11th, 2015 | By

If you, like me, have configured TortoiseGit to use Putty’s plink to connect (and use pageant, etc…), this might help you: Try enabling in Putty (Default Settings) the following settings: SSH -> Auth: “Allow agent forwarding” (I believe this is the one that changes “everything”) SSH -> “Enable Compression” Session -> Select “Default Settings” ->
[continue reading…]



How to harden your wordpress by block brute force attempts on your wp-login.php

Mar 4th, 2015 | By

So having hte login page exposed publically is nutso to me and because I run Wordfence(and gladly pay for it which everyone should), I get to see how many brute force attempts are happening because it is constantly banning IP’s for requesting forgotten passwords for accounts that don’t exist. Well today I got tired of
[continue reading…]



HTTPS / SSL for Gitlab

Feb 7th, 2015 | By

Easy peasy to setup.. Just create your private key and certificate, make a dir in /etc/gitlab/ssl and stick them in there.. Edit your gitlab.rb and add this: nginx[‘ssl_certificate’] = “/etc/gitlab/ssl/whatever.crt” nginx[‘ssl_certificate_key’] = “/etc/gitlab/ssl/whatever.key” #gitlab-ctl reconfigure and you should be good to go



Gitlab installs but home page is a 500 error and postgres won’t start

Feb 6th, 2015 | By

So installed gitlab on a new server today, Ubuntu 14.04 with 8GB of ram and the install went fine but upon startup I was greeted with the 500 error and the postgresql log files were full of this: 2015-02-07_00:46:16.32456 The PostgreSQL documentation contains more information about shared memory configuration. 2015-02-07_00:46:17.36825 FATAL: could not create shared
[continue reading…]



Quality Difference between MPEG-1 and MPEG-2

Jan 19th, 2015 | By

Is there one you ask?  From what I can tell, yes there is.  Was doing a bit of encoding today and for whatever reason videos that I encode in Tencoder with H264 will not open properly in Adobe Premier or After Effects so I ran down the list of other codecs and low and behold
[continue reading…]



Can’t add Gmail account to Zimbra Desktop because : service.FAILURE: system failure: SMTP connect failure

Dec 9th, 2014 | By

I installed zimbra on a brand new machine today and received this error when I tried to add my gmail accounts to Zimbra Desktop, using the exact same credentials as on the old machine where I received no such error.  Made me think it was something outside of Zimbra and so I turned off Avast
[continue reading…]



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…]