- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
# Oneliner that select best (by download speed) mirror based on mirrors.ubuntu.com for yours ip. | |
curl -s http://mirrors.ubuntu.com/mirrors.txt | xargs -n1 -I {} sh -c 'echo `curl -r 0-102400 -s -w %{speed_download} -o /dev/null {}/ls-lR.gz` {}' |sort -g -r |head -1| awk '{ print $2 }' |
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } | |
* * * * * * * { background-color: rgba(255,0,0,.2); } | |
* * * * * * * * { background-color: rgba(0,255,0,.2); } | |
* * * * * * * * * { background-color: rgba(0,0,255,.2); } |
docker run -it --rm -p 80:80 -p 443:443 -w /etc/nginx nginx:alpine --name temp_nginx /bin/sh | |
docker run --rm -p 3306:3306 -e MYSQL_DATABASE=temp_database -e MYSQL_ROOT_PASSWORD=secret --name temp_mariadb mariadb:latest | |
docker run --rm -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=secret --name temp_mongo mongo:latest | |
docker run -it --rm --name temp_node node:lts /bin/bash | |
docker run -it --rm --name temp_php henesyslab/php:latest /bin/bash | |
docker run -it --rm -v ${PWD}:/app -w /app --name temp_go golang:latest /bin/bash |
rsync -avh --progress --exclude-from "exclude-list.txt" /home/my_user /mnt/mounts/backups/ |
# Remove audio from video file | |
ffmpeg -i INPUT_FILE -c copy -an OUTPUT_FILE |
export default { | |
name: "", | |
components: {}, | |
mixins: [], | |
data () {}, | |
beforeCreate() {}, | |
created() {}, | |
beforeMount () {}, | |
mounted() {}, | |
computed: {}, |
# APT | |
alias dpki='sudo dpkg -i' | |
alias apti='sudo apt install -y' | |
alias update="sudo apt-get update ; sudo apt-get -y upgrade ; sudo apt-get -y dist-upgrade; aptclean" | |
alias aptclean="sudo apt-get -y autoremove ; sudo apt-get -y autoclean; sudo apt-get install -f ; sudo apt-get clean" | |
# Files & folders | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' |
<build>: Build related changes (eg: npm related/ adding external dependencies) | |
<chore>: A code change that external user won't see (eg: change to .gitignore) | |
<docs>: Documentation related changes | |
<feat>: Introduction of a new feature | |
<fix>: Resolve an issue directly linked to development (bugfixes) | |
<hotfix>: Resolve an issue directly linked to production (patches) | |
<test>: Add/Update test cases | |
<perf>: Add code that improves performance | |
<refact>: Update for code for maintainability (clean code) |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
microsoft/vscode#110286 (comment)
sudo nano /etc/locale.gen
and scroll down and remove #
in front the language which issudo locale-gen
that it ! it is solved