781 Commits (master)
 

Author SHA1 Message Date
Igor Chubin 4bcc9d961a
Merge pull request #143 from chubin/len80
Fix comment length in all first-level cheat sheets
4 years ago
Igor Chubin 43e9eaf59f
Merge pull request #144 from raymondchen625/master
Add eval-all commands
4 years ago
Igor Chubin f2c40609a1
Update yq_v4 4 years ago
Raymond 5a9dbeab58 Add eval-all commands 4 years ago
Igor Chubin 0adbf03348 Fix comment length in all first-level cheat sheets
*  sheets/MegaCli
*  sheets/az
*  sheets/azure
*  sheets/blktrace
*  sheets/emacs
*  sheets/exim
*  sheets/go
*  sheets/ipython
*  sheets/jq
*  sheets/nmap
*  sheets/perl
*  sheets/psql
*  sheets/redis
*  sheets/sed
*  sheets/smartctl
*  sheets/solidity
*  sheets/yq_v4
4 years ago
Igor Chubin a4b941e5b8
Merge pull request #139 from chubin/len80
Fix comment line length
4 years ago
Igor Chubin b397565ed2
Merge pull request #141 from terminalforlife/master
Line Length Fixes & New Sheet Stuff
4 years ago
terminalforlife 08a6f38fe7 Add getpwent() example to perl 4 years ago
Igor Chubin 5ed465ab25
Merge pull request #142 from raymondchen625/master 4 years ago
Raymond 5daf8ac487 Add yq_v4 sheet for yq version 4 4 years ago
terminalforlife 52e621be4e Add 'mount' file + TMPFS example 4 years ago
terminalforlife 47e49afdbe Fix line length of Functions 4 years ago
Igor Chubin 62156f41b3
Merge pull request #140 from raymondchen625/master 4 years ago
Raymond 4fb06be49c Add yq sheet 4 years ago
Igor Chubin 6510bc7fb6 Fix comment line length 4 years ago
Igor Chubin 6bb1e0153c Fix comment line length 4 years ago
Igor Chubin dcea8d1745 Fix comment line length 4 years ago
Igor Chubin c4ca01581d
Merge pull request #138 from terminalforlife/master
Improve `lenchk` and Fix Some Line Lengths
4 years ago
terminalforlife a0c4be1552 Correct how less(1) is used, & catch more(1) bug
The `-r` flag isn't best here. Per the less(1) man page, it's best to
use `-R` to only display the ANSII color escape sequences.

It seems like more(1) doesn't support color escape sequences, or at
least not properly. The display is messed up when using more(1), so
I've just accounted for that. In this situation, just use the `-C`
flag(s).
4 years ago
terminalforlife bf73be6b35 Look instead for '# cheat.sh: ' on any line
This is in regards to a request by Chubin on #134.

I didn't use grep(1), because it wound up being a lot slower than my
method. Relying on tools like that isn't always the best choice, which
is why I often just write in pure-shell, and have done for a couple of
years now. There's a time and a place for those external tools, but I
feel this was not it.

Tested and worked well. I've actually seen no noteworthy slowdowns, -
despite pre-processing the files -- YMMV.
4 years ago
terminalforlife 49be860e84 Fix line length of dpkg-deb & add header stuff 4 years ago
terminalforlife dbae4e99c4 Fix line length of system_profiler 4 years ago
Igor Chubin e1324e278f
Merge pull request #137 from chubin/len80
Fix comment line length
4 years ago
Igor Chubin ee7879177a Fix comment line length 4 years ago
Igor Chubin e54de05828
Merge pull request #136 from chubin/len80 4 years ago
Igor Chubin c05a3214b0 Fix comment lenth in sheets/drutil 4 years ago
Igor Chubin 7330d636cc Fix comment lenth in sheets/rclone 4 years ago
Igor Chubin 2321ec7b43 Fix comment lenth in sheets/sysrq-trigger 4 years ago
Igor Chubin 827f498778
Merge pull request #135 from terminalforlife/master
Allow in-file disabling of lenchk (#134)
4 years ago
terminalforlife 2e8aee7eeb Fix line length of taste & tweak it slightly 4 years ago
terminalforlife a3f21c156d Fix line length of wacaw 4 years ago
terminalforlife 442e7e2f93 Fix line length of http 4 years ago
terminalforlife 1223da5389 Fix line length of doas & slightly tweak 4 years ago
terminalforlife dce972441d Fix line length of launchctl 4 years ago
terminalforlife 4225af3a91 Fix line length of systemd-sysvinit -- overhaul
To whomever wrote this originally: please check I didn't acidentally
order something in the wrong place. Awesome cheat sheet, by the way.

I did away with the table format as it just wasn't going to work
properly in keeping with the line length limit of 80.
4 years ago
terminalforlife eff4e22ee3 Fix line length of umask 4 years ago
terminalforlife c69c73059d Fix line length of xfs_repair 4 years ago
terminalforlife c42bd33f46 Fix line length of xm 4 years ago
terminalforlife 2c4bcb2b39 Fix line length of ObjectOrientation 4 years ago
terminalforlife 5970584c88 Fix line length of PatternMatching 4 years ago
terminalforlife 2ece746c3a Address recursion line length (slight reword) 4 years ago
terminalforlife aea321e9f0 Fix line length of types (tidied up table) 4 years ago
terminalforlife a461a0c912 Hush `cd`, just in-case we get noise 4 years ago
terminalforlife acebbe0d67 No longer need to be in 'tests' directory
Your BASH version is checked; if it's 3, you will have to ignore this
commit, unfortunately. To be fair, if you're on 3 (major), you have
more pressing matters. :P
4 years ago
terminalforlife 380b52688d Colorize by default, now that we're portable
This can still be disabled, though.
4 years ago
terminalforlife edf22b3dd9 Colorization is now portable, thanks to tput(1) 4 years ago
terminalforlife 9191dafe36 Add ability to ignore the special lenchk line 4 years ago
terminalforlife a5ac924841 Allow in-file disabling of lenchk (#134) 4 years ago
Igor Chubin 5b98860f73
Merge pull request #134 from terminalforlife/master 4 years ago
terminalforlife a7dbcd06d7 Handle user's own provided directories 4 years ago