Initial commit
This commit is contained in:
		
							
								
								
									
										10
									
								
								bin/MiscEnvVars
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								bin/MiscEnvVars
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | ######## | ||||||
|  | #All things related to hacking on reqfoot | ||||||
|  | ######## | ||||||
|  |  | ||||||
|  | export REQDEV_VMHOST="10.251.30.72" | ||||||
|  | export REQDEV_VMHOST_ADMINUSER="root" | ||||||
|  | export REQDEV_VMNAME="ReqTSYSCICDTest" | ||||||
|  | export REQDEV_VMNAME_USER="localuser" | ||||||
|  | export REQDEV_VMIP="10.251.100." | ||||||
|  | ######## | ||||||
							
								
								
									
										112
									
								
								bin/alias.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										112
									
								
								bin/alias.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,112 @@ | |||||||
|  | #alias history='history -f' | ||||||
|  | alias ssh='/usr/bin/ssh -F ~/Nextcloud/dotfiles-git/rcdirs/ssh/config' | ||||||
|  | alias scp='scp -i /drives/c/Users/reach/.ssh/id_rsa -F ~/Nextcloud/dotfiles-git/rcdirs/ssh/config' | ||||||
|  | alias s='ssh' | ||||||
|  | alias vi='vim' | ||||||
|  | alias id0='sudo -i' | ||||||
|  | alias ls='ls --color' | ||||||
|  | alias grep='rg --color auto' | ||||||
|  | alias wget='wget --no-check-certificate' | ||||||
|  | alias curl='curl --insecure' | ||||||
|  | alias cls='clear ; ls' | ||||||
|  |  | ||||||
|  | #Git / git stuff | ||||||
|  | alias gup='git pull' | ||||||
|  | alias lpom='git add -A :/ ; git commit -va' | ||||||
|  | alias gpom=' git push --tags origin master' | ||||||
|  | alias tesla='gup;lpom;gpom' | ||||||
|  |  | ||||||
|  | #Docker / k8s aliases, cause i'm a docker/kubefarm fanboi now | ||||||
|  |  | ||||||
|  | ## Most docker/k8s use is via vscode now, but somtimes you wanna drop to a shell and do some stuff... | ||||||
|  |  | ||||||
|  | alias dc='docker-compose' | ||||||
|  | alias dcu='docker compose up' | ||||||
|  | alias dcd='docker compose down' | ||||||
|  |  | ||||||
|  | alias dcdu='docker compose up -d' | ||||||
|  |  | ||||||
|  |  | ||||||
|  | alias dcf='docker-compose rm -f ; docker-compose up' | ||||||
|  | alias dcd-prod='docker-compose --context prod up -d' | ||||||
|  | alias dcd-cicd='docker-compose --context cicd up -d' | ||||||
|  | alias dcd-dev='docker-compose --context dev up -d' | ||||||
|  |  | ||||||
|  | alias kgn='kubectl get nodes -o wide|grep -v NAME|sort' | ||||||
|  | alias kgp='kubectl get pods -A -o wide|grep -v NAME|sort' | ||||||
|  |  | ||||||
|  | alias k0-sb-gn='export KUBECONFIG=~/.kube/custom-contexts/context-sandbox-config.yml ; kgn' | ||||||
|  | alias k0-sb-gp='export KUBECONFIG=~/.kube/custom-contexts/context-sandbox-config.yml ; kgp' | ||||||
|  |  | ||||||
|  | alias k0-dqu-gn='export KUBECONFIG=~/.kube/custom-contexts/context-dqu-config.yml ; kgn' | ||||||
|  | alias k0-dqu-gp='export KUBECONFIG=~/.kube/custom-contexts/context-dqu-config.yml ; kgp' | ||||||
|  |  | ||||||
|  | alias k0-prod-gn='export KUBECONFIG=~/.kube/custom-contexts/context-prod-config.yml ; kgn' | ||||||
|  | alias k0-prod-gp='export KUBECONFIG=~/.kube/custom-contexts/context-prod-config.yml ; kgp' | ||||||
|  |  | ||||||
|  |  | ||||||
|  | #Projects | ||||||
|  |  | ||||||
|  | ### Documentaton | ||||||
|  | alias context-docs-techops='StartProject.sh ~/charles/code/techops/docs-techops' | ||||||
|  | alias context-notes-public='StartProject.sh ~/charles/notes-public' | ||||||
|  | alias context-docs-subo='StartProject.sh ~/charles/code/RD/docs-suborbital' | ||||||
|  | alias context-docs-rr='StartProject.sh ~/charles/code/RD/docs-rackrental' | ||||||
|  |  | ||||||
|  | ### Configs | ||||||
|  | alias context-dotfiles='StartProject.sh ~/charles/dotfiles-git' | ||||||
|  | alias context-tsys-dev='StartProject.sh ~/charles/code/techops/tsys-dev' | ||||||
|  |  | ||||||
|  | ### Code - internal | ||||||
|  | alias context-rd-MorseFlyer='StartProject.sh ~/charles/RD/Morse/Internal/' | ||||||
|  |  | ||||||
|  | ### Code - BizOps/TechOps | ||||||
|  | alias context-services-bizops='StartProject.sh ~/charles/code/techops/ITBackOfficeFLOStack' | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | #alias tmux='TERMINFO=/usr/share/terminfo/x/xterm-16color TERM=xterm-16color tmux -2' | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ##################################################### | ||||||
|  | #Personal host variables | ||||||
|  | ##################################################### | ||||||
|  | #Eventually we'll move to ldap/no shared accounts/forced sudo. Blech. Corporate tyrany! | ||||||
|  | #For now, the easy way. HAH! | ||||||
|  | #CON_USER="charlesnw" | ||||||
|  | #INBAND_USER="charlesnw" | ||||||
|  | PERSONAL_OOB_USER="root" | ||||||
|  | PERSONAL_INBAND_USER="root" | ||||||
|  | ##################################################### | ||||||
|  |  | ||||||
|  | #Functions to deploy on ultix and/or charles-prodlin... | ||||||
|  | #alias 2600hz='ssh $INBAND_USER@conference.corp.thefnf.net'  | ||||||
|  | #alias yacy='ssh $INBAND_USER@yacyfnf.corp.thefnf.net' | ||||||
|  | #alias confine='ssh $INBAND_USER@confine.dev.thefnf.net'  | ||||||
|  |  | ||||||
|  | #FNF hosts | ||||||
|  | alias tsys-fnf-freedomstack='ssh charles@tsys-fnf-freedomstack' #FreedomStack dev vm | ||||||
|  | alias hearth-at='ssh charles@hearth-at.thefnf.net' | ||||||
|  | alias hearth-an='ssh charles@hearth-an.thefnf.net' | ||||||
|  | alias hearth-bds='ssh charles@hearth-bds.thefnf.net' | ||||||
|  | alias hearth-uds='ssh charles@hearth-uds.thefnf.net' | ||||||
|  |  | ||||||
|  | ##################################################### | ||||||
|  | #PFV HOSTS ##################################################### | ||||||
|  | #Bare metal systems (in band access) - Production  | ||||||
|  | #Upstairs, production | ||||||
|  | alias ausprod-core-ap01='telnet ausprod-core-ap01.turnsys.net' | ||||||
|  | alias ausprod-core-sw01='telnet ausprod-core-sw01.turnsys.net' | ||||||
|  |  | ||||||
|  | #alias netbox='ssh -i $PATH_TO_KEY $LABUSER@netbox.dev.thefnf.net' #gns3 with ios/juniper/comware/extreme os/tinycore/openflow (ALL THE NETWORK THINGS) | ||||||
|  | #alias cudasys='ssh -i $PATH_TO_KEY $LABUSER@cudasys.dev.thefnf.net' #cuda awesomeness | ||||||
|  |  | ||||||
|  | ########################################################### | ||||||
|  | #Inband access (ssh/telnet)				  # | ||||||
|  | ########################################################### | ||||||
|  | #alias rr-con-sw4='ssh $RRLABUSER:7003@ausprod.consrv.turnsys.net' | ||||||
|  | #alias rr-con-r7='ssh $RRLABUSER:7021@ausprod-consrv.turnsys.net' | ||||||
|  | #TBDalias rr-con-r8='ssh $RRLABUSER:7021@ausprod-consrv.turnsys.net' | ||||||
|  | #TBDalias rr-con-r10='ssh $RRLABUSER:7021@ausprod-consrv.turnsys.net' | ||||||
|  | ########################################################### | ||||||
|  |  | ||||||
							
								
								
									
										22
									
								
								dot_gitconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								dot_gitconfig
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | |||||||
|  | [user] | ||||||
|  | 	email = reachableceo@turnsys.com | ||||||
|  | 	name = Charles N Wyble | ||||||
|  | [filter "lfs"] | ||||||
|  | 	clean = git-lfs clean -- %f | ||||||
|  | 	smudge = git-lfs smudge -- %f | ||||||
|  | 	process = git-lfs filter-process | ||||||
|  | 	required = true | ||||||
|  | [credential "https://reachableceo.com"] | ||||||
|  | 	provider = generic | ||||||
|  | [credential "https://handbook.turnsys.com"] | ||||||
|  | 	provider = generic | ||||||
|  | [credential "https://shopbook.startinglineproductions.com"] | ||||||
|  | 	provider = generic | ||||||
|  | [alias] | ||||||
|  | 	lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | ||||||
|  | 	lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | ||||||
|  | 	lg = !"git lg1" | ||||||
|  | [http] | ||||||
|  | 	sslVerify = false | ||||||
|  | [oh-my-zsh] | ||||||
|  | 	hide-status = 1 | ||||||
							
								
								
									
										1
									
								
								dot_inputrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								dot_inputrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | set editing-mode vi | ||||||
							
								
								
									
										15
									
								
								dot_toprc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								dot_toprc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | |||||||
