start new:
tmux
start new with session name:
tmux new -s myname
I'm trying to consume an endpoint from my server to retrieve interactions. | |
This interaction is restricted by account and can only be accessed once you're within the account route. | |
URLs | |
---- | |
/activity/#/accounts/64/ <-- loads account information | |
/activity/#/accounts/64/interactions <-- I want to load interactions here | |
Ember is making a call to the interactions endpoint, but it's hitting the wrong path: |
/** Reinflates a compressed signature string: | |
resolution = a representation of the resolution in | |
pixels of the canvas which this signature will be drawn | |
e.g. {x:800,y:200} | |
*/ | |
var inflateToJsonSignature = function (deflatedSig, resolution) { | |
var components = [], | |
modifier = 1, | |
compressWithResolution = /^(?:\[(\d+)x(\d+)\])?([\w\W]*)/, | |
parsedSigString = deflatedSig.match(compressWithResolution), |
#!/usr/bin/env ruby | |
# Usage: gitio URL [CODE] | |
# | |
# Turns a github.com URL | |
# into a git.io URL | |
# | |
# Copies the git.io URL to your clipboard. | |
url = ARGV[0] | |
code = ARGV[1] |