All entries by this author

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



Headphones plugged in but Audio still plays for .5 seconds on laptop speakers before switching to headphones

Sep 30th, 2014 | By

Alright, this problem has been driving me nuts this week.  My headset is plugged in, audio is working fine, mic is detected but whenever I play audio, be it through winamp or youtube there will be a slight delay where it plays through my laptop speakers for about .5 seconds before switching over to my headset. No
[continue reading…]



How to Fix Error code: service.FAILURE Method: [unknown] Details:soap:Receiver in Zimbra

Sep 9th, 2014 | By

Finally solved this issue so figured I’d share.  For me it was because I had the zimbra user’s shell set to /usr/sbin/nologin when it needed to be /bin/sh Also if you don’t have openSSH installed you’re going to need that running



How to fix watermark issues in Bandicam

Jun 12th, 2014 | By

So there’s this thing with Bandicam and custom watermarks where it will sometimes end up looking like this:  Which isn’t fun for anyone.. After some trial and error today I figured out that it was happening because the .png images were saved with ‘Save background color’ checked in my export settings.  Or at least this
[continue reading…]