|  | top's Config File (Linux processes with windows) | ||||||
|  | Id:i, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=0 | ||||||
|  | Def	fieldscur=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD><C4B7><EFBFBD>&')*+,-./012568<>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | ||||||
|  | 	winflags=720308, sortindx=18, maxtasks=0, graph_cpus=0, graph_mems=0 | ||||||
|  | 	summclr=1, msgsclr=1, headclr=3, taskclr=1 | ||||||
|  | Job	fieldscur=<3D><><EFBFBD><EFBFBD><EFBFBD>(<28><>Ļ<EFBFBD>@<<3C><>)*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | ||||||
|  | 	winflags=193844, sortindx=0, maxtasks=0, graph_cpus=0, graph_mems=0 | ||||||
|  | 	summclr=6, msgsclr=6, headclr=7, taskclr=6 | ||||||
|  | Mem	fieldscur=<3D><><EFBFBD><<3C><><EFBFBD><EFBFBD><EFBFBD>MBN<42>D34<33><34>&'()*+,-./0125689FGHIJKLOPQRSTUVWXYZ[\]^_`abcdefghij | ||||||
|  | 	winflags=193844, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0 | ||||||
|  | 	summclr=5, msgsclr=5, headclr=4, taskclr=5 | ||||||
|  | Usr	fieldscur=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)+,-./1234568;<=>?@ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | ||||||
|  | 	winflags=193844, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0 | ||||||
|  | 	summclr=3, msgsclr=3, headclr=2, taskclr=3 | ||||||
|  | Fixed_widest=0, Summ_mscale=0, Task_mscale=0, Zero_suppress=0 | ||||||
							
								
								
									
										42
									
								
								dot_vimrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								dot_vimrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | |||||||
