The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
I struggled a long time trying to figure out why my nginz + php-fpm setup was not working. I could tell that the gateway was fine and I was getting a HTTP 200 OK response, but the output was blank and there were no illuminating...
A client's website of mine had been running fine for many years until a few weeks ago. Certain users of IE started getting this error: "Expected token not present" and were no longer able to login. My guess is that the design team switched some...
My favorite editor on the Mac is Aquamacs (me and Emacs go waaay back) and something that has long been a productivity killer for me was the different actions of C-y and CMD-V. This is due to there being two clipboards, the one belonging to the...
Here's how I get the first 20 words using a regular expression and the Javascript replace function. I place an ellipsis at the end to indicate that the sentence was shortened: var str1 = "Here is a sentence that just seems to go on and on....
Here's a small bit of javascript that I use in my Sencha Touch projects to find a parent with an id that matches a string. function findParentNodeRegex(regex, childObj) { var testObj = childObj; var count = 1; while(!testObj.id.match(regex)) { //console.log('My...
I needed to have an HTML5 video with a clickable poster frame. The first issue was that Safari would preload the movie, removing the poster frame after a few seconds. I fixed that by setting preload="none": <div id="promovid"> <video id="video" controls="controls" poster="video-poster.jpg" preload="none" width="640" height="480"> ...
There are a number of good posts out there discussing problems with uploading sketches to an arduino, but my problem was really basic: I had some wiring connected to digital ports 0 and 1 (TX and RX) and that was causing communication errors. I unplugged the...
I'm playing with a perl Net::Twitter app to see if I can tweet my solar production at the end of every day....
I've been playing with Flipboard the past few days and a thought occurred to me. RSS has been replaced by Twitter. Flipboard is a compelling concept...
Now that the iPad 3G will come with the option of a month-by-month no-contract data plan, why not offer all Apple products with that option? I would buy a new MacBook in a heartbeat if it offered the same sort of data plan....
A simple script to detect when a checkbox is clicked. What you do with once you've detected the click is up to you. <html> <head> <script src="http://www.google.com/jsapi"></script> <script> google.load("jquery", "1.3.2"); google.setOnLoadCallback(function() { $('#agree').click( function() { if($(this).attr('checked')){ ...
I was trying to perform a redirect to generate a CSV file from within a Wordpress admin page using the wp_redirect( ) function, but the problem was that I would always get the dreaded "Cannot modify header information - headers already sent" message. This is...
I was trying to add a small delay into my form submission like so: <form ...