See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
docker container prune -f | |
docker volume prune -f | |
docker image prune -a -f | |
docker network prune -f | |
docker system prune -f |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
git config -e --global | |
[user] | |
email = [email protected] | |
name = Danilo | |
[pull] | |
rebase = true | |
[alias] | |
cleanup = "!git fetch -f && git branch | grep -v "dev" | grep -v "master" | xargs --no-run-if-empty git branch -D && git gc" |
#!/bin/bash | |
# Removes old revisions of snaps | |
# CLOSE ALL SNAPS BEFORE RUNNING THIS | |
set -eu | |
LANG=C snap list --all | awk '/disabled/{print $1, $3}' | | |
while read snapname revision; do | |
snap remove "$snapname" --revision="$revision" | |
done |
#!/bin/bash | |
# tested 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | |
# installing dkms and git | |
sudo apt update | |
sudo apt install -y dkms git | |
# cloning driver repository | |
mkdir ~/src | |
cd ~/src |
connection = Faraday::Connection.new('http://example.com') do |builder| | |
builder.request :url_encoded # for POST/PUT params | |
builder.adapter :net_http | |
end | |
# same as above, short form: | |
connection = Faraday.new 'http://example.com' | |
# GET | |
connection.get '/posts' |
wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb | |
sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb | |
# OR | |
wget -qO - https://apt.packages.shiftkey.dev/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/shiftkey-packages.gpg > /dev/null | |
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list' | |
sudo apt update && sudo apt install github-desktop |
#!/bin/sh | |
# Disable docker service autoload | |
sudo systemctl disable docker.service docker.socket | |
# Aliases to start or shutdown docker service | |
echo "alias docker_start='systemctl start docker.service'" | sudo tee -a ~/.bash_profile | |
echo "alias docker_stop='systemctl stop docker.service docker.socket'" | sudo tee -a ~/.bash_profile | |
source ~/.bash_profile |
#!/bin/sh | |
#Check the Drive Space Used by Cached Files | |
du -sh /var/cache/apt/archives | |
#Clean all the log file | |
#for logs in `find /var/log -type f`; do > $logs; done | |
logs=`find /var/log -type f` | |
for i in $logs |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.