most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
GitHookPushToServer | |
https://stackoverflow.com/questions/24382150/git-hook-make-server-pull-after-i-push-to-github | |
cd ~/example && mkdir .git && cd .git && git init --bare | |
cat > hooks/post-receive << EOF | |
> #!/bin/sh | |
> GIT_WORK_TREE=~/example git checkout -f | |
> EOF | |
chmod +x hooks/post-receive |
{ | |
"title": "BRADS Mouse keys based on (full) (rev 4) Uses R_CMD", | |
"rules": [ | |
{ | |
"description": "BRADS SHIFT Mouse keys (full) (rev 4) [Available since Karabiner-Elements-11.3.5]", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_command", |
An easy to refer to document for regularly setting up macOS 10.13 High Siera, in flavor of my previous macOS/OSX setup gists:
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.
# Reference: | |
https://www.cloudgear.net/blog/2015/5-minutes-kubernetes-setup/ | |
# install homebrew and cask | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install virtualbox | |
brew cask install virtualbox | |
# install dockertoolbox |
#/bin/bash | |
# The -w is using a DESTRUCTIVE WRITE TEST | |
sudo badblocks -v -s -w /dev/mmcblk0 |
#!/bin/bash | |
# Installing sublime text 3 | |
# From https://www.sublimetext.com/3 | |
# Be sure to just extract and copy it into the /opt folder | |
# | |
# | |
# sudo ln -s /opt/sublime_text_3/sublime_text /usr/local/bin/subl | |
# sudo ln -s /opt/sublime_text_3/sublime_text /usr/local/bin/sublime | |
# |
#!/bin/bash | |
# sudo apt-get install nodejs npm | |
sudo npm install -g qrcode-terminal | |
# Then qrcode-terminal with whatever args will be used for the QR Code data |
#!/bin/bash | |
# Download from | |
# https://www.anaconda.com/download/ | |
curl -O https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh | |
bash Anaconda3-2018.12-Linux-x86_64.sh | |
~/anaconda3/bin/conda create -n py35 python=3.5 tensorflow ipython | |
# Then just hit enter through the install add the following to ur zshrc | |
# | |
# export PATH=$HOME/anaconda3/bin/:$PATH | |
# source $HOME/anaconda3/etc/profile.d/conda.sh |