Skip to content

Instantly share code, notes, and snippets.


Avishay Zarad avshyz

  • Singular Labs Inc.
  • Tel Aviv
View GitHub Profile
avshyz / snippet.zsh
Last active Jun 24, 2020
[K8s UI Deploy] #kube
View snippet.zsh
docker build -t $K8REP/ui-app . &&\
docker push $K8REP/ui-app &&\
kubectl rollout restart deployment ui &&\
kubectl rollout status deployment ui
avshyz / dotinstall.zsh
Last active Jun 2, 2020
install dotfiles
View dotinstall.zsh
git clone --bare $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";
echo "Backing up pre-existing dot files.";
You can’t perform that action at this time.