* 'master' of github.com:chrisallenlane/cheat: (24 commits)
[APT-GET] Change <cat | grep> to grep [PACMAN] Change the AUR instructions
Make cheat working with python3 :)
[DD] Watch the progress of `dd` with `pv` and `zenity`
[APT−GET] Show apt-get installed packages
[DD] Add some tricks for dd
[APT-GET] Donwload deb withtou installing it
[NMAP] Speed up nmap scan
[NMAP] Correct a bug
[FIND] add a cheat to find all files that have the same node (hard link) as MY_FILE
[NMAP] Update nmap
[IPTABLES] Add some cheats for iptables
[SSH] add a cheat for ssh (encryption)
[IPTABLES,TCPDUMP] Add cheats for iptables and tcpdump
[XARGS] Add xargs example
- Cheatsheets added for a couple of my favourite commands: - rsync: file copy and backup multi-tool - indent: one liner to nicely format C/C++ source.
[PS,GREP] Exclude grep from your grepped output of ps.
Update wget
Update wget
Adding two invaluable commands to tmux cheatsheet
include commands to mirror locally
...
* Detaching an already attached tmux session - great for when you are moving from a phone for example to a laptop and want to utilise the whole real estate you have.
* Reloading the configuration file on the fly by using the colon menu
Some cheatsheets that I created for a project for CIS4930, Ethical
Hacking and Penetration Testing. On request of the professor, I will be
sending a pull request with these cheatsheets.
* Update a mistake in ifconfig
* Add example for a SOCKS proxy in ssh
* Add an example for mounting a NFS dir in mount
* Add a description for git blame
* Add some examples in grep
* Add example for specifing an interface in dhclient
* Add a description for apt-get install
* Add some commands in apt-cache
* Add an example of pretty printing jsons using python
Pull request #108 added the option to automatically copy an
otherwise-uneditable cheatsheet to your DEFAULT_CHEAT_DIR upon an edit
request. This is a minor tweak that implements some graceful failing if
the DEFAULT_CHEAT_DIR does not exist.
* 'master' of https://github.com/0rax/cheat:
change block generator not to held block is they are empty + minor pep8 refacto (pylint:8.85/10)
remove debug
indent block fail :x, no more triple output
Some minor modification (open inside the generator for better readability) + one bug fixe (the last block wasnt yiel by the generator)
Following #128 talk about how output should be made for search. Just changed the way on how the search function output the result, no more ala grep output. Cheatsheets are now parsed [by CheatSheets.__parse_cheat_command_block(self, cheat_fp)] into block (separated by newline), i have seen that all block in cheatsheets are delimited by a blank line, so instead of parsing from first consecutive # to last consecutive command, an output that is not used by all sheets (reference to "7z" cheatfile). And so the block are parsed by begin of the document to blanck line to end of the document. Finally the output is made by indenting the block content by 4 spaces + the title of the sheet on the top. This is a way to handle subcommands in my mind (search "git commit" and you now have all what you want)
Added search function into cheat, used a grep like output, if needed it could be changed, discussion is open inside #128 issue
fix edit autocomplete (just dont show description of -e/--edit option and i dont know why
Add hint to use sudo when creation fail of sheet.
In response to Issue #108: Added option to copy sheet while not editable.
Added autocompletion for fish shell
Conflicts:
setup.py
Cheatsheets are now parsed [by CheatSheets.__parse_cheat_command_block(self, cheat_fp)] into block (separated by newline), i have seen that all block in cheatsheets are delimited by a blank line, so instead of parsing from first consecutive # to last consecutive command, an output that is not used by all sheets (reference to "7z" cheatfile).
And so the block are parsed by begin of the document to blanck line to end of the document.
Finally the output is made by indenting the block content by 4 spaces + the title of the sheet on the top.
This is a way to handle subcommands in my mind (search "git commit" and you now have all what you want)