Minor cleanup in cheatsheets

This commit is contained in:
Denis Isidoro 2019-10-14 13:54:09 -03:00
parent 6a1327ee11
commit befb5ac696
9 changed files with 8 additions and 12 deletions

View file

@ -24,4 +24,4 @@ $ device: adb devices --- --headers 1 --column 1
# Start emulator
"$ANDROID_HOME/tools/emulator" -avd <emulator> -netdelay none -netspeed full
$ emulator: "$ANDROID_HOME/tools/emulator" -list-avds
$ emulator: "$ANDROID_HOME/tools/emulator" -list-avds

View file

@ -21,4 +21,4 @@ gzip -d <gz_file>
$ path: ls
$ tar_file: ls *.tar
$ targz_file: ls *.tar.gz
$ gz_file: ls *.gz
$ gz_file: ls *.gz

View file

@ -4,4 +4,4 @@
crontab -l
# Edit cron job
crontab -e
crontab -e

View file

@ -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 <service_name> | less
docker-compose logs -f --tail 100 <service_name>
# Stops containers and removes containers, networks created by up
docker-compose down
docker-compose down

View file

@ -25,7 +25,6 @@ git remote rename <old_remote_name> <new_remote_name>
git remote remove <remote_name>
# Checkout to branch
# Change branch
git checkout <branch>
# Displays the current status of a git repository

View file

@ -35,5 +35,3 @@ gpg --clearsign <filename>
# detach signature
gpg --output <filename_sig> --detach-sig <filename>

View file

@ -23,7 +23,6 @@ npm install <package_name> -g
% nvm, node, js
# install a specified version of node
@ -36,4 +35,4 @@ nvm ls-remote
nvm use <version>
# set a node's version as default
nvm alias default <version>
nvm alias default <version>

View file

@ -14,5 +14,5 @@ curl -s "wttr.in/<location>" \
% qr code
# Create a QR code with the content
# Create a QR code with some content
echo <content> | curl -F-=\<- qrenco.de

View file

@ -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
| tail -n1