Posts in category Programming
Is emacs not coloring your Python com...
This is a simple matter with a simple solution that might help someone save time and confusion. Emacs wasn’t coloring my comments correctly so I went ahead and had it change them to red-italic. If you are having similar issues you can drop the following into your home directory’s .emacs file. Enjoy. Keep in mind that if you are [...]
RESTful PHP Web Services – revi...
I’ve been using a lot of RESTful services these days and have been waiting for a good book that is dedicated to the topic. I recently received a copy of ‘RESTful PHP Web Services’, which does a successful job of outlining proven concepts in current web technology. If you want to learn the methods for creating and consuming [...]
ExtJS 3.0 Cookbook Review
There is a quantity of snow falling outside as I write this and that means it’s a good day to read programming books. I’ve recently been enjoying the ExtJS 3.0 Cookbook by Jorge Ramon that is published by the Packt group. I’ve been using ExtJS for the last year and have experienced the transition from version 2.0 to 3.0 an [...]
An easy method for hiding wordpress p...
I needed to hide a page from the page list – the header panel that shows all of the main site pages. Problem was that I needed it accessible to users via links but not listed in the main header. This page from a google search helped me out:
The last way is to hardcode your menu function. WordPress created the menu with this function: [...]
Fun with the pipe
Of course there are better ways to manage security on webservers, but I was playing around with the apache error log file today and wanted to get all of the subnets for the script kiddies that are hammering on this dev box. A quick one liner and we’re done!
ROOT-(0)> grep "error" error_log |awk -F[ {'print $4'}| sort | sed -e 's/]//g' [...]
How to make an editable data grid usi...
I’m not going to go into a great amount of detail here, but I will post the three files required for the process. If you know PHP (this uses the CodeIgniter framework) and JS (this uses the ExtJS framework) then it will make sense. Hopefully this saves people some time and will serve as a basis for a good project.
Model: http://thema [...]





