Posted in cakephp on Nov 30th, 2009
I noticed that the data for my saves were not populating with the current date/time as they should, when calling the model->create() function, without a parameter, and then the model->save() function.
$this->ModelName->create();
$data = $this->ModelName->save($dataWithoutCreatedModifiedUpdated);
$data['ModelName']['created']==”0000-00-00 00:00:00″
Read Full Post »
Posted in geek on Nov 23rd, 2009
Sometimes, I want something only if it’s on the cheap, second hand, and easy… that’s usually Craigslist.
Often what I want isn’t available when I think of it… but it might show up sometime… I don’t want to have to look at craigslist every day (because I wont).
Google Alerts to the rescue.
If I’m in Louisville [...]
Read Full Post »
Posted in alan, geek on Nov 23rd, 2009
So the website has been down from Oct 21st to Nov 23rd. The old server got hacked (or really, a sister-server) and due to security concerns, we didn’t know what got owned and what was safe. We already had a different server hardware to put in place, just had to set it up. So we [...]
Read Full Post »
Posted in development, geek, php on Mar 5th, 2009
So I’ve just fought a battle w/ SVN merge and thought I’d post the solution in case others might find it…
Scenario
Our stable code is in trunk svn://svn.domain.tld/repository/trunk
I’ve got a branch of trunk svn://svn.domain.tld/repository/branches/dev
Changes have been made to my branch and changes have been made to trunk, since I branched.
I’m ready to merge my branch back [...]
Read Full Post »
Posted in geek, laughable, php on Dec 17th, 2008
A very funny post for the programming nerds out there:
If programming languages were religions…
By amz – Monday, December 15, 2008 at 14:52
PHP would be Cafeteria Christianity – Fights with Java for the web market. It draws a few concepts from C and Java, but only those that it really likes. Maybe it’s not as coherent [...]
Read Full Post »
Posted in development, geek, php on Nov 13th, 2008
I just created a handy little script to create todos in basecamp for unresovled tickets in mantis.
You can see the open sourced code/project: http://code.google.com/p/mantis2basecamp-todo/.
This is something we found useful, if you use both tools, you might find it useful as well.
Read Full Post »
Posted in geek on Oct 9th, 2008
I recently re-installed ubuntu (linux) on a server and ran into difficulties installing hamachi. As it turned out I tried to setup hamachi without installing the tun module first. I then installed the tun module, but hamachi wouldn’t work. I eventually figured out that the tuncfg had to be cleaned/make’ed again, after the tun was [...]
Read Full Post »
Posted in geek, look at this, political on Sep 25th, 2008
I’ve been using grand central for a while, but noticed this today:
http://www.grandcentral.com/about/projectcare/
Project CARE (Communications and Respect for Everybody) recognizes the desire for those in need to get back on their feet and begin a new life. An essential element to that proposition is a consistent and reliable phone number – a place where anyone (family, [...]
Read Full Post »