Empty Trash through Command Line (CLI) in Ubuntu Maverick Meerkat 10.10

ubuntu10_625

I’m going to make this a quick and simple post, if you find yourself in a situation where you need to empty the trash through command line (CLI) in Ubuntu 10.10, or just want to know where the hell it is. Well here it is. rm -rf /home/your_user_name/.local/share/Trash/files/* And please, DO NOT put your_user_name actually [...]

read more »

Ubuntu

Posted on November 29th, 2010 Written by wes

Configuring Google’s Mod_pagespeed for Apache in Fedora or Ubuntu

mod_pagespeed

I recently have been on an incredible optimization kick server and application side and tonight I came across a module for Apache written by Google. Its actually freaking amazing and its running on this site right now. Right now its combining and minifying my css (had a problem with the js and one of these [...]

read more »

Apache, Fedora, Linux

Posted on November 12th, 2010 Written by wes

Configuring Fedora 13 PHP/ MySQL Server with Nginx and reverse proxy to Apache

nginx, apache and fedora 13

Ok so I’m going to make this article quick, simple and to the point.  Fuck the bullshit, lets get ya’ll setup with nginx with a  reverse proxy to apache in less than an hour.   Now this article is made for VPS type system such as linode or slicehost.  We’re starting at the point in which [...]

read more »

Fedora, Linux, Nginx, PHP

Posted on November 12th, 2010 Written by wes

Kohana 3 Name Spacing with Underscores in Controller Classes

kohana

So, I’ve been working with Kohana 2.3.4 lately and its absolutely beautiful. A much improved version of what Codeigniter should have been. Now they released Kohana 3 which is similar, yet very different. One of the “gotchas” I noticed in KO3 (Kohana 3) is the auto loading of controller classes and the name spacing with [...]

read more »

Kohana, PHP

Posted on May 2nd, 2010 Written by wes

Calculate Kaprekar's Constant in PHP with Math

This is just a bullshit post, not practical at all, but math is good shit and I decided to make this for fun in 30 minutes… If you are unfamiliar with Kaprekar’s Constant.. well the breakdown is as follows.. Take any four digit number (whose digits are not all identical), and follow the steps: Arrange [...]

read more »

Math, PHP

Posted on March 5th, 2010 Written by wes