Joined October 2012
·
Posted to
Re-fire one-shot events in Batman.js
over 1 year
ago
Good looking out. Thanks.
Come downtown sometime and I'll buy you a beer.
Posted to
Testing nibs (Kiwi, OCUnit, KIF, whatevs)
over 1 year
ago
@johnhatvani Nice tip. Thanks!
Posted to
Proper URL path escaping in Cocoa
over 1 year
ago
Because stringByAddingPercentEscapesUsingEncoding
alone does not strictly conform to what can be escaped in arguments and you may end up with skipped, unencoded characters in your string. That would result in a malformed URL with incorrect parameters.
That would result in great sadness. And probably sadness as well.
Posted to
Open last generated migration easily in your editor
over 1 year
ago
This only opens things in macvim. You should change it to use $EDITOR.
Achievements
704 Karma
108,365 Total ProTip Views
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2013
Kona
Have at least one original repo where CoffeeScript is the dominant language
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2012
Charity
Fork and commit to someone's open source project in need
In your
package.json
specify the "main" key with the name of your startup script. Alternately, under the "scripts" object you can have a "start" key with similar values.Here's an example
package.json
I used for a little toy site I hosted on Heroku.https://github.com/adamyanalunas/californiagrowlerfills.com/blob/master/package.json
Also, don't forget to check the docs. Here's a highlight from Nodejitsu:
https://www.nodejitsu.com/documentation/appendix/package-json/