Web Server Setup

Hardware: FST Servers VM-2 plan 512MB RAM 20GB hard disk Software: Nginx MySQL PHP5 WordPress Nginx Setup Symbolic link: mkdir /var/www ln -s /usr/share/nginx/www/ /var/www Create wp-multi.conf for my WordPress Multi Site setup: log_not_found off; rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } location / { try_files $uri $uri/ /index.php?$args; … Continue reading "Web Server Setup"

Hide Directory in Mac OS X

Good for hiding app generated directories you don't want to see or to hide a directory for some other reasons... Open Terminal Type: chflags hidden /Directory/Path/ That should do it. If the directory is in a stack it can take a couple opens for it to vanish. To return the directory to visible, use the … Continue reading "Hide Directory in Mac OS X"

Install Ice Cream Sandwich (ICS) on TouchPad

[UPDATED 3/19/12] - Add link to Alpha 2 - replace all references to Alpha 0.5 with Alpha 2 to install the newest version of CyanogenMod [UPDATED 7/14/12] - Add link to nightlies  of CyanogenMod - replace all references to Alpha 0.5 with the latest nightly build of CyanogenMod These are instructions for the CyanogenMod 9 Alpha … Continue reading "Install Ice Cream Sandwich (ICS) on TouchPad"

Chuck Vs The Music on Spotify (Complete Series)

In honor of my favorite show ending, I've created Spotify playlist for music used in each season. Spotify is currently missing some of the songs used in the series but it is relatively complete. I will keep an eye for any updates. Playlist Links: Chuck Season 1 Music Chuck Season 2 Music Chuck Season 3 … Continue reading "Chuck Vs The Music on Spotify (Complete Series)"

Kill A Process Using Command Line

If you need to stop a process (program), you can use the "taskkill" command in Windows. Example: taskkill /im processname.exe /f You can also kill multiple processes at once that share similar names. Say you want to kill processname1.exe, processname2.exe, and processname3.exe running. taskkill /im processname*.exe /f For more detailed uses, check out Microsoft's TechNet … Continue reading "Kill A Process Using Command Line"

Form Input - Readonly Vs. Disabled

Sometimes when making a form, you want to display information in the form but you don't want it editable. This is often the case for when you want to display a text box / text area that displays text that the user cannot change (Ex. editing a user profile but leaving the username untouched). I … Continue reading "Form Input - Readonly Vs. Disabled"