Today a client of mine had an issue where some scripts ran amuck and some data (mainly some timestamp rows) was set to 0. So I had to restore from a backup to fix the issues. The problem is that I couldn’t restore the entire database because today’s data would get lost. It was also only a few columns in a few tables that needed restoring. So here’s what I did.
Grep Unique Sorted URL’s From A File
Today I had a 13 MB WSDL file that I had to diagnose what HTTP(S) calls were made by the service. Because the file was so large, it made it difficult. Grep to the rescue!
Use JQuery to see if a checkbox is checked
There are times with JQuery that you may need to see if a checkbox is checked or not, and based on that value, do certain things. This little snippet has come in handy a lot for a project I’ve been working on lately. Simply do the following:
Use wkhtmltopdf To Save PDF without Image Quality Loss or Choppyness
I have a project where I need to create a PDF from a web page dynamically created on the back-end. Normally I use TCPDF, but I was having some issues in the way the PDF was looking being created from the HTML.
Migrate A CentOS 6 Virtual Server To Another PC Using Virtualbox
There have been a few times where I have needed to migrate a VirtualBox virtual server I have …
Set A Specific Node ID in Drupal
I have a project that I have been working on for a little while now. Like most projects …