Linux / Freebsd

Every entry I could find for your Gitlab.rb file

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

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

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 Fix Error code: service.FAILURE Method: [unknown] Details:soap:Receiver in Zimbra

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 transfer rules/filters from one zimbra account to another

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

How to migrate a maildir imap email (vmail/postfix/dovecot) account over to Zimbra

Compared to migrating a local pop3 account and folder structure over this one is as simple as cake.  Let’s say you have the remnants of your postfix/dovecot vmail server kicking around, you just finished setting up Zimbra and have it up and running but now you want to recreate all of your folder structure and
[continue reading…]

How to change the default Zimbra theme for all users

Well this one is kind of a hack as you aren’t changing the default theme from Carbon to something else you are just renaming the directory name of one of the other themes to carbon(or creating a symlink) to fool zimbra into thinking a theme is carbon when it’s actually not.  Anyhow this is how
[continue reading…]

Why is my zimbra.log full of maildrop errors?

Checked on my zimbra log today and found a ton of these: warning: mail_queue_enter: create file maildrop/858267.11154: No such file or directory   Now there could be two solutions to this problem, for me it was as simple as going into /opt/zimbra/bin and running #postfix stop checking for any lingering postfix processes that aren’t shutting
[continue reading…]

How to get the Zimbra web admin stats to work after installing Zimbra 8 onto a Debian 6 server

So yesterday we got Zimbra 8 up and running on our Debian 6 machine with mysql and apache but now I’ve noticed that while I can log into the web admin at port 7071 nothing works Even though all services are running and I can confirm that in the CLI the web interface is telling
[continue reading…]

Setting up email forwards in Zimbra with zmprov

http://www.zimbra.com/forums/administrators/10857-how-create-mail-forward-only.html   The best way to do this is a way where you aren’t creating additional accounts for each forward as some zimbra licenses have limited accounts.  What you want to do is setup distribution lists like so: # zmprov createDistributionList user@domain.com # zmprov addDistributionListMember user@domain.com someone@else.com   Now keep in mind you have to add the domain
[continue reading…]

How to add a new domain to a Zimbra install and then a new account to the domain

Ok, so you’ve got your zimbra server pretty much up and running and seeing as you’re just like me and had to take a production email server offline and retrofit it like this you have a dozen or two busy email accounts that have been rejecting emails for the past 12 hours and that needs
[continue reading…]

Migrating away from postfix/dovecot to Zimbra 8 on a Debian 6 server

What a better way to spend a glorious sunny saturday afternoon than trying to get a very complicated open source exchange platform to run on a production server powered by an OS that isn’t supported?  As with all things me, there’s no easy way to go about doing this so I’m digging in my heels
[continue reading…]

Technology

How to change the default Zimbra theme for all users

Well this one is kind of a hack as you aren’t changing the default theme from Carbon to something else you are just renaming the directory name of one of the other themes to carbon(or creating a symlink) to fool zimbra into thinking a theme is carbon when it’s actually not.  Anyhow this is how
[continue reading…]

Setting up email forwards in Zimbra with zmprov

http://www.zimbra.com/forums/administrators/10857-how-create-mail-forward-only.html   The best way to do this is a way where you aren’t creating additional accounts for each forward as some zimbra licenses have limited accounts.  What you want to do is setup distribution lists like so: # zmprov createDistributionList user@domain.com # zmprov addDistributionListMember user@domain.com someone@else.com   Now keep in mind you have to add the domain
[continue reading…]

Browser hijacked? Random tabs created with ads? Think it’s malware? Think again

So the past couple of weeks I’ve gone through a fun little experience that looked a lot like a malware infection that I couldn’t be cleaned.  I ran every tool in the book and nothing seemed to prevent these tabs from opening up in Chrome with links to these bullshit pages telling me to upgrade
[continue reading…]

Are you a photoshop user and experiencing Solid State Drive(SSD) failures? Here’s why

Your scratch disk is writing and caching so frequently it is slowly wearing down your hard drive.  According to Help Desk Keep it boils down to the way SSDs are built you see an SSD wears down every time they are written accessed. If you have read reviews of SSDs before, you have probably read about how an
[continue reading…]

Games

All Time High-Score for Overgod’s Time Trial

