Install Docker
Downaload the makefile and execute the following command in the same directory
make
Downaload the makefile and execute the following command in the same directory
make
How to use the signature?
Features:
Use RSA encryption with 4096
bits
ssh-keygen -t rsa -b 4096 -C "my_email@mydomain.com" -f ~/.ssh/myserver.key -P ""
The command above will generate two files, the private key ~/.ssh/myserver.key
and the public key ~/.ssh/myserver.key.pub
.
# Configure variables | |
OPENSHIFT_PACKAGE=https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz | |
OPENSHIFT_HOSTNAME=openshift.xip.io | |
# Install Docker | |
sudo yum install docker -y | |
sudo usermod -aG docker ec2-user | |
# Add insecure registry to Docker |
gpg --full-generate-key;
Look for your Key ID in using the following command:
- Search and replace: :%s/foo/bar/g | |
- Delete text block: ma + d'a | |
- Macro: qd, <commands>, then q, apply with @d and @@ | |
- Write as sudo: :w !sudo tee % | |
- Increase/Decrease number: Ctl+A Ctl+X |
!# /bin/bash | |
# Replace string in all files in a directory (macOS) | |
grep -Rnl "include:" **/*.yml | xargs sed -i "" 's/include:/include_tasks:/g' |
#!/bin/bash | |
# Clone the old repo using the mirror option | |
git clone --mirror git@git.my-old-server.com:my-old-repo.git | |
# Enter the new clonned repo directory | |
cd my-old-repo.git | |
# Add the new remote repo | |
git remote add new_origin git@git.my-new-server.com:my-new-repo.git |
module.exports = { | |
config: { | |
fontSize: 14, | |
fontFamily: '"Fira Mono", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
cursorColor: 'cyan', | |
cursorShape: 'BEAM', | |
cursorBlink: false, | |
foregroundColor: '#ffffff', | |
backgroundColor: '#000000', | |
borderColor: '#000000', |
The following commands are rquiered to expoand a partition and resize the file system of an EBS volume. Those steps work in EBS volumes including root volumes and can be done while they are attached to a running instance (zero downtime)
df -H