Laravel 4: Model Hydrate
Problem: While converting some older Laravel code, I ran into an issue where the hydrate method had been removed. My usage was similar to this: $raw_result = DB::query(...); $hydra
Problem: While converting some older Laravel code, I ran into an issue where the hydrate method had been removed. My usage was similar to this: $raw_result = DB::query(...); $hydra
Problem: Working with a client, I noticed that the maintenance mode message shown when the store was in maintenance mode had misspelled the word "later" as "latter". Solution: It w
Problem: Working in Pylons for a project, I built a tool to allow file uploads and one feature used xlrd to convert Excel files to CSV files. When I went to transform these files u
Problem: While working on a some development, there became an issue with the ISP and they hijacked all HTTP requests to return a notice explaining that an issue needed to be resolv
Problem: I wanted to quickly populate some tables using some large CSVs (400k+ records) but parsing the files and importing each line was out of the question and doing one mass ins
About Dynamic Relative Date-time Range Dynamic Relative Date-time Range (also known as a Rolling Date Range) is a string formatted representation of a period of time relative to th
I apologize that this page is not well organized. It mainly exists to serve as notes for myself. If you can make sense of this, great! Changes I had to make to my code when updatin
Problem: I went to verify phpunit installation on my windows machine and found that when running pear.bat, I was met with the following: $ pear.bat ./pear.bat: line 1: @ECHO: comma
Problem: I have several servers that run different security automations and email me on set intervals via cron. One of those processes is rkhunter which I run via a shell script us
Problem: Recently I've been setting up some servers for web hosting and while install the LAMP stack, ran into a funny issue where the server would return a blank page when I tried
Problem: With the recent release of Laravel 4, the documentation URLs for Laravel 3 have been completely changed and I haven't been able to find it. Solution: Found it: http://thre
Problem: I found a well-written PayPal REST API that used Composer . My existing project was in Laravel 3. I wanted to make everything work without hacking all my files to bits. Bu