10 Jan 2013
MySQL query to replace those pesky server path settings in EE:
- Find 'home/user/public_html/uploads/dir'
- Replace with '/usr/httpdocs/example.com/uploads/dir'
UPDATE exp_upload_prefs SET server_path = REPLACE(server_path, '/home/user/public_html/uploads/dir', '/usr/httpdocs/example.com/uploads/dir')
01 Dec 2012
After 13 years of professional development I'm probably qualified to say that > 80% of the companies and people do not care about technology beyond the "does it compile?" level.
It's also a "mainstream" problem. Most developers just do it for the money, most managers are incompetent handling "brain workers". Over time bad habits will slaughter every language, framework, platform to some ugly legacy unless you fight against it every single day.
- If you can use a technology, you can abuse it. It's simple.
- Most technical problems start as a HR problem.
— Comment by Roland re: Will Rails Become the New PHP?
01 Nov 2012
AnythingSlider is a versatile jQuery plugin that allows you to, well, slide anything. I found the predefined effects docs a little lacking so I pulled them from the code itself.
2 // options config
5 // 'selector': ['predefined-FX', 'distance', 'time', 'easing']
6 '#slider > li': ['fade', '', 500, 'easeInOutCirc']
15 Oct 2012
Programming, when stripped of all its circumstantial irrelevancies, boils down to no more and no less than very effective thinking so as to avoid unmastered complexity, to very vigorous separation of your many different concerns.
— Edsger W. Dijkstra, taken from Richard Hickey's Simple Made Easy presentation
15 Sep 2012
Here's a quick-and-dirty way to add pagination to the Twitter Bootstrap jQuery Carousel plugin.