- Sublime Package Control for managing packages (like the ones below)
- Github theme for colors
- Soda theme for better chrome
- Sublime ERB keyboard shortcuts for ERB tags
My user settings:
{
My user settings:
{
I considered buying a carbonator like this one, but was turned off by their proprietary Co2 cartridges and bottles. I decided to go a little more DIY, did a little reading, and here's what I ended up with:
// | |
// Example usage: phantomjs screenshot.js http://yahoo.com /tmp/yahoo.png | |
// | |
var system = require('system'); | |
var url = system.args[1]; | |
var filename = system.args[2]; | |
var page = new WebPage(); | |
page.open(url, function (status) { |
==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.5-7.tar.bz2 | |
Already downloaded: /Users/javan/Library/Caches/Homebrew/imagemagick-6.7.5-7.tar.bz2 | |
/usr/bin/tar xf /Users/javan/Library/Caches/Homebrew/imagemagick-6.7.5-7.tar.bz2 | |
==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.5-7 --disable-dependency-tracking --enable-shared --disable-static --with-modules --without-gslib --with-gs-font-dir=/usr/local/share/ghostscript/fonts --without-magick-plus-plus | |
./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.5-7 --disable-dependency-tracking --enable-shared --disable-static --with-modules --without-gslib --with-gs-font-dir=/usr/local/share/ghostscript/fonts --without-magick-plus-plus | |
configuring ImageMagick 6.7.5-7 | |
checking build system type... x86_64-apple-darwin12.0.0 | |
checking host system type... x86_64-apple-darwin12.0.0 | |
checking target system type... x86_64-apple-darwin12.0.0 |
sDictionary = [[NSDictionary alloc] initWithObjectsAndKeys: | |
// People | |
@":smile:", @"\ue415", | |
@":blush:", @"\ue056", | |
@":smiley:", @"\ue057", | |
@":relaxed:", @"\ue414", | |
@":smirk:", @"\ue402", | |
@":heart_eyes:", @"\ue106", | |
@":kissing_heart:", @"\ue418", |
Process: TextMate [47209] | |
Path: /Applications/TextMate.app/Contents/MacOS/TextMate | |
Identifier: com.macromates.textmate | |
Version: 1.5.10 (1631) | |
Code Type: X86 (Native) | |
Parent Process: launchd [198] | |
Date/Time: 2011-08-31 18:51:08.513 -0400 | |
OS Version: Mac OS X 10.7.1 (11B26) | |
Report Version: 9 |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>picker</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"></script> | |
<style type="text/css" media="screen"> | |
.ui-state-active { | |
border: 1px solid red; | |
} |
$.fn.callOnce = (name, args...) -> | |
$(this).each -> | |
$el = $(this) | |
unless $el.data "callOnce:#{name}" | |
$el.data "callOnce:#{name}", true | |
$el[name].apply $el, args |
Found this tip in comment here: http://www.tipb.com/2011/01/04/tipb-bug-home-button-working-iphone/ | |
1.) Open any application | |
2.) Press and hold the power button until the slide to shutdown swipe bar appears. | |
3.) Release Power button | |
4.) Press and hold Home button Lightly | |
until screen returns to icon screen |
(function($) { | |
Ink.TradingInterface = function(options) { | |
if (!(this instanceof arguments.callee)) { | |
return new arguments.callee(arguments); | |
} | |
var self = this; | |
self.initialize = function() { | |
self.colors = { |