Commit Graph

533 Commits

Author SHA1 Message Date
Chris Lane d14c759a48 Merge pull request #210 from chrisallenlane/issue-180
Issue #180
2015-02-11 21:05:12 -05:00
Chris Lane c70dc002fa Issue #180
Now, whenever a cheatsheet is to be edited, if that cheatsheet does not
exist on the `DEFAULT_SHEET_PATH`, it is first copied there before being
opened for editing. This prevents system-wide cheatsheets from being
edited when using `cheat` as `root`.
2015-02-11 21:02:45 -05:00
Chris Lane ff8ba4e717 Merge pull request #209 from chrisallenlane/edit-after-copy
Resolves #207
2015-02-10 19:37:05 -05:00
Chris Lane 718ec4f685 Resolves #207
- Solves issue whereby global cheatsheets fail to save after editing

- `cheat` no longer asks a user if a global cheatsheet should be copied
  locally before editing, and instead just silently does so.
2015-02-10 19:35:14 -05:00
Chris Lane 3d8343a878 Version bump 2015-02-09 18:10:08 -05:00
Chris Lane a5352ad9e5 Trivial edits to uniq cheatsheet 2015-02-09 18:07:17 -05:00
Chris Lane f5ee3d5e29 Merge branch 'master' of https://github.com/shigemk2/cheat into shigemk2-master
* 'master' of https://github.com/shigemk2/cheat:
  Refer sort -u
  Fix dc option
  uniq: add examples
2015-02-09 18:06:20 -05:00
Chris Lane e64babc972 Trivial edits to cheatsheets. 2015-02-09 18:05:13 -05:00
Chris Lane cd465ef84f Merge branch 'master' of https://github.com/Aayush-Kasurde/cheat into Aayush-Kasurde-master
* 'master' of https://github.com/Aayush-Kasurde/cheat:
  Added perforce commands
  Added udisksctl
  Added Journalctl commands
  Added zoneadm commands
2015-02-09 18:03:28 -05:00
Chris Lane 96e26a38d4 Added newline to end of dnf file. 2015-02-09 18:01:40 -05:00
Chris Lane 998ed00424 Merge branch 'dnf' of https://github.com/amitsaha/cheat into amitsaha-dnf
* 'dnf' of https://github.com/amitsaha/cheat:
  Add cheatsheet for dnf
2015-02-09 18:00:38 -05:00
Chris Lane 1fd03d3305 Merge pull request #205 from thylong/dpkg
Add cheat for dpkg
2015-02-09 17:58:24 -05:00
Chris Lane 77cba58599 Merge pull request #203 from amitsaha/docker_update
docker: add 'docker exec'
2015-02-09 17:57:39 -05:00
Chris Lane c5a738a8b1 Merge pull request #199 from Mic92/patch-8
ip: better route example
2015-02-09 17:56:57 -05:00
Aayush Kasurde 250a265b25 Added perforce commands 2015-01-27 22:07:43 +05:30
Amit Saha c232721119 Add cheatsheet for dnf 2015-01-22 16:30:49 +10:00
Aayush Kasurde 55492c50ac Added udisksctl 2015-01-20 21:34:11 +05:30
Théotime Lévêque d9df28e3f2 Update dpkg 2015-01-20 12:22:47 +01:00
Theotime LEVEQUE 710c7bcf70 Add cheat for dpkg 2015-01-20 01:42:26 +01:00
Aayush Kasurde efba736aee Added Journalctl commands 2015-01-18 20:03:42 +05:30
Aayush Kasurde 95774db7c5 Added zoneadm commands 2015-01-14 21:12:23 +05:30
Amit Saha da63c5d27f docker: add 'docker exec' 2015-01-13 13:51:35 +10:00
shigemk2 2e1cda114a Refer sort -u 2015-01-12 21:29:35 +09:00
shigemk2 353fe48d60 Fix dc option 2015-01-12 21:17:55 +09:00
shigemk2 a96bd229a6 uniq: add examples 2015-01-10 00:28:18 +09:00
Chris Lane be2cb6e632 Version 2.1.3
- Added new cheatsheets
- Appended to `.gitignore`
2015-01-05 20:44:25 -05:00
Chris Lane 426b0aaa0d Merge pull request #197 from thylong/gzip
Add cheat for gzip
2015-01-05 20:39:35 -05:00
Chris Lane 9041c57d21 Merge pull request #200 from poliveira89/new_cheatsheets
New cheatsheets
2015-01-05 20:38:19 -05:00
thylong 1dd9d85509 Merge branch 'gzip' of github.com:thylong/cheat into gzip
Conflicts:
	cheat/cheatsheets/gzip
2015-01-04 13:24:52 +01:00
thylong 9506167af8 Add cheat for gzip 2015-01-04 13:23:47 +01:00
Jörg Thalheim 27482cbabd ip: better route example
Assigning a subnet is already covered in the example below. Setting a default route via a router is the most common use case of ip route IMHO.
2014-12-30 10:07:13 +01:00
Chris Lane 03bb651bf0 Version bump 2014-12-29 21:45:46 -05:00
Chris Lane c4a5ca3900 Merge pull request #198 from thylong/ssh_forward
Update cheat ssh
2014-12-29 21:37:39 -05:00
Chris Lane 03b587f538 Merge pull request #196 from Mic92/patch-7
ss
2014-12-29 21:36:59 -05:00
Chris Lane e4d7722476 Merge pull request #195 from Mic92/master
ping6
2014-12-29 21:36:18 -05:00
Chris Lane 3807aa5433 Merge pull request #194 from Mic92/patch-6
smbclient
2014-12-29 21:35:40 -05:00
thylong 956ce7fadd Update cheat ssh 2014-12-26 15:57:01 -05:00
thylong 57876ed0e7 Add cheat for gzip 2014-12-26 15:46:48 -05:00
Jörg Thalheim 58abb16ca1 ss 2014-12-24 21:42:16 +01:00
Jörg Thalheim 54e30022f0 ping6: fix typo 2014-12-24 18:08:56 +01:00
Jörg Thalheim c412cd0534 ping6 2014-12-24 12:15:03 +01:00
Jörg Thalheim 2d67038188 smbclient 2014-12-24 12:13:29 +01:00
Chris Lane 603bc360c0 Version bump 2014-12-09 20:58:15 -05:00
Chris Lane f772ef167e Merge pull request #190 from ImmortalPC/master
[NMAP] Change comment "300" => X
2014-12-09 20:39:29 -05:00
Chris Lane 2c2ab6a57f Merge pull request #191 from amitsaha/master
Add cheat for docker
2014-12-09 20:39:15 -05:00
poliveira89 61458933eb SSH cheatsheet updated: support for SSH tunnels between local host and remote host 2014-11-22 17:15:51 +00:00
poliveira89 6f579f9234 New cheatsheet added: support for Bower (frontend package manager) 2014-11-22 17:09:58 +00:00
Amit Saha 77429d9ccc Add cheat for docker 2014-10-23 14:48:25 +10:00
ImmortalPC 4ea583503b [NMAP] Change comment "300" => X 2014-10-20 19:31:31 +02:00
Chris Lane 7eb405dcf8 Merge pull request #189 from chrisallenlane/dev
Cherry-picking changes from #185
2014-10-19 11:46:27 -04:00