mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-10-22 07:54:24 -04:00
🚨 commit bomb incoming 🚨
This commit is contained in:
3
.aws/config
Normal file
3
.aws/config
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[default]
|
||||||
|
output = text
|
||||||
|
region = us-east-1
|
3
.bash_profile
Normal file
3
.bash_profile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
if [ -f ~/.bashrc ]; then
|
||||||
|
source ~/.bashrc
|
||||||
|
fi
|
96
.bashrc
Normal file
96
.bashrc
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
### Install
|
||||||
|
# To source this .bashrc, create .bash_profile containing:
|
||||||
|
#
|
||||||
|
# if [ -f ~/.bashrc ]; then
|
||||||
|
# source ~/.bashrc
|
||||||
|
# fi
|
||||||
|
#
|
||||||
|
###############
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Source other files
|
||||||
|
|
||||||
|
# Senstive functions which are not pushed to Github
|
||||||
|
[ -r ~/.bash_private ] && source ~/.bash_private
|
||||||
|
|
||||||
|
# On macOS: brew install bash-completion
|
||||||
|
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||||
|
. $(brew --prefix)/etc/bash_completion
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get it from the original Git repo:
|
||||||
|
# https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
|
||||||
|
if [ -f ~/.git-prompt.sh ]; then
|
||||||
|
source ~/.git-prompt.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get it from the original Git repo:
|
||||||
|
# https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
|
||||||
|
if [ -f ~/.git-completion.bash ]; then
|
||||||
|
source ~/.git-completion.bash
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Prettify (custom)
|
||||||
|
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
|
||||||
|
export CLICOLOR=1
|
||||||
|
# `man ls` to decode this mess
|
||||||
|
export LSCOLORS=ExFxBxDxCxegedabagacad
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Exports (custom)
|
||||||
|
|
||||||
|
export EDITOR="nano"
|
||||||
|
|
||||||
|
export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
||||||
|
|
||||||
|
export PATH=$PATH:"$HOME/bin"
|
||||||
|
export PATH=$PATH:"$(go env GOPATH)/bin"
|
||||||
|
export PATH=$PATH:"$HOME/adt-bundle-mac/sdk/platform-tools"
|
||||||
|
export PATH=$PATH:"$HOME/.fastlane/bin"
|
||||||
|
export PATH=$PATH:"/opt/metasploit-framework/bin"
|
||||||
|
export PATH=$PATH:"/usr/local/opt/mongodb@3.2/bin"
|
||||||
|
|
||||||
|
#export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)"
|
||||||
|
#export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)"
|
||||||
|
#export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Aliases (custom)
|
||||||
|
|
||||||
|
# Enable aliases to be sudo’ed
|
||||||
|
alias sudo="sudo "
|
||||||
|
|
||||||
|
alias ll="ls -lah"
|
||||||
|
alias la="ls -a"
|
||||||
|
alias l="ls -lh"
|
||||||
|
|
||||||
|
alias cd..="cd .."
|
||||||
|
alias ..="cd .."
|
||||||
|
alias ...="cd ../.."
|
||||||
|
alias ....="cd ../../.."
|
||||||
|
|
||||||
|
alias ip="dig +short myip.opendns.com A @resolver1.opendns.com"
|
||||||
|
alias ip4="dig +short myip.opendns.com A @resolver1.opendns.com"
|
||||||
|
alias ip6="dig +short -6 myip.opendns.com AAAA @resolver1.ipv6-sandbox.opendns.com"
|
||||||
|
alias iplocal="ipconfig getifaddr en0"
|
||||||
|
|
||||||
|
alias flush="sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache"
|
||||||
|
alias serve="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'"
|
||||||
|
alias hosts="sudo $EDITOR /etc/hosts"
|
||||||
|
alias speed="wget -O /dev/null http://cachefly.cachefly.net/100mb.test"
|
||||||
|
|
||||||
|
alias unhide="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||||
|
alias rehide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
||||||
|
|
||||||
|
alias update="brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update; sudo gem cleanup" # sudo softwareupdate -i -a;
|
||||||
|
|
||||||
|
alias dc="docker-compose"
|
||||||
|
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | echo '=> Public key copied to pasteboard.'"
|
||||||
|
|
||||||
|
alias gundo="git push -f origin HEAD^:master"
|
15
.gitconfig
Normal file
15
.gitconfig
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[user]
|
||||||
|
email = jakejarvis@gmail.com
|
||||||
|
name = Jake Jarvis
|
||||||
|
signingkey = D36CB66F4002B25B
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
[core]
|
||||||
|
excludesfile = ~/.gitignore_global
|
||||||
|
editor = nano
|
||||||
|
[push]
|
||||||
|
default = current
|
||||||
|
[credential]
|
||||||
|
helper = osxkeychain
|
||||||
|
[github]
|
||||||
|
user = jakejarvis
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.aws/credentials
|
||||||
|
.bash_private
|
30
.gitignore_global
Normal file
30
.gitignore_global
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
*~
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
76
JJ.terminal
Normal file
76
JJ.terminal
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>BackgroundColor</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKMHCA9VJG51bGzTCQoLDA0OV05TV2hpdGVcTlNDb2xvclNwYWNlViRjbGFzc08Q
|
||||||
|
DzAgMC45NTE1NzE1MTE4ABADgALSEBESE1okY2xhc3NuYW1lWCRjbGFzc2VzV05TQ29s
|
||||||
|
b3KiEhRYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2ZXLRFxhUcm9vdIABCBEaIy0yNztB
|
||||||
|
SFBdZHZ4en+Kk5uep7m8wQAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAADD
|
||||||
|
</data>
|
||||||
|
<key>CursorBlink</key>
|
||||||
|
<true/>
|
||||||
|
<key>CursorColor</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECEw
|
||||||
|
LjIxOTYwNzg2IDAuOTk2MDc4NDkgMC4xNTI5NDExOAAQAoAC0hAREhNaJGNsYXNzbmFt
|
||||||
|
ZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcY
|
||||||
|
VHJvb3SAAQgRGiMtMjc7QUhOW2KGiIqPmqOrrrfJzNEAAAAAAAABAQAAAAAAAAAZAAAA
|
||||||
|
AAAAAAAAAAAAAAAA0w==
|
||||||
|
</data>
|
||||||
|
<key>CursorType</key>
|
||||||
|
<integer>2</integer>
|
||||||
|
<key>Font</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QVk5TU2l6ZVhOU2ZGbGFnc1ZOU05hbWVWJGNs
|
||||||
|
YXNzI0AqAAAAAAAAEBCAAoADXxAUTm90b01vbm9Gb3JQb3dlcmxpbmXSExQVFlokY2xh
|
||||||
|
c3NuYW1lWCRjbGFzc2VzVk5TRm9udKIVF1hOU09iamVjdF8QD05TS2V5ZWRBcmNoaXZl
|
||||||
|
ctEaG1Ryb290gAEIERojLTI3PEJLUltiaXJ0dniPlJ+or7K7zdDVAAAAAAAAAQEAAAAA
|
||||||
|
AAAAHAAAAAAAAAAAAAAAAAAAANc=
|
||||||
|
</data>
|
||||||
|
<key>FontAntialias</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProfileCurrentVersion</key>
|
||||||
|
<real>2.0499999999999998</real>
|
||||||
|
<key>SelectionColor</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPEB4w
|
||||||
|
LjAzNDU3ODM5NSAwIDAuOTEzMjY1MzEgMC42NQAQAYAC0hAREhNaJGNsYXNzbmFtZVgk
|
||||||
|
Y2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcYVHJv
|
||||||
|
b3SAAQgRGiMtMjc7QUhOW2KDhYeMl6Coq7TGyc4AAAAAAAABAQAAAAAAAAAZAAAAAAAA
|
||||||
|
AAAAAAAAAAAA0A==
|
||||||
|
</data>
|
||||||
|
<key>TextBoldColor</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMCAx
|
||||||
|
IDAAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
|
||||||
|
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa
|
||||||
|
rK+0AAAAAAAAAQEAAAAAAAAAGQAAAAAAAAAAAAAAAAAAALY=
|
||||||
|
</data>
|
||||||
|
<key>TextColor</key>
|
||||||
|
<data>
|
||||||
|
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
||||||
|
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECIw
|
||||||
|
LjE1Njg2Mjc1IDAuOTk2MDc4NDkgMC4wNzg0MzEzNzUAEAKAAtIQERITWiRjbGFzc25h
|
||||||
|
bWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVjdF8QD05TS2V5ZWRBcmNoaXZlctEX
|
||||||
|
GFRyb290gAEIERojLTI3O0FITltih4mLkJukrK+4ys3SAAAAAAAAAQEAAAAAAAAAGQAA
|
||||||
|
AAAAAAAAAAAAAAAAANQ=
|
||||||
|
</data>
|
||||||
|
<key>UseBoldFonts</key>
|
||||||
|
<true/>
|
||||||
|
<key>columnCount</key>
|
||||||
|
<integer>100</integer>
|
||||||
|
<key>name</key>
|
||||||
|
<string>JJ</string>
|
||||||
|
<key>rowCount</key>
|
||||||
|
<integer>43</integer>
|
||||||
|
<key>type</key>
|
||||||
|
<string>Window Settings</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
7
README.md
Normal file
7
README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# My .files 🏡
|
||||||
|
|
||||||
|
Just a personal backup of my MacBook's setup. Certainly not a drop-in solution for anybody's machine except my own, but maybe a few lines will prove useful to you.
|
||||||
|
|
||||||
|
(...in other words, after stealing so many sick bash hacks from people on here who are much smarter than me, I felt obligated to keep the repo public.)
|
||||||
|
|
||||||
|
❤️ Jake
|
112
vscode/extensions.json
Normal file
112
vscode/extensions.json
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
|
||||||
|
"publisherId": "Shan.code-settings-sync",
|
||||||
|
"publisherDisplayName": "Shan"
|
||||||
|
},
|
||||||
|
"name": "code-settings-sync",
|
||||||
|
"publisher": "Shan",
|
||||||
|
"version": "2.9.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
|
||||||
|
"publisherId": "ms-vscode.cpptools",
|
||||||
|
"publisherDisplayName": "ms-vscode"
|
||||||
|
},
|
||||||
|
"name": "cpptools",
|
||||||
|
"publisher": "ms-vscode",
|
||||||
|
"version": "0.15.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
|
||||||
|
"publisherId": "msjsdiag.debugger-for-chrome",
|
||||||
|
"publisherDisplayName": "msjsdiag"
|
||||||
|
},
|
||||||
|
"name": "debugger-for-chrome",
|
||||||
|
"publisher": "msjsdiag",
|
||||||
|
"version": "4.2.1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
|
||||||
|
"publisherId": "donjayamanne.githistory",
|
||||||
|
"publisherDisplayName": "donjayamanne"
|
||||||
|
},
|
||||||
|
"name": "githistory",
|
||||||
|
"publisher": "donjayamanne",
|
||||||
|
"version": "0.4.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "82dfe17d-bb64-404e-bcc5-f9803f7ab5d5",
|
||||||
|
"publisherId": "dbaeumer.jshint",
|
||||||
|
"publisherDisplayName": "dbaeumer"
|
||||||
|
},
|
||||||
|
"name": "jshint",
|
||||||
|
"publisher": "dbaeumer",
|
||||||
|
"version": "0.10.17"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "5db78037-f674-459f-a236-db622c427c5b",
|
||||||
|
"publisherId": "PKief.material-icon-theme",
|
||||||
|
"publisherDisplayName": "PKief"
|
||||||
|
},
|
||||||
|
"name": "material-icon-theme",
|
||||||
|
"publisher": "PKief",
|
||||||
|
"version": "3.2.6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "5e69f001-f945-4c97-baf0-320d82a153b3",
|
||||||
|
"publisherId": "felixfbecker.php-intellisense",
|
||||||
|
"publisherDisplayName": "felixfbecker"
|
||||||
|
},
|
||||||
|
"name": "php-intellisense",
|
||||||
|
"publisher": "felixfbecker",
|
||||||
|
"version": "2.3.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "85e57fc6-8e21-4402-8e66-af4155fbb5d2",
|
||||||
|
"publisherId": "qinjia.seti-icons",
|
||||||
|
"publisherDisplayName": "qinjia"
|
||||||
|
},
|
||||||
|
"name": "seti-icons",
|
||||||
|
"publisher": "qinjia",
|
||||||
|
"version": "0.1.3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "735af542-944f-4b07-b336-9df27d7b8d84",
|
||||||
|
"publisherId": "smlombardi.slime",
|
||||||
|
"publisherDisplayName": "smlombardi"
|
||||||
|
},
|
||||||
|
"name": "slime",
|
||||||
|
"publisher": "smlombardi",
|
||||||
|
"version": "2.31.2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
|
||||||
|
"publisherId": "PeterJausovec.vscode-docker",
|
||||||
|
"publisherDisplayName": "PeterJausovec"
|
||||||
|
},
|
||||||
|
"name": "vscode-docker",
|
||||||
|
"publisher": "PeterJausovec",
|
||||||
|
"version": "0.0.25"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
|
||||||
|
"publisherId": "eg2.vscode-npm-script",
|
||||||
|
"publisherDisplayName": "eg2"
|
||||||
|
},
|
||||||
|
"name": "vscode-npm-script",
|
||||||
|
"publisher": "eg2",
|
||||||
|
"version": "0.3.3"
|
||||||
|
}
|
||||||
|
]
|
5
vscode/keybindings.json
Normal file
5
vscode/keybindings.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
// Place your key bindings in this file to overwrite the defaults
|
||||||
|
[
|
||||||
|
{ "key": "ctrl+tab", "command": "workbench.action.nextEditor" },
|
||||||
|
{ "key": "ctrl+shift+tab", "command": "workbench.action.previousEditor" }
|
||||||
|
]
|
9
vscode/settings.json
Normal file
9
vscode/settings.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Place your settings in this file to overwrite the default settings
|
||||||
|
{
|
||||||
|
"workbench.colorTheme": "Slime",
|
||||||
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
|
"editor.fontFamily": "Source Code Pro, Menlo, Monaco, 'Courier New', monospace",
|
||||||
|
"editor.fontSize": 14.5,
|
||||||
|
"editor.cursorStyle": "line",
|
||||||
|
"extensions.autoUpdate": false
|
||||||
|
}
|
Reference in New Issue
Block a user