Skip to content

Instantly share code, notes, and snippets.

View kayasky's full-sized avatar
🎯
Focusing

Kaya Jhuti kayasky

🎯
Focusing
View GitHub Profile
networksetup -getairportpower en0 | grep "On" && networksetup -setairportpower en0 off || networksetup -setairportpower en0 on
atom-beautify@0.29.8
file-icons@1.7.14
linter@1.11.10
linter-jshint@2.1.0
minimap@4.24.4
pigments@0.29.2
seti-syntax@1.0.1
seti-ui@1.3.1
@kayasky
kayasky / .bash_prompt
Created July 6, 2015 20:13
Basic .bash_prompt
# Shell prompt based on the Solarized Dark theme.
# Screenshot: http://i.imgur.com/EkEtphC.png
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing.
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM='xterm-256color';
fi;
@kayasky
kayasky / .bash_profile
Last active June 16, 2016 13:38
Basic .bash_profile
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$PATH";
export DEBUG="express:*";
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
@kayasky
kayasky / .gitconfig
Last active August 29, 2015 14:23
Basic .gitconfig
[alias]
lg = log --graph --decorate --oneline
la = log --all --decorate --oneline --graph
lo = log --decorate --graph
co = checkout
bydate = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short)'
st = status
br = branch
ci = commit