1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:19:03 -08:00
Commit graph

409 commits

Author SHA1 Message Date
48e142be63 add feud for parsing command-line arguments 2024-07-05 05:11:07 -07:00
31c8e63e74 squeeze lines and avoid subshell 2024-07-04 21:29:24 -07:00
8b67b4f510 make curl better match wget behavior in grab 2024-07-04 21:26:18 -07:00
cc8dc10540 update byte count of golfed script
also, the old number was incorrect. it should've said 461 bytes.
2024-07-04 21:04:47 -07:00
c672f5c09a clean up function names, etc. (superficial) 2024-07-04 21:03:37 -07:00
41ce9f1663 print a newline between HTTP headers and response 2024-07-04 20:58:38 -07:00
b35b92bab2 stub out obtain and update PATH 2024-07-04 19:56:53 -07:00
44065e8571 make curl better match wget behavior in obtain 2024-07-04 19:56:09 -07:00
46220efc84 consolidate repo lines in obtain 2024-07-04 10:48:57 -07:00
b9f2ea6f0d add obtain script for bootstrapping HTTPS 2024-07-04 10:46:14 -07:00
4f6638ad6f support more netcats 2024-07-03 13:16:17 -07:00
697e68d039 Fix executable permissions 2024-07-03 12:34:40 -07:00
41787cb5a4 fix stdout in burl and remove debug print 2024-07-01 22:31:28 -07:00
1baf7f16b3 add clash for testing shells 2024-07-01 22:12:20 -07:00
835b871ec2 add burl for when curl is missing 2024-07-01 22:03:08 -07:00
c440f71526 add preliminary ASCII table utility 2024-06-12 17:37:23 -07:00
4b258dff4c reword a single comment 2024-06-12 17:32:12 -07:00
f2cb32bf2c rewrite ubuntu clang acquisition function 2024-06-12 17:31:33 -07:00
d5f3f14d72 merge compatibility lines
RIP meaningful last-modified dates
2024-03-26 15:08:14 -07:00
09fe2321f8 allow grab to use curl 2024-03-25 16:11:39 -07:00
3b3abe74d2 fix bug in grab and do the subshell dance 2024-03-25 15:34:59 -07:00
44b0272097 switch from ~/opt/local/bin to ~/.local/bin
this is where systemd already expects things to be,
so this complements the OS instead of fighting it.
2024-03-25 15:32:23 -07:00
bdd25226a8 do the private-or-subshell dance for maybesudo 2024-03-21 14:39:43 -07:00
b5c5ebfded invoke automamba from pippy if it exists (also affects pegg) (gross hack) 2024-03-21 14:11:34 -07:00
5954eaebfd remove sc because i never use it 2024-03-21 13:49:22 -07:00
6bd93ad322 move refresh into shrc 2024-03-21 13:46:03 -07:00
2e263527bb fix name in docs 2024-03-21 06:45:36 -07:00
1e9cd20e48 add oshi uploader akin to oxo script 2024-03-21 06:36:55 -07:00
927048ef33 handle http errors properly in oxo 2024-03-21 05:14:28 -07:00
5b80ef5ce1 fix url-encoding and improve performance in ea 2024-03-04 21:22:39 -08:00
aded59184c sometimes avoid unnecessary subshell in ea 2024-03-05 05:46:04 +01:00
e24d57c051 use ()-style cases in ea
vim likes these more
2024-03-05 05:42:04 +01:00
3b85437759 don't use local keyword in ea 2024-03-05 05:40:57 +01:00
7cd7fcac9f fix some longstanding issues with ea 2024-03-05 05:40:03 +01:00
adba547582 add grab script, copied verbatim from my site 2024-03-04 09:17:59 -08:00
767106dcb8 undocument streamcrap stuff
nobody needs to see this crap
2024-03-04 09:16:43 -08:00
195ed1f046 tweak exit codes of argc 2024-02-24 08:20:47 -08:00
996e69292a fix syntax error 2024-02-24 02:50:19 -08:00
50cc79647c add ea puts which signs files before uploading them 2024-02-23 22:33:17 -08:00
82a2f04042 fix error message in ea 2024-02-23 22:32:25 -08:00
c7603653b0 prefer || over test ... -o ... 2024-02-23 22:31:21 -08:00
f06ed0b0bb simplify code 2023-08-16 05:30:36 -07:00
8cd144f3ed fix xxp to not squeeze lines
that is a useful feature though, but not in this context
2023-07-06 02:23:28 -07:00
5ad06fcd63 mostly superficial tweaks 2023-06-16 03:30:43 +02:00
dce787f082 ok last time i swear 2022-10-13 02:30:53 +02:00
a28a8472a3 fix LOGNAME variable 2022-10-13 01:59:23 +02:00
160f6ece80 more maybesudo fixes 2022-10-13 01:56:34 +02:00
c4b191b305 general improvements to maybesudo 2022-10-12 22:58:25 +02:00
6084b27068 don't autoload witch in bash 2022-09-30 16:45:32 -07:00
6e5c315427 make join2 and unwrap their own scripts 2022-09-30 16:34:35 -07:00
3faa5e6d99 note compatibility for witch 2022-09-01 18:58:31 -07:00
608136840f fix executable permissions 2022-09-01 18:39:19 -07:00
227ec01a25 fix dumb typo 2022-09-01 18:36:57 -07:00
1d0667c52b make grop its own shell script 2022-09-01 18:28:14 -07:00
2c3ea77cf7 add grop4 utility for isolating IPv4s 2022-09-01 18:16:58 -07:00
84e8ae03ec add scount utility/shorthand 2022-09-01 18:01:09 -07:00
1bfe18c03f add Debian which but call it witch instead 2022-09-01 17:48:14 -07:00
07c2d3809c support cosmopolitan perl in shelly 2022-08-29 22:08:09 -07:00
ba2982b880 configure a proper dark-mode background for ghmd 2022-08-29 22:04:58 -07:00
5264b1a037 refine laptop audio compressor 2022-04-12 04:13:11 -07:00
ba45b4f10f more laptop speaker fudgery
this still sucks but i'm working on it
2022-04-12 12:28:20 +02:00
fb6fc670b4 restore ytdl-format flags that i forgot 2022-04-12 12:27:58 +02:00
2854cb6404 redo laptop EQ 2022-04-06 13:45:18 +02:00
ab1c9da4a6 fix typo 2022-03-18 04:26:30 -07:00
eaa94d66b9 localize iterator variables
see commit 7d895d2
2022-03-06 13:13:40 -08:00
90038bf996 allow numbers to end with a comma in the sum command
makes it easier to paste stuff into the terminal
2022-03-05 17:41:17 -08:00
7d895d20a7 work around a really obtuse zsh quirk with numeric types
i should do this for the rest of the loops in the other files too.
2022-03-05 17:39:44 -08:00
6dbd087670 add ytdl command to run whatever's available 2022-01-08 21:16:14 -08:00
032567cce0 move padding out of body so bg color applies correctly 2021-12-07 20:44:07 -08:00
5cda41a841 bypass ytdl-format checks for now (no longer an issue?) 2021-12-02 13:06:31 -08:00
803a77d27b add WHEE global alias for C++ flags 2021-12-02 13:06:05 -08:00
de2d15c869 tweak colors2; dedicate headers to background colors 2021-11-03 07:58:47 -07:00
d7089c2ff4 fix executable permissions 2021-10-30 20:52:58 +02:00
a0c83289e3 add shelly as a weird hack for invoking interactive shells 2021-10-29 16:06:44 +02:00
a2ae5a212d rename ~/.-shrc to ~/.shrc
the reason for the hyphen is that i was originally concerned
about random shells executing the file when i didn't want them to.
back then, i was only targetting zsh and bash, and therefore
`~/.-shrc` was not yet suitable for any other shells.
nowadays, `~/.-shrc` is has better shell compatibility,
and i'm not actually aware of any shells that would execute
`~/.shrc` by default -- `$ENV` is typically required to be set.
2021-10-29 15:44:31 +02:00
665ebfc9f7 use FAKE_COMPAT on document script 2021-10-29 15:03:02 +02:00
00064c6f89 ignore CVS directores in decently 2021-10-29 12:25:12 +02:00
a78187b435 add another script to dump colors in a different order 2021-10-22 18:27:21 +02:00
2fb9bbe24f add some scripts that act on shell variables
these are kinda experimental.
2021-10-22 18:25:33 +02:00
890254b5ba allow multiple arguments to dated 2021-10-18 17:50:01 -07:00
e5c8fea542 add dated util to handle epoch timestamps
because i'm lazy
2021-10-18 02:49:39 -07:00
0f03547548 mark preload as compatible with all 4 shells 2021-10-14 14:30:39 -07:00
447695ba19 add some notes to self 2021-10-14 14:10:18 -07:00
fb6e128a55 add some excessive youtube-dl checks
what a mess
2021-10-14 14:10:18 -07:00
51f4d241b2 ignore backup and completion files in few places 2021-10-14 14:10:02 -07:00
444c34f98e rename has to have; has is now silent
i'm not sure why i was overengineering this function so much,
but the code i deleted might still come in handy someday.
2021-10-14 13:58:55 -07:00
45501f7e73 document and attribute *archive utilities 2021-10-14 13:54:41 -07:00
e0c3005f50 mark a couple more tools for renaming 2021-10-13 23:52:25 -07:00
45d888d866 change argc interface (now $# comes first instead of $@) 2021-10-13 23:06:55 -07:00
e6e0283c20 don't return nonzero in morecolors 2021-10-13 21:22:56 -07:00
590b5618b2 fix executable permissions 2021-10-13 21:21:39 -07:00
3d11a57c4c remove docs for ytg functions (for now?) 2021-10-13 20:53:10 -07:00
899684f3ce properly ignore --ytdl-format and warn about it 2021-10-13 20:42:04 -07:00
2417352229 distinguish names from flags in has 2021-10-13 20:22:10 -07:00
e522d065bf support hyphens in command names passed to has 2021-10-13 19:58:52 -07:00
716d74ade2 prefer yt-dlp over youtube-dl and work around throttling 2021-10-12 20:25:03 -07:00
b2b6b9fa30 fix handling of root directory 2021-10-11 19:53:46 -07:00
06647c9d66 more work on fixing up e 2021-10-11 19:48:31 -07:00
d2c686123e rewrite e, fixing bugs and improving compatibility
this also adds a `running` command that isn't quite finished.
2021-10-11 15:12:59 -07:00
99fa691e1b exit early if dd fails 2021-10-09 09:08:28 -07:00