Daily Links
JC Penny Reinventing Itself
Neat to hear how department stores have trapped themselves in loudly-advertised often-run sales, to the point where no one was listening. Only one in 500 items sold were bought at full price, and the store was running almost six hundred promotions every year at a cost of $2 million each!Oil Rush
Oil Rush is a real-time naval strategy game based on group control. It combines the strategic challenge of a classical RTS with the sheer fun of Tower Defence. it runs on the following platforms: Windows, Linux, Mac OS X and PlayStation 3. Powered by Unigine Engine. View official trailer & gameplay on Youtube. Available for $19.99 on Steam and Desura.Daily Links
Nimblebit vs Zynga
Zynga gets called out on its new game, "Dream Heights", which looks to be a complete rip-off of Nimblebits' popular "Tiny Tower".HTML5 Please
From the people behind HTML5 Boilerplate, Modernizr & CSS3 Please. HTML5 Please helps look up HTML5, CSS3, etc features, know if they are ready for use, and if so find out how you should use them with polyfills, fallbacks or as they are.
Daily Links
Clearing Browser Cache
Bookmarked because it always comes up in support requests. Use this URL from Google if you need to help your clients navigate to the settings in their web browser and empty a sticky cache.Color
A timed colour matching game, utilizing various colour wheels. Be sure to adjust your monitor beforehand, and go for the elusive "perfect" hits. How good is your sense of colour?Daily Links
Udacity
CS 101: Building a Search EngineWebM-Enabled Browser Usage Share Exceeds H.264-Enabled Browser Usage Share on Desktop
Results for Week 1 and Week 2 of 2012Meet the New CEO of RIM
Best comment on YouTube "He speaks as slowly as his OS" ... the future doesn't look bright for RIM :(Crossroads.js
Crossroads.js is a routing library inspired by URL Route/Dispatch utilities present on frameworks like Rails, Pyramid, Django, CakePHP, CodeIgniter, etc... It parses a string input and decides which action should be executed by matching the string against multiple patterns. It is a powerful and flexible routing system. If used properly it can reduce code complexity by decoupling objects and also by abstracting navigation paths and server requests.Daily Links
Wat - A lightning talk by Gary Bernhardt from CodeMash 2012
Programming and logic are supposed to go hand in hand. Gary Bernhardt talks about the times when they do not.Daily Links
Eastman Kodak Co Files For Bankruptcy Protection
They invented the handheld camera and they invented the digital camera, but ironically, they never were quick enough off the mark to embrace modern technology.Canadian Media and SOPA Protest
Michael Geist collects links to Canadian media coverage of yesterday's SOPA blackout protest.xScope 3.0
Xscope is one of the apps that is running all the time on a majority of our machines. Looking forward to trying out Iconfactory's new and improved version!iBooks 2
Apple's update to their iOS ebook software comes as part of a push into interactive digital textbooks in partnership with a number of major publishers.CSS for Babies Book
The first book of this series, HTML for Babies, was such a big hit that the author made CSS for Babies as the sequel. It's only natural that babies would want to move on to CSS after mastering HTML, right? Sit down with this board book and teach your wee geek about the building blocks of the web. Written by a web designer for his babyDaily Links
SOPA And PIPA Blackouts
Jan 18th is when several websites are protesting the US's proposed SOPA and PIPA bills by covering up, censoring, or blacking out their websites. Ars Technica provides a list of some of their favourites.Daily Links
SOPA Blackout set for January 18, 2011
Although the SOPA bill has been briefly stopped it is not dead. Therefore a blackout by some key Internet sites will still take place.An Impressive Demo of the Powers of CSS3 3D
Steven Wittens at acko.net has a super neat 3D website header made from CSS3 and Javascript, and a blog post with the details of how he did it. (Webkit browsers only!)Daily Links
Color Palette Generator
I've been finding this tool very handy, providing me with two sets of six hexadecimal colours, one dull set and one vibrant set, for any image. Just provide the URL and it takes a second.New Timmie's Cup Size
Tim Hortons is changing the names of their hot coffee cup sizes to accommodate a new super jumbo 24 ounce size. That is almost three-quarters of a litre.Including All Cake Templates in Coda Search
I'm currently using Coda 1.7.4, but I've had a persistant problem across several versions of Coda where the ".ctp" templates in my CakePHP projects would be ignored in the Coda search results. I had things working most of the time by setting up a Custom Syntax Mode in Coda to display ".ctp" files with PHP highlighting. That got things working for most of the search types Coda supports, but when using "find in folder" some of the templates were still ignored.
Eventually I was able to figure out out a way to consistently trigger the issue after noticing that the icon Coda used for the file it was ignoring was not the same as the ones for the files it included. The ignored file had the same icon as an executable bash script, and sure enough when I checked the file permissions the file was marked as executable. After a few tests, I was able to determine that the rule was as follows:
- If any of the executable flags are set,
- and the file extension is not known,
- and the search type is "find in folder",
- Then the file will not be searched.
That made sense, since it wouldn't do to search through binary files. There's no reason for the template files to be executable, anyway, so the right thing to do was to change the permissions on the file. But that wouldn't help me make mass changes across multiple files if I didn't know that the file permissions were messed up.
Files ending in ".php", however, are searched even when they are executable, so not all executable files are ignored. How could I set things up so ".ctp" files would work the same way? I tried using a completely made up extension, and it behaved the same way as ".ctp". Setting Coda as the default application to open ".ctp" files and setting a Custom Syntax Mode for ".ctp" files in Coda had no effect. I was a bit lost as to what constituted an "unknown" file extension. Especially since some of my coworkers did not have this problem.
I emailed Panic, the makers of Coda, and they were able to confirm that this was a problem some people had. It was not, however, due to anything in Coda itself. Instead the problem was due to the Spotify service in OS X not indexing certain files. Knowing that, I noticed that Finder reported the file "kind" as "Executable Unix File". So I did some research into how to change that. A quick Google search led me to an article about changing a file's "kind". So I tried the following:
- Right clicked on the Coda app in Finder and selected "Show Package Contents"
- Inside the package is a "Contents" folder, and inside that is a file named "Info.plist", which I opened in a text editor.
- I found the section in that file where PHP file extensions are associated with Coda, and added two new entries to the
<array>
element<string>ctp</string>
and<string>CTP</string>.
After saving those changes, exectuable ".ctp" files could be searched in the same manner as executable ".php" files. Hopefully this will be helpful to other people who are having the same problem.