mirror of
https://github.com/denisidoro/navi
synced 2024-11-21 19:13:07 +00:00
Minor cleanup in cheatsheets
This commit is contained in:
parent
6a1327ee11
commit
befb5ac696
9 changed files with 8 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
crontab -l
|
||||
|
||||
# Edit cron job
|
||||
crontab -e
|
||||
crontab -e
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -35,5 +35,3 @@ gpg --clearsign <filename>
|
|||
|
||||
# detach signature
|
||||
gpg --output <filename_sig> --detach-sig <filename>
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue