Downaload the makefile and execute the following command in the same directory
make
How to use the signature?
Features:
# 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 |
- 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 "old_string" **/*.txt | xargs sed -i "" 's/old_string/new_string/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