I noticed through Google Webmaster Tools that there where still some old links around on the internet pointing to non-existing pages on my company site. So I thought is was time to redirect them to some existing pages. The quickes way was creating a .htaccess file and that would be it. But for some reason, … Continue reading Phusion Passenger & mod_rewrite
Category: Operations
Small update on the TimeMachine & Network Drive setup. Since I have a new MacPro, I wanted to enable TimeMachine on it. Note that this install is a fresh Snow Leopard installation, and that my MacBook is a Leopard. I took the steps as I discribed them myself, but it seemed that TM was still … Continue reading Time Machine & Network Drive – SNOW LEOPARD UPDATE
Ok, while setting up my working environment, I had to define vhosts for the sites/applications I’m working on. So here is how I configured Apache. sudo vi +/’# Virtual hosts’ /etc/apache2/httpd.conf This text will open the httpd.conf file and set the cursor at the first line where he encounters the string # Virtual hosts. Now, … Continue reading Snow Leopard Apache vhosts
Just got my new MacPro this weekend. After installing my common applications, I had to install my development tools as well. These are the instructions to install MySQL 64-bit version on OS X Snow Leopard. First of all, note that we are going to install MySQL compiling from source. So make sure you have installed … Continue reading Installing MySQL on Snow Leopard
NOTE: SMALL UPDATE FOR SNOW LEOPARD USERS. KEEP THIS UPDATE NEXT TO THIS POST Just bought a network disk last week to backup some stuff on from my dads computer. But instead of buying a normal external USB drive, I decided to buy a network drive so I could use it myself. After some research … Continue reading Time Machine & Network Drive
I had a small problem on my Mac when I wanted to rebuild a subversion repo. When I worked on windows, I just searched the project folder for .svn folders. But on Mac and Linux, thats another story. Thankfully for the command-line, one quick command, and the problem is fixed: find . | grep .svn$ … Continue reading Remove hidden .svn folders from command-line
Today, I needed to empty a folder through bash on my Linux server that contained a lot of files. The files where maybe 2kb, but all the files together contained over 400Mb. So I used rm * to remove them, but it threw me a nice error: bash: /bin/rm: Argument list too long . Looks … Continue reading bash: /bin/rm: Argument list too long
Since I bought a new computer last weekend, I still had a few Windows Updates to download and install. But for some reason, none of them where able to install. After some googling I found out that the problem could be with my dll’s and that I had to re-register them in in registry. So … Continue reading Windows Update breakdown