I hereby claim:
- I am nsollazzo on github.
- I am nsollazzo (https://keybase.io/nsollazzo) on keybase.
- I have a public key ASDWbK2ylTWkkfZ5akd7mmwqCdHxAHb16ZOJoZ2gqLNMfwo
To claim this, I am signing this object:
# colored grep | |
alias grey-grep="GREP_COLOR='1;30' grep -E --color=always --line-buffered" | |
alias red-grep="GREP_COLOR='1;31' grep -E --color=always --line-buffered" | |
alias green-grep="GREP_COLOR='1;32' grep -E --color=always --line-buffered" | |
alias yellow-grep="GREP_COLOR='1;33' grep -E --color=always --line-buffered" | |
alias cyan-grep="GREP_COLOR='1;36' grep -E --color=always --line-buffered" | |
# colored log | |
alias logger='cyan-grep "\[.*\]|$" | yellow-grep "WARN|$" | red-grep "ERROR.*|FATAL.*|##|$" | green-grep "INFO|$"' |
#!/usr/bin/env bash | |
#TeamViewer on Ubuntu 18.04 Bionic Beaver Linux | |
sudo apt install gdebi-core | |
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb | |
sudo gdebi teamviewer_amd64.deb | |
rm teamviewer_amd64.deb |
#!/usr/bin/env bash | |
# Install docker CE on Ubuntu & derivatives | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce |
#!/bin/sh | |
# Fix to the problem: | |
# [Oh My Zsh] Would you like to check for updates? | |
# Type Y to update oh-my-zsh: Y | |
# Upgrading Oh My Zsh | |
# Cannot pull with rebase: You have unstaged changes. | |
# Please commit or stash them. | |
# There was an error updating. Try again later? | |
cd "$ZSH" && git stash && upgrade_oh_my_zsh |
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) |
Verifying my Blockstack ID is secured with the address 1MVA4QXRCfoM3QHQqLZWFaLeusKvqPj1m3 https://explorer.blockstack.org/address/1MVA4QXRCfoM3QHQqLZWFaLeusKvqPj1m3 |
#!/bin/sh | |
sudo apt-get remove docker-compose | |
VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r) | |
DESTINATION=/usr/bin/docker-compose | |
sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION | |
sudo chmod +x $DESTINATION |
#!/bin/bash | |
SRC=$1 | |
DEST=$2 | |
SRC_GROUPS=$(id -Gn ${SRC} | sed "s/${SRC} //g" | sed "s/ ${SRC}//g" | sed "s/ /,/g") | |
SRC_SHELL=$(awk -F : -v name=${SRC} '(name == $1) { print $7 }' /etc/passwd) | |
useradd --groups ${SRC_GROUPS} --shell ${SRC_SHELL} --create-home ${DEST} | |
passwd ${DEST} |
#!/usr/bin/env bash | |
# Install docker CE on Ubuntu & derivatives | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce |
I hereby claim:
To claim this, I am signing this object: