start new:
tmux
start new with session name:
tmux new -s myname
############################################################################ | |
# _ | |
# | |_ _ __ ___ _ ___ __ | |
# | __| '_ ` _ \| | | \ \/ / | |
# | |_| | | | | | |_| |> < | |
# \__|_| |_| |_|\__,_/_/\_\ | |
# | |
# Cheatsheets: | |
# https://devhints.io/tmux | |
# `property not found` issue: |
# logger = require('logger').create() | |
# logger.info("blah") | |
# => [2011-3-3T20:24:4.810 info (5021)] blah | |
# logger.debug("boom") | |
# => | |
# logger.level = Logger.levels.debug | |
# logger.debug(function() { return "booom" }) | |
# => [2011-3-3T20:24:4.810 error (5021)] booom | |
class Logger | |
constructor: (options) -> |
#!/bin/bash | |
# https://gist.github.com/949831 | |
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/ | |
# command line OTA distribution references and examples | |
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson | |
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution | |
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/ | |
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html |
##### this would be correct if the cloudant addon didn't seem to be broken | |
# heroku create <app-name> --addons cloudant:oxygen,cron:daily,hoptoad:basic,newrelic:standard,pgbackups:auto-month | |
##### | |
# create a cloudant account for the app | |
# create the heroku app with the necessary add-ons | |
heroku create <app-name> --addons cron:daily,hoptoad:basic,newrelic:standard,pgbackups:auto-month | |
# add the CLOUDANT_URL environment variable to the new instance | |
heroku config:add CLOUDANT_URL=https://username:[email protected] |
# /etc/nginx/nginx.conf | |
log_format main '{' | |
'"remote_addr": "$remote_addr",' | |
'"remote_user": "$remote_user",' | |
'"time_local": "$time_local",' | |
'"request": "$request",' | |
'"status": "$status",' | |
'"body_bytes_sent": "$body_bytes_sent",' | |
'"http_referer": "$http_referer",' |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
boot2docker init
boot2docker start
export DOCKER_HOST=tcp://192.168.59.103:2375
. Add that to your bash_profile or equivalent.docker version
is clean (exits 0). The output should look a bit like:Client version: 1.1.0
I highly suspect that the RSpec core team all use black backgrounds in their terminals because sometimes the colors aren’t so nice on my white terminal
I certainly use a black background. I'm not sure about the other RSpec core folks. Regardless, if there are some color changes we can make that would make output look good on a larger variety of backgrounds, we'll certainly consider that (do you have some suggested changes?). In the meantime, the colors are configurable, so you can change the colors to fit your preferences on your machine. First, create a file at