Commit Graph

490 Commits

Author SHA1 Message Date
Chris Lane
73dc4182a9 Merge pull request #139 from ImmortalPC/master
[Git:change] Add a command to show a file as it appeared at <commit id>.
2014-01-10 18:56:17 -08:00
ImmortalPC
e131dce6bb [Git:change] Add a command to show a file as it appeared at <commit id>. 2014-01-07 11:33:36 +01:00
Chris Lane
16c31c11fe Merge pull request #138 from fuzzgun/master
Added cheat sheet for irssi
2013-12-27 10:23:25 -08:00
Bob Mottram
1c081bd83c Added cheat sheet for irssi 2013-12-27 15:27:47 +00:00
Chris Lane
af0ec35ba4 Merge pull request #137 from ImmortalPC/master
(add) AsciiArt, (change) find
2013-12-26 14:09:23 -08:00
ImmortalPC
2acf73476c Merge remote-tracking branch 'upstream/master' 2013-12-25 20:09:33 +01:00
Chris Lane
e63e7b0e3c Merge pull request #136 from andrewjkerr/additional-cheatsheets
Added cheatsheets for markdown, ncat, and sqlmap.
2013-12-23 11:01:01 -08:00
Chris Lane
f3685c42fa Merge pull request #135 from Erethon/feature-cheatsheets-updates
Add some new examples
2013-12-23 10:59:42 -08:00
Andrew Kerr
c8f6b0abb1 Added cheatsheets for markdown, ncat, and sqlmap.
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.
2013-12-16 01:50:12 -05:00
ImmortalPC
90be14965b Add fun with ascii art 2013-12-10 10:19:49 +01:00
ImmortalPC
ccf3eddba0 [Change] Add "not this dir" into find examples 2013-12-05 17:24:29 +01:00
Erethon
7afb33aee4 Update and some new examples
* 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
2013-12-03 22:32:26 +02:00
Chris Lane
d8ff70dd57 Merge pull request #133 from Mic92/patch-4
add crontab examples
2013-12-01 10:00:55 -08:00
Chris Lane
01b1cddd04 Merge pull request #132 from amitsaha/lsof_enhancements
Enhancements to 'lsof' cheatsheet.
2013-12-01 10:00:15 -08:00
Chris Lane
ed4470e582 Merge pull request #134 from amitsaha/strace
Add cheatsheet for strace
2013-12-01 09:59:01 -08:00
Chris Lane
56cde2f6e5 Merge pull request #131 from lucaswerkmeister/patch-1
Add a gdb cheat sheet
2013-12-01 09:58:26 -08:00
Chris Lane
19505f5d7f Merge pull request #129 from ImmortalPC/master
Adding python (simple web server). Change netstat (deprecated).
2013-12-01 09:57:35 -08:00
Amit Saha
d7bc5507ba Add cheatsheet for strace 2013-11-27 11:47:40 +10:00
Jörg Thalheim
cfb9603439 crontab: fix typo in comment 2013-11-26 18:13:16 +01:00
Jörg Thalheim
ccc3c0b878 add crontab examples 2013-11-26 14:30:46 +01:00
Amit Saha
94a147ba77 Enhancements to 'lsof' cheatsheet. 2013-11-26 13:20:24 +10:00
Lucas Werkmeister
1f2ae23628 Add a gdb cheat sheet 2013-11-25 23:19:11 +01:00
ImmortalPC
c5ecad85fc [Change] GCC Add some samples 2013-11-25 20:20:12 +01:00
ImmortalPC
8a3cd5dff2 [Change] Add new example for wget 2013-11-25 20:07:32 +01:00
ImmortalPC
f42d28088c [Change] grep Add find in files 2013-11-25 13:44:30 +01:00
ImmortalPC
ad744eea9f [Python] Add basic SMTP server 2013-11-25 00:52:17 +01:00
ImmortalPC
663d72012d [Add] dd 2013-11-18 10:08:18 +01:00
ImmortalPC
6762bae866 Add warning on netstat: netstat is deprecated and add the new command. 2013-11-13 23:07:00 +01:00
ImmortalPC
3b48257b45 Correct description for python 2013-11-13 22:55:19 +01:00
ImmortalPC
a200fdd52d Correct description for python 2013-11-13 22:52:06 +01:00
ImmortalPC
ef644d42ec Add python 2013-11-13 22:48:32 +01:00
Chris Lane
d8c723681a Graceful failure on failed copy to DEFAULT_CHEAT_DIR
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.
2013-11-11 18:10:00 -05:00
Chris Lane
3234d21654 Fixing filename error in setup.py
I slightly borked a merge conflict a moment ago.
2013-11-11 17:48:06 -05:00
Chris Lane
6cae837a2f Merge branch 'master' of https://github.com/0rax/cheat into 0rax-master
* '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
2013-11-11 17:42:48 -05:00
Chris Lane
e2d10680db Trivial formatting changes on vim cheatsheet
Changed some tabs to spaces, etc.
2013-11-11 17:34:45 -05:00
Chris Lane
967fa0cedf Merge branch 'master' of https://github.com/7histle/cheat into 7histle-master
* 'master' of https://github.com/7histle/cheat:
  some new mov vim cmds
2013-11-11 17:33:49 -05:00
Chris Lane
b9c60a530a Merge pull request #117 from iamsudip/gitpatch2
Added cheats
2013-11-11 14:30:35 -08:00
Chris Lane
73a8b99110 Merge pull request #126 from Mic92/patch-3
wget: continue flag
2013-11-11 14:29:25 -08:00
Chris Lane
3b604d0baa Merge pull request #127 from Mic92/master
bash: extend switch case example
2013-11-11 14:28:30 -08:00
0rax
fc2bb05f7b change block generator not to held block is they are empty + minor pep8 refacto (pylint:8.85/10) 2013-11-07 11:23:51 +01:00
0rax
b264c19491 remove debug 2013-11-07 00:42:37 +01:00
0rax
4c5bd8efa5 indent block fail :x, no more triple output 2013-11-07 00:41:36 +01:00
0rax
69428a7279 Some minor modification (open inside the generator for better readability) + one bug fixe (the last block wasnt yiel by the generator) 2013-11-07 00:34:37 +01:00
0rax
d85fab763b 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)
2013-11-07 00:23:54 +01:00
0rax
b1212052f7 Added search function into cheat, used a grep like output, if needed it could be changed, discussion is open inside #128 issue 2013-11-06 00:36:49 +01:00
Jörg Thalheim
3b0535833b bash: extend switch case example 2013-11-03 20:26:56 +01:00
Jörg Thalheim
08f28b5468 wget: continue flag 2013-11-03 20:19:27 +01:00
Chris Lane
e81088d379 Merge pull request #120 from Mic92/patch-2
openssl: command to show certificate infos
2013-11-03 10:54:34 -08:00
Chris Lane
931ce7a579 Merge pull request #125 from fmunch/tail
Added tail cheatsheet
2013-11-03 10:52:26 -08:00
Chris Lane
e17fa47655 Merge pull request #119 from amitsaha/systemctl
systemctl cheat
2013-11-03 10:51:43 -08:00