$ mkdir mynewapp
$ cd mynewapp
$ curl -sS https://getcomposer.org/installer | php
# | |
# The Churros | |
# by @staydecent | |
# | |
# combo of some fine open-source species, | |
# with some of the custom Dormant Penguin love | |
# | |
speed_change_fear = 60.0 | |
my_start_pos = null |
rename-session -t 0 work | |
selectp -t 0 # select the first (0) pane | |
splitw -v -p 66 -c ~/Development/ecquirex 'grunt watch:linux' # split it into 1/3 | |
selectp -t 1 # select the new, second (1) pane | |
splitw -v -p 50 -c ~/Development/ecquirex # split it into two halves | |
selectp -t 0 # go back to the first pane | |
run-shell "$SHELL cd ~/Development/ecquirex" |
# -*- coding: utf-8 -*- | |
from libqtile.manager import Key, Screen, Group | |
from libqtile.command import lazy | |
from libqtile import layout, bar, widget, hook | |
# | |
# Global optiosn | |
# |
adb
and fastboot
for mac if needed: https://dl.dropboxusercontent.com/u/1644097/adbfastbootmac.zipvar Module = Stapes.subclass(); | |
var mod = new Module(); | |
function initRender() { | |
// MyApp would be some Reacy component you've defined | |
React.renderComponent(<MyApp mod={mod} />, node); | |
} | |
// ready is a custom event to trigger initRender | |
// from the Module contructor |
.tab-bar { | |
height: 34px; | |
padding: 0; | |
.tab { | |
-webkit-transform: none; | |
top: 2px; | |
line-height: 25px; | |
&.active { |
// on proper key press | |
chrome.runtime.onMessage.addListener(function(request, sender) { | |
if (!request.tabIndex) { return; } | |
var tabIndex = request.tabIndex; | |
chrome.tabs.query({currentWindow: true, index: tabIndex}, function(tab) { | |
if (!tab.length) { return; } | |
chrome.tabs.update(tab[0].id, {active: true}); |
/** | |
* Dispatcher | |
* | |
* Requires: <script src="http://d3js.org/queue.v1.min.js"></script> | |
*/ | |
var Dispatcher = function() { | |
this._q = queue(1); | |
this._events = {}; | |
this._E = function(message) { | |
this.message = message; |