I recently ran into a problem where I wanted to display only posts tagged with a specific name in the WordPress Archive page (part of my theme). However, searching on Google only showed how to filter posts by Category. Here is the solution I came up with…
Read MoreSamsung Galaxy Nexus and Android 4.0
My first week with Android 4.0 and the Samsung / Google Galaxy Nexus
Read More Android, Google Galaxy NexusUsing .htaccess Files to hide Query Variables
I came into a recent issue where I wanted to hide ?id=xx from the query string of a URL so I could use a single Facebook Comment Plugin with different data. I fixed the issue by using a few lines of code in a .htaccess file. RewriteBase / RewriteRule ^file-([0-9]+)\.php$ /some_directory/files.php?id=$1 [L] The code above [...]
Read More Apache, TutorialLet Facebook Scrape Password Protected Pages for Like Buttons
If you have various password protected pages on your website, but want people to Like your pages (via Facebook), there is a simple trick you can use to allow this. You can detect the Facebook Scraper by its User Agent and serve up an alternative page that contains the OpenGraph markup you would like to [...]
Read More Facebook, TutorialSynching Servers using Rsync
A while ago I had to sync files from one server to another. The reason? I was responsible for moving all the application and websites hosted on a old server to a new, faster server with better security and a updated operating system. Since the servers were remote, I couldn’t simply use a USB drive [...]
Read More Linux, ServerFinding large files on Mac / Linux
I recently ran into a problem with disc space on my Mac, requiring me to find and delete large files to free up some space quickly. I found the following command (in Terminal) very useful to find large files of a given size in a given directory.
Read More Command Line, Linux