From 07412e72edcd24bece8d4248fee523b8577f12cf Mon Sep 17 00:00:00 2001 From: hirosume Date: Tue, 24 Sep 2019 12:42:23 +0000 Subject: [PATCH 01/16] add git's submodule cheetsheet --- cheats/git.cheat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cheats/git.cheat b/cheats/git.cheat index 61933f8..70a205f 100644 --- a/cheats/git.cheat +++ b/cheats/git.cheat @@ -61,4 +61,19 @@ git rebase master -S -f # See all open pull requests of a user on Github url::open 'https://github.com/pulls?&q=author:+is:open+is:pr' +# Add a new module +git submodule add [] + +# Update module +git submodule update --init + +# Update module without init +git submodule update + +# Pull all submodules +git submodule foreach git pull origin master + +# Update all submodules +git submodule update --init --recursive + $ branch: git branch | awk '{print $NF}' From 830073cd422190bac8e3b6fd12f085edd3d8294a Mon Sep 17 00:00:00 2001 From: hirosume Date: Tue, 24 Sep 2019 12:59:32 +0000 Subject: [PATCH 02/16] add npm and nvm cheetsheet --- cheats/npm.cheat | 20 ++++++++++++++++++++ cheats/nvm.cheat | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 cheats/npm.cheat create mode 100644 cheats/nvm.cheat diff --git a/cheats/npm.cheat b/cheats/npm.cheat new file mode 100644 index 0000000..da3faa4 --- /dev/null +++ b/cheats/npm.cheat @@ -0,0 +1,20 @@ +# initial new package +npm init + +# initial immediately a new package +npm init -y + +# install all dependencies packages +npm install + +# install all dev dependencies packages +npm install --save-dev + +# install a specified package +npm install + +# install a specified dev package +npm install --save-dev + +# install globally a specified package +npm install -g diff --git a/cheats/nvm.cheat b/cheats/nvm.cheat new file mode 100644 index 0000000..e5e046d --- /dev/null +++ b/cheats/nvm.cheat @@ -0,0 +1,11 @@ +# install a specified version of node +nvm install + +# list available versions +nvm ls-remote + +# use installed node's version +nvm use + +# set a node's version as default +nvm alias default \ No newline at end of file From fe2fc173bfe612a91ea4fe5dfc83f28e0ab83b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C5=A9=20Ng=E1=BB=8Dc=20C=C6=B0=E1=BB=9Dng?= Date: Wed, 25 Sep 2019 00:08:16 +0000 Subject: [PATCH 03/16] fix npm cheat --- cheats/npm.cheat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cheats/npm.cheat b/cheats/npm.cheat index da3faa4..b44fde6 100644 --- a/cheats/npm.cheat +++ b/cheats/npm.cheat @@ -11,10 +11,10 @@ npm install npm install --save-dev # install a specified package -npm install +npm install # install a specified dev package -npm install --save-dev +npm install --save-dev # install globally a specified package -npm install -g +npm install -g From a74f5c4939c675a666210a8922d25a6944161167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C5=A9=20Ng=E1=BB=8Dc=20C=C6=B0=E1=BB=9Dng?= Date: Wed, 25 Sep 2019 00:40:08 +0000 Subject: [PATCH 04/16] add docker-compose's cheatsheet --- cheats/docker-compose.cheat | 20 ++++++++++++++++++++ cheats/docker.cheat | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 cheats/docker-compose.cheat diff --git a/cheats/docker-compose.cheat b/cheats/docker-compose.cheat new file mode 100644 index 0000000..4aee3f3 --- /dev/null +++ b/cheats/docker-compose.cheat @@ -0,0 +1,20 @@ +# Builds, (re)creates, starts, and attaches to containers for all services +docker-compose up + +# Builds, (re)creates, starts, and dettaches to containers for all services +docker-compose up -d + +# Builds, (re)creates, starts, and attaches to containers for a service +docker-compose up -d + +# Builds, (re)creates, starts, and dettaches to containers for a service +docker-compose up -d + +# Print the last lines of a service’s logs +docker-compose logs --tail 100 | less + +# Print the last lines of a service's logs and following its logs +docker-compose logs -f --tail 100 + +# Stops containers and removes containers, networks created by up +docker-compose down \ No newline at end of file diff --git a/cheats/docker.cheat b/cheats/docker.cheat index 098b3a5..66f76b4 100644 --- a/cheats/docker.cheat +++ b/cheats/docker.cheat @@ -36,5 +36,11 @@ docker exec -it bash # Print the last lines of a container’s logs docker logs --tail 100 | less +# Print the last lines of a container's logs and following its logs +docker logs --tail 100 -f + +# Create new network +docker network create + $ image_id: docker images --- --headers 1 --column 3 $ container_id: docker ps --- --headers 1 --column 1 \ No newline at end of file From cf9bff10a3a626e86f6412c9bb59db3b1de6c2c8 Mon Sep 17 00:00:00 2001 From: Jose Miguel Bataller Date: Fri, 11 Oct 2019 09:02:39 +0100 Subject: [PATCH 05/16] gpg cheat --- cheats/gpg.cheat | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cheats/gpg.cheat diff --git a/cheats/gpg.cheat b/cheats/gpg.cheat new file mode 100644 index 0000000..a313da5 --- /dev/null +++ b/cheats/gpg.cheat @@ -0,0 +1,39 @@ +% gpg + +# gpg version +gpg --version + +# gpg generate key +gpg --gen-key + +# list keys +gpg --list-keys + +# distribute public key to key server +gpg --keyserver hkp://pool.sks-keyservers.net --send-keys + +# export public key +gpg --output --export + +# import public key +gpg --import + +# encrypt document +gpg --output --encrypt --recipient + +# decrypt document +gpg --output --decrypt + +# make a signature +gpg --output --sign + +# verify signature +gpg --output --decrypt + +# clearsign documents +gpg --clearsign + +# detach signature +gpg --output --detach-sig + + From f278212132370aa0ac40158021ce0a52bbbc05e8 Mon Sep 17 00:00:00 2001 From: Thomas Friedel Date: Fri, 11 Oct 2019 20:31:35 +0200 Subject: [PATCH 06/16] navi fish plugin with ability to edit commandline --- navi.plugin.fish | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/navi.plugin.fish b/navi.plugin.fish index ffae787..ce2ad8b 100644 --- a/navi.plugin.fish +++ b/navi.plugin.fish @@ -1,21 +1,17 @@ -function navi-widget -d 'Call navi' - set -q NAVI_USE_FZF_ALL_INPUTS; or set -l NAVI_USE_FZF_ALL_INPUTS "true" - begin - navi --print | while read -l r; set result $result $r; end - - if [ -n "$result" ] - echo $result - - # Remove last token from commandline. - commandline -t "" +function navi_key_bindings + function navi-widget -d "Show cheat sheet" + set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40% + begin + set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m" + stty sane + env NAVI_USE_FZF_ALL_INPUTS=true navi --print query (commandline) | perl -pe 'chomp if eof' | read -lz result + and commandline -- $result end + commandline -f repaint end - # commandline -f repaint -end - -bind \cg navi-widget - -if bind -M insert > /dev/null 2>&1 - bind -M insert \cg navi-widget + bind \cg navi-widget + if bind -M insert > /dev/null 2>&1 + bind -M insert \cg navi-widget + end end From 1a6407d9ffea7281913db317c1be7ba3c23e44fd Mon Sep 17 00:00:00 2001 From: Alexandre Beaulieu Date: Sat, 12 Oct 2019 12:45:43 -0400 Subject: [PATCH 07/16] doc(#121): Clarify that oh-my-zsh does not add navi to PATH. --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 188d62c..f82d4f3 100644 --- a/README.md +++ b/README.md @@ -76,14 +76,28 @@ cd "$plugins_dir" git clone https://github.com/denisidoro/navi ``` -Then, add it to the oh-my-zsh plugin array: +Then, add it to the oh-my-zsh plugin array to automatically enable the zsh widget: ```sh plugins=(docker tmux fzf navi) ``` -Finally, you can use it as a [shell widget](#shell-widget). +Lastly, reload your `zshrc` or spawn a new terminal to load navi. Once this is done, you should be able to use it +as a [shell widget](#shell-widget) with no additional setup. + +> Please note that when installing as an oh-my-zsh plugin, `navi` will not be available as command. If you also want +> to be able to run the command, interactively, you will need to do one of the following: + +- Install it to /usr/bin/local (via `sudo make install`) +- Manually set your `PATH` so that navi can be found. + +You can manually update your path by adding a line like this in your `.zshrc`: + +```sh +export PATH=$PATH:"$ZSH_CUSTOM/plugins/navi" +``` + +And verify that it works by running `which navi` after reloading your configuration. -This method has the advantage of not requiring root to install and the disadvantage of not allowing you to invoke the script by calling `navi` (unless you add an alias to it or copy it to a folder in `$PATH`). Upgrading --------- From 653d30c580baac2b9a7caf277098437405cb8c83 Mon Sep 17 00:00:00 2001 From: Alexandre Beaulieu Date: Sat, 12 Oct 2019 13:00:37 -0400 Subject: [PATCH 08/16] doc: fixed typos. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f82d4f3..a7027a8 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,8 @@ plugins=(docker tmux fzf navi) Lastly, reload your `zshrc` or spawn a new terminal to load navi. Once this is done, you should be able to use it as a [shell widget](#shell-widget) with no additional setup. -> Please note that when installing as an oh-my-zsh plugin, `navi` will not be available as command. If you also want -> to be able to run the command, interactively, you will need to do one of the following: +> Please note that when installing as an oh-my-zsh plugin, `navi` will not be available as a command. If you also want +> to be able to run the command interactively, you will need to do one of the following: - Install it to /usr/bin/local (via `sudo make install`) - Manually set your `PATH` so that navi can be found. From 2425af162351f28ff442c9b1e29b187bdf4d9643 Mon Sep 17 00:00:00 2001 From: Jose Miguel Bataller Date: Mon, 14 Oct 2019 09:19:54 +0100 Subject: [PATCH 09/16] removed hardcoded public key server --- cheats/gpg.cheat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheats/gpg.cheat b/cheats/gpg.cheat index a313da5..15b15c4 100644 --- a/cheats/gpg.cheat +++ b/cheats/gpg.cheat @@ -10,7 +10,7 @@ gpg --gen-key gpg --list-keys # distribute public key to key server -gpg --keyserver hkp://pool.sks-keyservers.net --send-keys +gpg --keyserver --send-keys # export public key gpg --output --export From d21e44fc0b8aa61c7cdc5fe80b7297aaa34ce105 Mon Sep 17 00:00:00 2001 From: fengyuxx Date: Mon, 14 Oct 2019 20:06:22 +0800 Subject: [PATCH 10/16] Update kubernetes.cheat Add kubectl config get-contexts Add kubectl config current-context Add kubectl config use-context --- cheats/kubernetes.cheat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cheats/kubernetes.cheat b/cheats/kubernetes.cheat index ef14432..06e9c70 100644 --- a/cheats/kubernetes.cheat +++ b/cheats/kubernetes.cheat @@ -1,5 +1,14 @@ % kubernetes, k8s +# Print all contexts +kubectl config get-contexts + +# Print current context of kubeconfig +kubectl config current-context + +# Set context of kubeconfig +kubectl config use-context + # Print resource documentation kubectl explain From 56a70120b42396df7b0077a20aed1541515ea0d6 Mon Sep 17 00:00:00 2001 From: Jose Miguel Bataller Date: Mon, 14 Oct 2019 15:24:10 +0100 Subject: [PATCH 11/16] rename variable names to fix test --- cheats/gpg.cheat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cheats/gpg.cheat b/cheats/gpg.cheat index 15b15c4..a21fe59 100644 --- a/cheats/gpg.cheat +++ b/cheats/gpg.cheat @@ -10,30 +10,30 @@ gpg --gen-key gpg --list-keys # distribute public key to key server -gpg --keyserver --send-keys +gpg --keyserver --send-keys # export public key -gpg --output --export +gpg --output --export # import public key -gpg --import +gpg --import # encrypt document -gpg --output --encrypt --recipient +gpg --output --encrypt --recipient # decrypt document -gpg --output --decrypt +gpg --output --decrypt # make a signature -gpg --output --sign +gpg --output --sign # verify signature -gpg --output --decrypt +gpg --output --decrypt # clearsign documents gpg --clearsign # detach signature -gpg --output --detach-sig +gpg --output --detach-sig From cf090d546c51713880e558b802aee3ab11aaa9cc Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 13:44:52 -0300 Subject: [PATCH 12/16] Add instructions for fish widget --- README.md | 3 +++ navi.plugin.fish | 26 +++++++++++--------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a7027a8..d33b2c5 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,9 @@ source "$(navi widget bash)" # zsh source "$(navi widget zsh)" + +# fish +source (navi widget fish) ``` By default, `Ctrl+G` is assigned to launching **navi**. If you want to change the keybinding, replace the argument of `bind` or `bindkey` in [the widget file](https://github.com/denisidoro/navi/search?q=filename%3Anavi.plugin.*&unscoped_q=filename%3Anavi.plugin.*). diff --git a/navi.plugin.fish b/navi.plugin.fish index ce2ad8b..ddb6079 100644 --- a/navi.plugin.fish +++ b/navi.plugin.fish @@ -1,17 +1,13 @@ -function navi_key_bindings - function navi-widget -d "Show cheat sheet" - set -q FZF_TMUX_HEIGHT; or set FZF_TMUX_HEIGHT 40% - begin - set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m" - stty sane - env NAVI_USE_FZF_ALL_INPUTS=true navi --print query (commandline) | perl -pe 'chomp if eof' | read -lz result - and commandline -- $result - end - commandline -f repaint - end - - bind \cg navi-widget - if bind -M insert > /dev/null 2>&1 - bind -M insert \cg navi-widget +function navi-widget -d "Show cheat sheets" + begin + stty sane + env NAVI_USE_FZF_ALL_INPUTS=true navi --print query (commandline) | perl -pe 'chomp if eof' | read -lz result + and commandline -- $result end + commandline -f repaint +end + +bind \cg navi-widget +if bind -M insert > /dev/null 2>&1 + bind -M insert \cg navi-widget end From e6486d6b26723ad430e6eefcfda9cc1855afd44e Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 13:51:58 -0300 Subject: [PATCH 13/16] Fix some cheatsheets --- cheats/docker-compose.cheat | 20 ------------------ cheats/docker.cheat | 28 +++++++++++++++++++++++++- cheats/git.cheat | 2 +- cheats/{npm.cheat => javascript.cheat} | 19 +++++++++++++++++ cheats/nvm.cheat | 11 ---------- 5 files changed, 47 insertions(+), 33 deletions(-) delete mode 100644 cheats/docker-compose.cheat rename cheats/{npm.cheat => javascript.cheat} (61%) delete mode 100644 cheats/nvm.cheat diff --git a/cheats/docker-compose.cheat b/cheats/docker-compose.cheat deleted file mode 100644 index 4aee3f3..0000000 --- a/cheats/docker-compose.cheat +++ /dev/null @@ -1,20 +0,0 @@ -# Builds, (re)creates, starts, and attaches to containers for all services -docker-compose up - -# Builds, (re)creates, starts, and dettaches to containers for all services -docker-compose up -d - -# Builds, (re)creates, starts, and attaches to containers for a service -docker-compose up -d - -# Builds, (re)creates, starts, and dettaches to containers for a service -docker-compose up -d - -# Print the last lines of a service’s logs -docker-compose logs --tail 100 | less - -# Print the last lines of a service's logs and following its logs -docker-compose logs -f --tail 100 - -# Stops containers and removes containers, networks created by up -docker-compose down \ No newline at end of file diff --git a/cheats/docker.cheat b/cheats/docker.cheat index 66f76b4..2601a21 100644 --- a/cheats/docker.cheat +++ b/cheats/docker.cheat @@ -43,4 +43,30 @@ docker logs --tail 100 -f docker network create $ image_id: docker images --- --headers 1 --column 3 -$ container_id: docker ps --- --headers 1 --column 1 \ No newline at end of file +$ container_id: docker ps --- --headers 1 --column 1 + + + + +% docker-compose, container + +# Builds, (re)creates, starts, and attaches to containers for all services +docker-compose up + +# Builds, (re)creates, starts, and dettaches to containers for all services +docker-compose up -d + +# Builds, (re)creates, starts, and attaches to containers for a service +docker-compose up -d + +# Builds, (re)creates, starts, and dettaches to containers for a service +docker-compose up -d + +# Print the last lines of a service’s logs +docker-compose logs --tail 100 | less + +# Print the last lines of a service's logs and following its logs +docker-compose logs -f --tail 100 + +# Stops containers and removes containers, networks created by up +docker-compose down \ No newline at end of file diff --git a/cheats/git.cheat b/cheats/git.cheat index 557d976..540e1bf 100644 --- a/cheats/git.cheat +++ b/cheats/git.cheat @@ -81,7 +81,7 @@ git fetch origin pull//head:pr/ \ && git checkout pr/ # Add a new module -git submodule add [] +git submodule add # Update module git submodule update --init diff --git a/cheats/npm.cheat b/cheats/javascript.cheat similarity index 61% rename from cheats/npm.cheat rename to cheats/javascript.cheat index b44fde6..1b03ed6 100644 --- a/cheats/npm.cheat +++ b/cheats/javascript.cheat @@ -1,3 +1,5 @@ +% npm, node, js + # initial new package npm init @@ -18,3 +20,20 @@ npm install --save-dev # install globally a specified package npm install -g + + + + +% nvm, node, js + +# install a specified version of node +nvm install + +# list available versions +nvm ls-remote + +# use installed node's version +nvm use + +# set a node's version as default +nvm alias default \ No newline at end of file diff --git a/cheats/nvm.cheat b/cheats/nvm.cheat deleted file mode 100644 index e5e046d..0000000 --- a/cheats/nvm.cheat +++ /dev/null @@ -1,11 +0,0 @@ -# install a specified version of node -nvm install - -# list available versions -nvm ls-remote - -# use installed node's version -nvm use - -# set a node's version as default -nvm alias default \ No newline at end of file From 6a1327ee111da653cfffc9b3ab70bb3e4948f740 Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 13:52:19 -0300 Subject: [PATCH 14/16] Bump to 0.14.0 --- navi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navi b/navi index 24e06b4..a3e9510 100755 --- a/navi +++ b/navi @@ -37,7 +37,7 @@ source "${NAVI_HOME}/src/main.sh" ##? full docs ##? Please refer to the README at https://github.com/denisidoro/navi -VERSION="0.13.0" +VERSION="0.14.0" NAVI_ENV="${NAVI_ENV:-prod}" opts::eval "$@" From befb5ac696d1314d3e0a5c2a1acdbca3b51fd350 Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 13:54:09 -0300 Subject: [PATCH 15/16] 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 From fcd486e16bf26f338be64765b6ff5ee750a68edd Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Mon, 14 Oct 2019 15:42:06 -0300 Subject: [PATCH 16/16] :nail_care: --- cheats/network.cheat | 1 - 1 file changed, 1 deletion(-) diff --git a/cheats/network.cheat b/cheats/network.cheat index 9300ccb..2d69ba3 100644 --- a/cheats/network.cheat +++ b/cheats/network.cheat @@ -24,4 +24,3 @@ ifconfig \ | grep -Eo '([0-9]*\.){3}[0-9]*' \ | grep -v '127.0.0.1' \ | tail -n1 - \ No newline at end of file