From befb5ac696d1314d3e0a5c2a1acdbca3b51fd350 Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 13:54:09 -0300 Subject: [PATCH] Minor cleanup in cheatsheets --- cheats/android.cheat | 2 +- cheats/compression.cheat | 2 +- cheats/crontab.cheat | 2 +- cheats/docker.cheat | 3 +-- cheats/git.cheat | 1 - cheats/gpg.cheat | 2 -- cheats/javascript.cheat | 3 +-- cheats/misc.cheat | 2 +- cheats/network.cheat | 3 ++- 9 files changed, 8 insertions(+), 12 deletions(-) diff --git a/cheats/android.cheat b/cheats/android.cheat index 71e5116..fbc02f1 100644 --- a/cheats/android.cheat +++ b/cheats/android.cheat @@ -24,4 +24,4 @@ $ device: adb devices --- --headers 1 --column 1 # Start emulator "$ANDROID_HOME/tools/emulator" -avd -netdelay none -netspeed full -$ emulator: "$ANDROID_HOME/tools/emulator" -list-avds \ No newline at end of file +$ emulator: "$ANDROID_HOME/tools/emulator" -list-avds diff --git a/cheats/compression.cheat b/cheats/compression.cheat index d5b9c6e..248d01b 100644 --- a/cheats/compression.cheat +++ b/cheats/compression.cheat @@ -21,4 +21,4 @@ gzip -d $ path: ls $ tar_file: ls *.tar $ targz_file: ls *.tar.gz -$ gz_file: ls *.gz \ No newline at end of file +$ gz_file: ls *.gz diff --git a/cheats/crontab.cheat b/cheats/crontab.cheat index 4598420..e7350b7 100644 --- a/cheats/crontab.cheat +++ b/cheats/crontab.cheat @@ -4,4 +4,4 @@ crontab -l # Edit cron job -crontab -e \ No newline at end of file +crontab -e diff --git a/cheats/docker.cheat b/cheats/docker.cheat index 2601a21..c0aa787 100644 --- a/cheats/docker.cheat +++ b/cheats/docker.cheat @@ -47,7 +47,6 @@ $ container_id: docker ps --- --headers 1 --column 1 - % docker-compose, container # Builds, (re)creates, starts, and attaches to containers for all services @@ -69,4 +68,4 @@ docker-compose logs --tail 100 | less docker-compose logs -f --tail 100 # Stops containers and removes containers, networks created by up -docker-compose down \ No newline at end of file +docker-compose down diff --git a/cheats/git.cheat b/cheats/git.cheat index 540e1bf..3708cc0 100644 --- a/cheats/git.cheat +++ b/cheats/git.cheat @@ -25,7 +25,6 @@ git remote rename git remote remove # Checkout to branch -# Change branch git checkout # Displays the current status of a git repository diff --git a/cheats/gpg.cheat b/cheats/gpg.cheat index a21fe59..fb88333 100644 --- a/cheats/gpg.cheat +++ b/cheats/gpg.cheat @@ -35,5 +35,3 @@ gpg --clearsign # detach signature gpg --output --detach-sig - - diff --git a/cheats/javascript.cheat b/cheats/javascript.cheat index 1b03ed6..34f3101 100644 --- a/cheats/javascript.cheat +++ b/cheats/javascript.cheat @@ -23,7 +23,6 @@ npm install -g - % nvm, node, js # install a specified version of node @@ -36,4 +35,4 @@ nvm ls-remote nvm use # set a node's version as default -nvm alias default \ No newline at end of file +nvm alias default diff --git a/cheats/misc.cheat b/cheats/misc.cheat index 10a0753..b756c83 100644 --- a/cheats/misc.cheat +++ b/cheats/misc.cheat @@ -14,5 +14,5 @@ curl -s "wttr.in/" \ % qr code -# Create a QR code with the content +# Create a QR code with some content echo | curl -F-=\<- qrenco.de \ No newline at end of file diff --git a/cheats/network.cheat b/cheats/network.cheat index 6918ef4..9300ccb 100644 --- a/cheats/network.cheat +++ b/cheats/network.cheat @@ -23,4 +23,5 @@ ifconfig \ | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' \ | grep -Eo '([0-9]*\.){3}[0-9]*' \ | grep -v '127.0.0.1' \ - | tail -n1 \ No newline at end of file + | tail -n1 + \ No newline at end of file