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.
Mr. Trololo sent me here.– YouTube comment on Mishka says “Supercalifragilisticexpialidocious”!
trololo mp3 →
The second result on google! Interesting geek marketing idea.
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.
ctor stands for constructor. Took me a while to figure this out.
I love python, and ever did. But I also ever missed something that make writing...– Gabriel Falcão
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.
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...
JSON Lint →
ECMAScript 5 compatibility table →
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.)
therubyracer, therubyrhino, ExecJS
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...
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.
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). ...
browser extensions: hide g+ notifications on...
mildly amusing: email@example.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 firstname.lastname@example.org 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...
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
29 WAYS TO STAY CREATIVE →
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...
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:
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).
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...
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...
google bans .co.cc →
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...
the most popular WordPress tickets →
brunch backbone example-todos →
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. ...
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.
Nobody Understands REST or HTTP →
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...
I’m attempting to embed a gist in tumblr.
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...
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.
aparticularpath: Too uh-mazing. (via Jon Dore And Rory Scovel Perform At The Same Time - Video @ Teamcoco.com)