August 2011
24 posts
2 tags
Aug 1st
July 2011
44 posts
Columnal CSS framework →
1140px wide but it’s fluid and has a single mobile layout. Also on old IEs that don’t support max-width it uses a fixed width.
Jul 31st
“Mr. Trololo sent me here.”
– YouTube comment on Mishka says “Supercalifragilisticexpialidocious”!
Jul 31st
trololo mp3 →
The second result on google! Interesting geek marketing idea.
Jul 31st
2 tags
multiple accounts aren't against the AWS TOS →
This is important because it’s common for services to offer backups to S3 and AWS doesn’t support granular authorization of third parties yet.
Jul 31st
4 notes
Jul 27th
42 notes
3 tags
goog.inherits →
ctor stands for constructor. Took me a while to figure this out.
Jul 25th
1 note
“I love python, and ever did. But I also ever missed something that make writing...”
– Gabriel Falcão
Jul 22nd
4 tags
Sublime Text 2 and node.js
I was getting results from the npm directory, node_modules, in Command-T (Go To File In Project) and Command-Shift-F (Find in Project) results, so I added this to my User Global Settings (Sublime Text 2 menu > Preferences > User Global Settings): I needed to include patterns from the defaults, because it isn’t merged with the defaults.
Jul 20th
12 notes
4 tags
Thoughts on the Indictment of Aaron Swartz
I am saddened to read today that Aaron Swartz has been indicted for using the MIT network to download JSTOR documents. I’ve read numerous articles written by him and watched him create Infogami, create web.py, convert reddit from using a LISP backend to a python one. I’ve also read a bit about his political activism efforts. He is alleged to have downloaded a large number of documents...
Jul 20th
7 notes
4 tags
JSON Lint →
This pure-javascript JSON lint uses jison to parse JSON and give helpful error messages. It also has an option for reformatting JSON.
Jul 19th
7 notes
3 tags
Jul 19th
2 notes
3 tags
http-server →
I like using this http server for JavaScript development. It’s simple, it doesn’t aggressively cache, it gets mime types right, and has a nice minimal logging format. Props to Marak, AvianFlu, and nodejitsu.
Jul 19th
1 note
3 tags
Jul 18th
2 notes
ECMAScript 5 compatibility table →
Jul 18th
3 tags
tumblr tip: big text
go to html surround text with <h1></h1> DONE! (It strips the style attribute from <p style=”font-size: 48pt”>text</p> so that won’t work.)
Jul 18th
4 tags
Jul 18th
8 notes
3 tags
Jul 18th
1 note
3 tags
therubyracer, therubyrhino, ExecJS
I’m really impressed with these three tools for integrating JavaScript with ruby: therubyracer is a ruby extension that embeds the V8 JavaScript engine, used by Chrome and node.js, into ruby. therubyrhino is like therubyracer but it embeds Rhino into JRuby. ExecJS is like multi_json and multi_xml, only instead of choosing between serializer/deserializer libraries, it chooses between...
Jul 18th
5 notes
3 tags
I can't trust free services, restated
I’ve never quite been comfortable with the statement, I can’t trust free services, but I came up with this restatement that I’m more comfortable with: Charging money is a necessary, but not sufficient, precondition to trusting a service. I also need to be able to trust the founders, and know that my data is portable and that the business is sustainable. That is, the inverse...
Jul 18th
8 notes
3 tags
archiving old files to ~/archive/%Y/%m/%d
I set up a couple of scripts to archive my files to directories organized by dates. I have three places I collect old files from: my desktop, my downloads folder, and ~/src/scratch.
Jul 11th
4 notes
3 tags
Jul 10th
4 notes
3 tags
rack-ssl-enforcer defaults to making cookies...
…by modifying the response headers. And that’s a good thing. I looked at my post about using rack-ssl-enforcer with ActiveAdmin and realized that an https site could be creating cookies that could be sidejacked when browsing other parts of the site on an open wifi network, if the cookies weren’t flagged as secure (and were thus shared with non-secure parts of the site). ...
Jul 10th
10 notes
5 tags
browser extensions: hide g+ notifications on...
I made two browser extensions to prevent me from being distracted by Google+ when I’m searching the web with Google. Chrome Extension: g— Safari Extension: quietgsearch I put the Chrome extension in the Chrome Web Store and I used Apple’s Safari Developer Program to sign the Safari extension. The code was about the same for both. I didn’t need to write any JavaScript...
Jul 10th
2 notes
3 tags
mildly amusing: josh@github.com
Josh Peek joins GitHub with the username josh Josh Aber joins GitHub with the username joshaber Josh Aber gets a job at GitHub and gets the email address josh@github.com Josh Peek gets a job at GitHub and gets a different github email address …and finally: Josh Aber gets some emails that were intended for Josh Peek I hope if either of you see this you’ll forgive me. I just...
Jul 10th
1 note
29 WAYS TO STAY CREATIVE (VIDEO)
29 WAYS TO STAY CREATIVE from TO-FU on Vimeo. paulzii: Motion Graphics Based on my “29 Ways to Stay Creative” by TO-FU TO-FU: http://vimeo.com/tofudesign/videos Original Image: http://paulzii.tumblr.com/post/3360025995
Jul 9th
546 notes
2 tags
29 WAYS TO STAY CREATIVE →
Jul 9th
27,036 notes
4 tags
playing .m4p without iTunes
I have a couple dozen .m4p (protected AAC) files in my music library that I bought before iTunes Plus. I wanted to play one on the command line today, and I found that afplay, which isn’t included with OS X, doesn’t handle the DRM. I found a utility that will, called play. download the play command-line utility dmg open the .dmg (open ~/Downloads/play.dmg) copy the play binary to a...
Jul 9th
10 notes
2 tags
making the jammit tests pass
rvm and gemsets help a lot when there’s a project that’s being developed with tools that aren’t normally part of my environment. To get the jammit tests to pass, I ran:
Jul 9th
1 note
using rack-ssl-enforcer with ActiveAdmin
rack-ssl-enforcer is super easy to hook into ActiveAdmin, since ActiveAdmin installs its devise routes beneath /admin (I found this out with rack routes).
Jul 9th
3 tags
poor man's commit squashing
In git, ideally I have a line of commit messages that describe the simple steps I took to build a project. Silly little errors don’t really help, so I resort to amending or squashing the commit. Sometimes this can be a pain or even a bad idea, if the bad version has been pushed and pulled. What I need is a way to say “Move along, nothing to see here”. One phrase I have is...
Jul 8th
9 notes
2 tags
async javascript gotcha
The above code has an onsuccess callback method that is intended to be as soon as the database has been opened. But open() is called before the onsuccess callback method is set! What if it gets opened before the onsuccess callback is set? Answer: It won’t be called before the onsuccess callback is set, because open() is guaranteed to be asynchronous. This means that the open can be...
Jul 8th
9 notes
google bans .co.cc →
Jul 6th
4 tags
Bulk Rails API →
A couple of months ago, I saw a gist from DHH about bulk API actions, and tonight I was thinking about how it differs from the CouchDB Bulk Document API. One difference between the two is that in DHH’s gist they’re split up into create, update, and destroy, while in CouchDB, a document is created, updated, or deleted based on the _id, _deleted, and _rev keys. After some googling I...
Jul 6th
27 notes
the most popular WordPress tickets →
Jul 6th
3 tags
brunch backbone example-todos →
This is a rewrite of the backbone.js todos example, that uses brunch to assemble the backbone application. Instead of JavaScript, CSS, and underscore templates, it uses CoffeeScript, Stylus, and Eco templates. Note that to run the app you enter brunch watch into the terminal. The watch command runs an HTTP development server in addition to watching the files for changes and rebuilding the app.
Jul 6th
2 notes
3 tags
the why is important; knowing is not
People who work on projects because they enjoy doing it or want it to exist are more likely to succeed than people who work on projects because of the carrot or the stick. It’s rare that merely knowing the source of motivation for a project will give a person the means they need to change it. It’s more likely that the person will need to change their project, environment, or attitude. ...
Jul 6th
2 tags
three places to use git
within my shell, bash (git commit -m ‘msg’) fugitive (:Gcommit -m ‘msg’) from ipython (! git commit -m ‘msg’) I like all three.
Jul 4th
7 notes
Nobody Understands REST or HTTP →
Jul 4th
3 tags
I'm an ex-mormon
I’m not an inactive mormon. I’m an ex-mormon. I don’t believe that the mormon doctrine is consistent, and if it isn’t consistent, it cannot be true. Therefore, I don’t believe that the Church Of Jesus Christ Of Latter-Day Saints is true. I hope one day to write an article like Obie Fernandez’ Becoming a Worldly Person. In the meantime I’m just leaving...
Jul 4th
3 notes
escaping quotes in JavaScript
I’m attempting to embed a gist in tumblr.
Jul 3rd
5 tags
local development: vagrant and pow
I’ve become familiar with two intriguing projects for development web servers recently: vagrant, a ruby command-line tool for setting up and maintaining virtual machines for development. pow, a node.js and nack-powered web server for serving rack (including ruby on rails) projects locally, without keeping an extra terminal open or worrying about port numbers They each have their own...
Jul 3rd
7 notes
2 tags
new tumblr theme →
I switched to a new tumblr theme called 1000 suns. I modified the colors, removed the search bar, and replaced the unicode tab character, which was a star, with a check mark. I think it looks pretty spiffy.
Jul 3rd
2 notes
2 tags
WatchWatch
aparticularpath: Too uh-mazing. (via Jon Dore And Rory Scovel Perform At The Same Time - Video @ Teamcoco.com)
Jul 1st
1 note