|  | "General creature comforts I just can't live without. | ||||||
|  | syntax on | ||||||
|  | set ai | ||||||
|  | set tabstop=4 | ||||||
|  | set number | ||||||
|  | set paste | ||||||
|  | set hidden | ||||||
|  | set history=10000 | ||||||
|  | set showmatch | ||||||
|  | set incsearch | ||||||
|  | set foldenable | ||||||
|  | set nowrap | ||||||
|  | "set spell spelllang=en_us | ||||||
|  | set laststatus=2 | ||||||
|  |  | ||||||
|  | "Color stuff, cause when you hax for hours, it's nice to have good colors | ||||||
|  | set background=dark | ||||||
|  | "colorscheme lucid | ||||||
|  |  | ||||||
|  | "Infect me.... useful plugins. yay pathogen | ||||||
|  | "iexecute pathogen#infect() | ||||||
|  | filetype plugin indent on | ||||||
|  |  | ||||||
|  | "Other plugins | ||||||
|  |  | ||||||
|  | "Need to figure out a better way to do this, hence why it's commented | ||||||
|  | "Safety first | ||||||
|  | "set backup                  " Backups are nice ... | ||||||
|  | "        if has('persistent_undo') | ||||||
|  | "            set undofile                " So is persistent undo ... | ||||||
|  | "            set undolevels=1000         " Maximum number of changes that can be undone | ||||||
|  | "            set undoreload=10000        " Maximum number lines to save for undo on a buffer reload | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | "Always show statusline | ||||||
|  | set laststatus=2 | ||||||
|  |  | ||||||
|  | "Use 256 colours (Use this setting only if your terminal supports 256 colours) | ||||||
|  | set t_Co=256 | ||||||
|  |  | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user