This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ..='cd ..' | |
alias ...='cd ../../' | |
alias ....='cd ../../../' | |
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' | |
alias apt-get='sudo apt-get' | |
alias bc='bc -l' | |
alias chmodx='chmod +x' | |
alias codesu='sudo code --user-data-dir jeffp2662' | |
alias cpuinfo='lscpu' | |
alias dcc='sudo docker container' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
IF NOT "%~1"=="" GOTO Processing | |
@echo Missing argument for release branch name (ex REL_3.2) | |
@echo Exiting | |
EXIT | |
:Processing | |
cd \Repos\CS | |
@echo Working... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ORIGINAL | |
CNTX={users}; NAME={jeffpignataro}; PAGE=1 | |
curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" | | |
grep -e 'git_url*' | | |
cut -d \" -f 4 | | |
xargs -L1 git clone | |
# Jq with Background Processes using GH CLI | |
CNTX={users}; NAME={jeffpignataro}; PAGE=1 | |
curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" | jq ".[].name" | xargs -I % sh -c 'gh repo clone jeffpignataro/% &' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:/home/jeffp2662/.local/bin:/home/linuxbrew/.linuxbrew/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/jeffp2662/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias go-bazel="go mod tidy; bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies; bazel run //:gazelle; bazel build //..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ARM64_PLATFORM='--platforms=@io_bazel_rules_go//go/toolchain:linux_amd64' |