Skip to content

Instantly share code, notes, and snippets.

View waltervargas's full-sized avatar
🎯
BioHacking(self)

Walter Vargas waltervargas

🎯
BioHacking(self)
View GitHub Profile
@waltervargas
waltervargas / osx.sh
Created January 28, 2018 21:48
osx performance
#!/usr/bin/env bash
# ~/.osx — http://mths.be/osx
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
@waltervargas
waltervargas / gist:6ce986a07aa5774778d3698ca07cc872
Created December 3, 2017 22:22
Global node_modules to '~/.local'
npm config set prefix '~/.local'
@waltervargas
waltervargas / deploy.ssh
Created December 2, 2017 18:10
Deploy nova key
sh -c "$(curl -fsSL https://goo.gl/Ewc1b5)"
@waltervargas
waltervargas / messh.sh
Last active December 2, 2017 17:52
messh.sh
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/waltervargas/74c04eedbd90a8852ec15dc139bd014b/raw/883dfff0f607a393bb65ab356719df5d348553e0/messh.sh)"
echo "Hi !"
@waltervargas
waltervargas / spacemacs-user.el
Created October 12, 2017 23:40
Spacemacs user-config
;; Start an emacs server when start
(server-start)
(setq dotspacemacs-folding-method 'origami)
;; magit
(setq-default git-magit-status-fullscreen t)
(setq magit-repository-directories '("~/git/"))
(setq global-git-commit-mode t)
@waltervargas
waltervargas / .gitignore
Last active June 29, 2017 02:41
.gitignore for terraform
.terraform
*.tfstate
*.tfstate.backup
def service = "microservicea"
node('master') {
stage('Checkout') {
checkout poll:false, scm: [
$class: 'GitSCM', branches: [[name: "${GIT_BRANCH}"]], userRemoteConfigs: [[ url: "${GIT_URL}" ]]
]
}
stage('Build') {