ssh-keygen -C "fabricionaweb@gmail.com" -a 100 -t ed25519 -o
sudo spctl --master-disable
# lazyload nvm | |
# all props goes to http://broken-by.me/lazy-load-nvm/ | |
# grabbed from reddit @ https://www.reddit.com/r/node/comments/4tg5jg/lazy_load_nvm_for_faster_shell_start/ | |
lazynvm() { | |
unset -f nvm node npm | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
} |
## | |
# Creates an alias called "git hist" that outputs a nicely formatted git log. | |
# Usage is just like "git log" | |
# Examples: | |
# git hist | |
# git hist -5 | |
# git hist <branch_name> | |
# git hist <tag_name> -10 | |
## | |
git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short" |
version: '2' | |
services: | |
# Web server - For live reload and development | |
# This environment can be used to run npm and node | |
# commands as well | |
dev: | |
image: ambientum/node:6 | |
command: node build/dev-server.js | |
volumes: |
var slackTeam = "YOUR_SLACK_TEAM_NAME "; | |
var token = 'YOUR_ADMIN_TEST_TOKEN'; | |
// A test token will suffice. | |
// You can generate one at https://api.slack.com/docs/oauth-test-tokens | |
// Just make sure that the user issuing the test token is an admin. | |
var url = 'https://'+ slackTeam + '.slack.com/api/users.admin.invite'; | |
fetch(url, { | |
method: 'POST', | |
headers: {'Content-Type': 'application/x-www-form-urlencoded'}, |
# Use `docker-cleanup --dry-run` to see what would be deleted. | |
function docker-cleanup { | |
EXITED=$(docker ps -q -f status=exited) | |
DANGLING=$(docker images -q -f "dangling=true") | |
if [ "$1" == "--dry-run" ]; then | |
echo "==> Would stop containers:" | |
echo $EXITED | |
echo "==> And images:" |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Runtime data # |
Made to work along with gitfiti, you can draw with this tool and then export the data and use it with gitfiti.
##Usage
Left click
to increment the color, right click
to clear the cell, clear
button to clear everything! Dragging also works!ContributionsDraw.export()
into the console.ContributionsDraw.import([...])
NOTE: This is developed for and tested in Chrome, other browsers might not support yet some ES6 stuff, you might need to compile it to ES5.
{ | |
"workbench.colorTheme": "One Dark Pro", | |
"workbench.tree.renderIndentGuides": "none", | |
"terminal.integrated.fontSize": 13, | |
"terminal.integrated.fontFamily": "JetBrains Mono Light", | |
"terminal.integrated.fontWeightBold": "500", | |
"terminal.integrated.rightClickBehavior": "paste", | |
"terminal.external.osxExec": "iTerm2.app", | |
"terminal.integrated.copyOnSelection": true, | |
"editor.fontFamily": "JetBrains Mono Light", |