Well googling ‘Overgod’ and ‘time trial’ and ‘high school’ come up with absolutely zero results, so here’s hoping that there’s actually someone else out there that plays this game as much as I do and will stumble upon this.  Better yet, here’s to hoping there are a few hundred people out there like that Seeing
[continue reading…]

Starcraft Single Player Gameplay

Just caught the first video of the single player campaign in detail and oooh mama that gets me hot in the pants.

Starcraft 2 Battle Report #3

Just watched the latest Battle Report for Starcraft 2 and man this game is looking impressive. I can see the hours of my life already being sucked away

Best Tower Defense game hands down

http://www.maxgames.com/game/the-horde-2.html Without a doubt the best Tower Defense game I have played, and I’ve played a lot of them There is a ton of rethinking your strategy as you go throughout, just the right amoutn of challenge where youcan adopt new strategies, test and refine before getting too frustrated and giving up. The complexity of
[continue reading…]

Game Industry

A Shout out to Kelowna and Okanagan Video Game Developers

At the last OK Game Developer Cluster meet-up we discussed the need to get more people networked and involved in the local Game Developer here in Kelowna.  It is a wonderful blessing to have Disney and Club Penguin in our beautiful city as they has no doubt inspired many people to pick up the trade
[continue reading…]

The Uncanny Valley

Was just showed this video today and started to look for more resources on the topic so I thought I’d share 7 Part Series:

Sony’s and Microsofts new 3D Controllers

The tracking on this thing looks really impressive(“Sub-milimeter accuracy”).  To take the Wii Experience, but better, and put it on the power of the PS3 is enticing to say the least. And M$ wouldn’t be outdone by Sony and is also jumping on the Nintendo Bandwagon.  Now what we really should be excited is to
[continue reading…]

EuroGamer standing behind unfair and ignorant reviews?

I have respect for what this company is doing with this game.. They are going down a road that is against popular WoW trends and aren’t sacrficing their vision to play it safe.  A lot of things get me pumped for this game and what this company is doing so it ticks me off when
[continue reading…]

Inspiring

Mozilla Seabird: Best tech concept of the decade (Get a towel)

You can read all about the concept here but to be clear this is simply a concept, mozilla has stated they have absolutely no intentions of entering the OS nor the hardware market. The Mozilla Seabird, part of the Mozilla Labs’ Concept Series, is an experiment in how users might interact with their mobile content
[continue reading…]

Netvibes – This will change your life, your virtual one at least

HTTP://WWW.NETVIBES.COM In my experience with talking with folks that are much more tech savvy than I, one of the most surprising things is how few people know about Netvibes, even more surprising is how few people in the world actually use this brilliant free resource.   I’ve had this post in draft forward for well over
[continue reading…]

Bill Gates on Cnet – Talks about why he’s fired up

In a recent video interview Bill Gates did with CNET , he talks about this work with his foundation, what’s getting him fired up and how to tackle some of these bleak challenges facing the world today. I find it interesting just to sit and watch this man talk, such an unassuming guy that I’ve
[continue reading…]

Science Fiction as a tool for human survival

It was like film directors and authors realized this magic lamp where they could very surreptitiously put these unquestioned injustices into peoples minds and make them question them for the first time. I wouldn’t call this a ‘golden age’ of sci-fi but it certainly was a purer age.

Internet

Every entry I could find for your Gitlab.rb file

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

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

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

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

Random Musings

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

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

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

Fixing error on Mail Queues page in Zimbra web admin

So the last problem with the Web admin area in Zimbra was in the Mail Queues section.   It spit out this lovely error when trying to access it:   2014-05-25 15:02:58,681 INFO [qtp1448456120-7560:https:///service/admin/soap/GetMailQueueInfoRequest] [name=admin@mail. .com;mid=1;ip=;ua=ZimbraWebClient – GC35 (Win);] SoapEngine – handler exception com.zimbra.common.service.ServiceException: system failure: exception during auth {RemoteManager: mail. .com->zimbra@mail. .com:22} Which looked
[continue reading…]

How to fix broken windows explorer icons

So system mechanic did something today that broke all of my windows explorer folder icons inside of my box sync folder for some reason.. Not sure what it did but the fix was pretty painless and can be found in this video below: