This file contains hidden or 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
openssl genrsa -out ${REQUEST_ID}.key 2048 | |
openssl req -new -key ${REQUEST_ID}.key -out ${REQUEST_ID}.csr -subj "/CN=${REQUEST_ID}/O=system:masters" | |
cat ${REQUEST_ID}.csr | base64 -w0 | |
openssl req -in ${REQUEST_ID}.csr -noout -text | |
cat << EOF > signing-request.yaml | |
apiVersion: certificates.k8s.io/v1beta1 | |
kind: CertificateSigningRequest | |
metadata: |
This file contains hidden or 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
##Ubuntu | |
sudo apt-get install terminator kupfer mysql-server-5.6 apache2 php5 php5-cli php5-mysqlnd php5-curl php5-imagick vim-gtk php5-xmlrpc php5-mcrypt php5-common subversion git php5-json build-essential indicator-multiload mlocate colordiff virtualbox virtualbox-dkms virtualbox-qt unity-tweak-tool netcat wireshark wireshark-qt ruby python python3 vlc gimp gimp-data gimp-plugin-registry gimp-data-extras wine cifs-utils nfs-common openjdk-8-jdk icedtea-plugin curl wget nodejs skype ncurses-term libsmbclient smbclient python-smbc | |
##Mint | |
sudo apt-get install build-essential cifs-utils colordiff curl dropbox gimp gimp-data gimp-data-extras gimp-plugin-registry git icedtea-plugin indicator-multiload kupfer libsmbclient mlocate mysql-server-5.6 ncurses-term netcat nfs-common nginx nodejs openjdk-7-jdk php5 php5-cli php5-common php5-curl php5-fpm php5-gd php5-imagick php5-json php5-mcrypt php5-memcache php5-mongo php5-mysqlnd php5-redis php5-sqlite php5-xdebug php5-xmlrpc python python-gpgme python-smbc pytho |
This file contains hidden or 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
# no seu bashrc | |
if [ ! -f ~/.bash-gitprompt.sh ]; then | |
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.bash-gitprompt.sh | |
fi | |
source ~/.bash-gitprompt.sh | |
PS1='\[\033]0;\u@\h:\W\007\]`if [ $? = 0 ]; then echo "\[\033[01;32m\]✔"; else echo "\[\033[01;31m\]✘"; fi` \[\033[01;37m\]\u@\h\[\033[01;34m\] \w\[\033[35m\]$(__git_ps1 " %s") \[\033[01;36m\]$\[\033[00m\] ' | |
# no do root |