This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bo! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cleaning | |
Laundry | |
Box Pile | |
Floor Wires | |
alc video setup | |
empty moving boxes | |
clean work area | |
start keyboard desk | |
start monitor desk | |
# Creative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add /Volumes mount in Virtualbox | |
sudo mkdir /Volumes;sudo mount -t vboxsf volumes /Volumes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git | |
alias glm='log --graph --abbrev-commit --decorate --date=relative --format=format:"%C(yellow)%h%C(reset) - %C(blue)(%ar)%C(reset)%C(dim white) %an%C(reset) %C(white)%s%C(reset) %C(auto)%d%C(reset)" --all' | |
#this branch story | |
function __gbstory(){ | |
git log --graph --oneline --decorate --all $1 HEAD; | |
} | |
alias gbstory=__gbstory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.use(require('basic-auth-connect')('admin', '1234')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = "Velocity = [0, 48, 57, 65, 108, 127; 0, 32, 64, 96, 127, 127]"; | |
input = input.replace(/[a-z\]\[=]/ig, ''); | |
var special = input.split(';')[0].split(','); | |
var normal = input.split(';')[1].split(','); | |
var special = [0, 48, 57, 65, 108, 127]; | |
var normal = [ 0, 32, 64, 96, 127, 127]; | |
console.log(special,normal); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
makeGridWidth(a, b) | |
c=round((b/a)*10000)/100 | |
unit(c,'%') | |
// partial are the column sizes | |
// whole is the entire column width size | |
// so to do a 50% > .g-1-2, a 33% > .g-1-3 | |
// feel free to modify these numbers as needed | |
.grid | |
width:100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var start = performance.timing.fetchStart, obj = {}; for (var i in performance.timing){ obj[i] = performance.timing[i]-start }; console.log(obj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
top -F -R -l2 -n 1 -o cpu | cut -c 1-31 | grep -v '0.0' | tail -n +23 | grep -v 'LIVE' |