start new:
tmux
start new with session name:
tmux new -s myname
var fortunes = [ | |
"Have a nice day", | |
"You look really good today", | |
"It's your birthday!", | |
"Never play leapfrog with a unicorn" | |
]; | |
var net = require('net'); | |
var server = net.createServer(function(connection){ | |
connection.write("Enter the number of fortunes you want: "); |
There's been a strange explosion in misinformation about browserify recently, particularly in comparisons to webpack.
Generally speaking, most of this confusion stems from how webpack is more willing to pull features into its core to ease discoverability while browserify is more likely to push features out to userland instead.
I think that longer-term, separability has more benefits from a maintenance and
var request = require('request'); | |
var options = { | |
method: 'GET', | |
json: {}, | |
uri: 'https://api.clever.com/v1.1/districts/4fd43cc56d11340000000005/sections', | |
headers: { | |
Authorization: 'Bearer DEMO_TOKEN' | |
} | |
}; |
I hereby claim:
To claim this, I am signing this object:
› drush dl drupal --drupal-project-rename="projectname" | |
• Install site | |
› cd projectname/sites/all/modules/ | |
› mkdir contrib custom | |
› drush dl adminimal_theme adminimal_admin_menu module_filter | |
› drush en -y adminimal_admin_menu module_filter | |
› drush variable-set admin_theme adminimal |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
I hereby claim:
To claim this, I am signing this object:
[Unit] | |
Description=smile_backend | |
After=syslog.target | |
[Service] | |
User=root | |
Group=root | |
ExecStart=/usr/bin/node /vagrant/backend/main.js |