1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00
Commit Graph

325 Commits

Author SHA1 Message Date
Connor Olding 549f0b3a00 fix nasty bugs in bak 2021-08-01 08:04:17 -07:00
Connor Olding 19e12cee88 document backup functions 2021-08-01 07:58:21 -07:00
Connor Olding 6cacda28df add an example for aur 2021-08-01 07:41:00 -07:00
Connor Olding 5d57d6daf4 document argc 2021-08-01 07:36:53 -07:00
Connor Olding d47c10c0ca document arithmetic utilities 2021-08-01 07:33:28 -07:00
Connor Olding c7ce0464cf document sv 2021-08-01 07:20:03 -07:00
Connor Olding 0b05eaa4b5 document sum 2021-08-01 07:10:40 -07:00
Connor Olding d0474bf735 leave plain docstring whitespace mostly intact 2021-08-01 02:13:40 -07:00
Connor Olding 35a03b364f add regenerate script 2021-08-01 00:37:12 -07:00
Connor Olding 32adb96aee rewrite argc with a new interface 2021-07-31 23:32:43 -07:00
Connor Olding 8f3455f684 add simple argc-checking utility
this will be replaced in the next commit
because i just thought of a better interface.
2021-07-31 22:49:51 -07:00
Connor Olding e46e3769d1 add argc-checking and don't rely on shell expansion 2021-07-31 21:46:41 -07:00
Connor Olding 51e0ddc46f use single brackets and stuff here too 2021-07-31 21:27:31 -07:00
Connor Olding 20a25d7e37 remove some flags in preference of using mpv.conf 2021-07-31 21:16:22 -07:00
Connor Olding 7402cee176 support self-documentation 2021-07-31 16:50:21 -07:00
Connor Olding 1cc9a75b29 add comments and dummy docstrings 2021-07-31 16:15:27 -07:00
Connor Olding 1941e3253d improve ash compatiblity
surprisingly, [:space:] isn't supported, so just use plain spaces.
2021-07-31 16:10:25 -07:00
Connor Olding 9a3b92357b use fancier document syntax here too 2021-07-30 19:47:43 -07:00
Connor Olding f73c003e13 write more comments for document 2021-07-30 19:44:19 -07:00
Connor Olding 0439a5a4e8 add empty docstrings for most of the remaining functions 2021-07-30 19:41:16 -07:00
Connor Olding 71de686ee9 fix links 2021-07-30 18:08:59 -07:00
Connor Olding fd83d41ab2 add and restore some docstrings 2021-07-30 17:58:07 -07:00
Connor Olding 691b8251df add documentation tool (no docstrings yet) 2021-07-30 16:38:54 -07:00
Connor Olding adc53a5b68 remove redundant default 2021-07-30 16:31:21 -07:00
Connor Olding aed65ec04f add argument checking to colors 2021-07-30 12:36:50 -07:00
Connor Olding 936bb919ed add ghmd command: github markdown
via leah
2021-07-30 11:51:31 -07:00
Connor Olding 56a5724160 use in-place arithmetic where applicable 2021-07-29 10:40:15 -07:00
Connor Olding 1c562ad0f9 automatically source compatible scripts in bash 2021-07-29 07:26:45 -07:00
Connor Olding 04e890db1b first pass over sh: improve compatibility, fix stuff 2021-07-29 05:57:32 -07:00
Connor Olding 5eaf74401e overhaul 2021-07-29 00:37:35 -07:00
Connor Olding 4adbbb0e27 a bunch of minor stuff before i start refactoring 2021-07-22 00:30:05 +02:00
Connor Olding e9ae474941 remove lsz 2021-01-08 16:49:10 +01:00
Connor Olding d35c492850 NixOS compatibility
* use /usr/bin/env for all hashbangs
* enable hashall for bash
* workaround syntax error in -shrc for bash
2020-12-29 18:04:04 +01:00
Connor Olding f6be7c50c4 disable these includes i rarely use 2020-08-26 08:38:14 +02:00
Connor Olding 9273a8b2ad update clang 2020-06-25 08:19:56 -07:00
Connor Olding 7582a84356 enable more optimizations in release flags 2019-07-27 08:02:19 -07:00
Connor Olding d100b43f69 fix bugs in noccom 2019-07-27 08:01:48 -07:00
Connor Olding d18e4a5f91 add comment-stripper and line-joiner for C 2019-07-12 08:37:18 -07:00
Connor Olding 3d61c2eee4 fix dumb bug 2019-06-09 05:07:20 -07:00
Connor Olding 629d4ff642 small tweaks 2019-06-05 20:29:35 -07:00
Connor Olding 74bde1eea1 overhaul e script 2019-06-05 20:14:29 -07:00
Connor Olding dd72962588 add countdiff util for counting lines that differ 2019-06-05 12:38:12 -07:00
Connor Olding 03f4ae25fc patch small security concern 2019-05-30 01:21:28 -07:00
Connor Olding d0c2f05dba add fasd 2019-05-30 01:20:58 -07:00
Connor Olding 5dae65b50b update archive scripts from prezto 2019-05-27 11:20:00 -07:00
Connor Olding 4a1d4cd289 add slit variant for tab-delimited inputs 2019-05-27 10:56:46 -07:00
Connor Olding 801d9b0c1c i totally forgot to commit the rs script 2019-05-27 10:54:29 -07:00
Connor Olding 4889b793af use UTC for now
i don't like this, but it's my best option to make things mostly monotonic.
2019-05-27 11:46:16 +02:00
Connor Olding e4eb191e15 default to gcc 2019-05-27 11:39:45 +02:00
Connor Olding a48c026a31 use CPPFLAGS with the preprocessor
d'oh
2019-05-27 11:23:58 +02:00
Connor Olding 65df371822 remove broken mkgist command 2019-05-27 11:21:57 +02:00
Connor Olding 8b33c9164c remove ancient submodules 2019-05-27 11:21:15 +02:00
Connor Olding d71e77e548 fix some annoying quirks with compilation flags 2019-05-26 20:53:44 +02:00
Connor Olding a083f210b2 fix bug with parent directories in compile script 2019-05-21 10:33:39 +02:00
Connor Olding c7f26c3120 support newer versions of MSVC
also fix cygwin path-handling
2019-04-29 20:49:18 +02:00
Connor Olding 0db9e3719f minor tweaks 2019-03-03 19:56:19 +01:00
Connor Olding 2a2ce28dd0 compile script improvements
* append clang_flags individually instead of becoming one amalgamate argument
 * squeeze MSVC includes
 * ignore worthless MSVC deprecation warnings
 * always color output
2018-09-14 17:34:11 +02:00
Connor Olding 5d3df0ed66 remove ancient cross-compile scripts 2018-07-29 03:18:27 +02:00
Connor Olding b282b86724 remove lol-twitter 2018-02-21 10:51:50 +01:00
Connor Olding a35f853942 remove logs command 2018-02-21 10:47:01 +01:00
Connor Olding 4b696cd777 update llvm toolchain setup to 6.0 2018-02-20 11:59:11 +01:00
Connor Olding be00b8d30a improve colors of similar 2018-02-20 11:55:45 +01:00
Connor Olding 8854416139 gcc doesn't like -mcpu so i just can't win 2017-11-13 21:17:28 +00:00
Connor Olding 15fda1d96a clang doesn't like this so use -mcpu instead 2017-11-07 22:40:29 +00:00
Connor Olding ec9557fc5c +x and fix first invocation of autosync 2017-11-04 14:26:37 +00:00
Connor Olding e76bdf9a32 add autosync util 2017-11-04 13:25:51 +00:00
Connor Olding f1c3609ec1 tweak C flags so stuff works properly 2017-11-02 15:14:08 +00:00
Connor Olding dc3d721492 update llvm version in script 2017-10-17 02:18:02 +00:00
Connor Olding 243675185f fix maybe_include invocations 2017-10-13 12:26:48 +00:00
Connor Olding 0d37a2bd61 experimenting with more warnings 2017-10-05 12:08:08 +00:00
Connor Olding 9a1dc4d488 add comments to compile
i know you're not supposed to comment *what* you're doing
but
this is bash/zsh
it can't be helped
2017-10-05 10:12:44 +00:00
Connor Olding 1c0c963dde add disf for disassembling single functions 2017-10-02 04:17:32 +00:00
Connor Olding 702a3e9717 add remaining space column to dfu 2017-05-19 18:04:09 -07:00
Connor Olding 803ffd926d specify which warnings we're disabling 2017-05-17 21:27:29 +00:00
Connor Olding 8243f9be77 fix quirks with specifying msvc 2017-05-17 21:26:57 +00:00
Connor Olding 79366bed63 use MSVC includes with clang-msvc 2017-05-17 21:12:21 +00:00
Connor Olding b63f1ba653 do debug builds by default 2017-05-17 20:27:17 +00:00
Connor Olding 341b7613cc further cleanup 2017-05-17 20:21:25 +00:00
Connor Olding 719ff3374b clean up separator-printing code 2017-05-17 20:11:23 +00:00
Connor Olding fba7104526 use the right linker with clang-msvc 2017-05-10 04:51:59 +00:00
Connor Olding 72b0136367 disable a couple flags for any clang 2017-05-05 01:46:08 +00:00
Connor Olding d6cb7ea4dc failed globbing is not (always) an error 2017-05-05 01:37:01 +00:00
Connor Olding 4065a72d4a cleanup and tweaks 2017-05-05 01:32:57 +00:00
Connor Olding f2a34d9b16 add ad-hoc MSVC support 2017-05-04 15:29:39 +00:00
Connor Olding 57c483ec48 don't use tcmalloc with asan 2017-05-03 08:45:38 +00:00
Connor Olding 37583090f4 omit warning flags from echo 2017-05-03 08:01:48 +00:00
Connor Olding 94b32e0a26 echo compiler invocation to stdout instead 2017-04-27 23:17:30 +00:00
Connor Olding 722624035c add transparency padding thing for twitter 2017-04-02 10:54:00 +00:00
Connor Olding 787cf81258 clean up tcmalloc stuff 2017-04-02 03:47:27 -07:00
Connor Olding 60373d2384 better handle library flags and windows-only stuff 2017-04-02 03:37:49 -07:00
Connor Olding 64dddf592b compile script tweaks for windows 2017-04-02 02:17:40 +00:00
Connor Olding 50feb42b6a use ansi escapes on windows and fix dumb bug 2017-04-01 22:27:53 +00:00
Connor Olding 4e7caf55ae add a basic hardened mode 2017-03-31 03:49:47 +00:00
Connor Olding c259cbca35 compute priority from version number 2017-03-31 02:46:30 +00:00
Connor Olding 4aa46a5b06 further improvements & ubuntu clang setup script 2017-03-31 02:11:05 +00:00
Connor Olding b47e9ec455 improve compile script 2017-03-31 01:09:26 +00:00
Connor Olding ec7a8dd771 allow aur without sudo on windows 2017-03-16 13:22:12 +00:00
Connor Olding edf8d46685 get around to doing stuff 2017-03-04 23:12:45 -08:00
Connor Olding 7caa55f2bc add http file stuff; update sc accordingly 2017-03-03 07:36:33 +00:00
Connor Olding ac9bc094b2 check for include dirs and args and stuff 2016-10-19 04:31:33 -07:00
Connor Olding 94851854dc add a dumb compile script with my usual settings 2016-10-18 01:22:46 -07:00
Connor Olding ec610f804d fix(?) minutemaid example 2016-06-27 06:02:46 -07:00
Connor Olding 4998ceb913 add mips compiler to mw 2016-06-05 13:31:11 -07:00
Connor Olding b60627e169 fix permissions 2016-04-10 07:09:07 -07:00
Connor Olding 30421c2375 ad-hoc fix for spaces in PIDs 2016-04-08 12:01:54 -07:00
Connor Olding d78726b195 add hex util: arith but base 16 2016-04-06 09:47:53 -07:00
Connor Olding cccc73924c update scropt 2016-03-12 07:04:43 -08:00
Connor Olding b8bf889f69 fixes i guess 2016-02-24 14:10:31 -08:00
Connor Olding 0aaf8ead84 don't screen if unscreen failed 2016-01-05 05:38:34 -08:00
Connor Olding a02e122633 i have https now 2015-12-13 13:28:15 -08:00
Connor Olding 91ccf02d77 set up clang cross compiling 2015-12-13 10:22:18 -08:00
Connor Olding d268b63f21 "now" script for screenshot filenames 2015-12-12 06:39:45 -08:00
Connor Olding ca62d43d88 better error handling 2015-12-12 06:39:30 -08:00
Connor Olding 372bcfc971 Merge branch 'master' of github.com:notwa/rc 2015-12-11 01:07:36 -08:00
Connor Olding e4a1769dfc cygwin crap 2015-12-11 01:06:01 -08:00
Connor Olding 84b70ffc02 add screen handling crap 2015-12-06 12:35:57 -08:00
Connor Olding 8554a0bd28 update aur script 2015-12-01 20:32:35 -08:00
Connor Olding ce01b30b63 +x 2015-11-28 17:15:07 -08:00
Connor Olding 5b0a96372b add n64 sram filetype converter 2015-11-28 15:03:30 -08:00
Connor Olding 0b1763aa0b clarify default 2015-05-23 01:16:56 -07:00
Connor Olding 8a5020d365 laptop crap 2015-05-20 20:34:03 -07:00
Connor Olding dbff418317 why am i doing this 2015-04-13 22:29:12 -07:00
Connor Olding 4dc81b47e6 compander has the worst arguments 2015-04-13 18:09:11 -07:00
Connor Olding 56515803bd more laptop stuff 2015-04-13 18:03:56 -07:00
Connor Olding 2a44dac717 smart copy script ported to bash 2015-04-01 22:31:44 -07:00
Connor Olding 4d1fb72141 the further usual 2015-03-07 07:57:26 -08:00
Connor Olding 4c14e1864f the usual 2015-03-06 07:14:33 -08:00
Connor Olding 137a8d4071 i'm sorry 2015-03-06 07:13:02 -08:00
Connor Olding 0a60142dc4 off by one 2015-03-05 08:55:59 -08:00
Connor Olding 0a1eba304a features 2015-03-05 07:15:09 -08:00
Connor Olding 44af125b70 minutemaid 2015-03-05 06:49:03 -08:00
Connor Olding 9e393f020b stuff 2014-11-12 20:37:04 -08:00
Connor Olding 1a563cbd5f more lsz crap 2014-11-03 10:39:24 -08:00
Connor Olding 202aeb8588 more lsz updates 2014-11-02 21:36:44 -08:00
Connor Olding 6dd9dd07ba much needed update to lsz 2014-10-30 08:58:19 -07:00
Connor Olding 3b2bfcdf9c my local repo got corrupted so thank god for remote 2014-10-29 04:32:38 -07:00
Connor Olding 9b4af2a231 stuff 2014-09-07 20:55:42 -07:00
Connor Olding 9fd6fbf112 other crap 2014-06-02 06:55:27 -07:00
Connor Olding b1db406cd8 update meow.sh 2014-03-30 23:47:07 -07:00
Connor Olding 2f61de746d update submodules, remove old ones 2014-03-13 10:36:48 -07:00
Connor Olding cebcccb2aa monitor: make interval a switch and allow args 2014-03-13 10:23:22 -07:00
Connor Olding 0942885beb fix lol-twitter 2014-03-13 10:16:54 -07:00
Connor Olding 52596fb80f mkgist 2014-03-06 22:32:05 -08:00
Connor Olding 91effd3c16 setting up for new ARM computer 2014-02-24 16:29:48 -08:00
Connor Olding 3f7eaa11ec awk script to print a single value for each key 2014-02-23 14:07:43 -08:00
Connor Olding 10ab5e251f slight build tweaks 2014-01-14 09:17:22 -08:00
Connor Olding 5904072f41 add arm support to mw script, sepples flags 2013-12-22 15:00:43 -08:00
Connor Olding 427f565811 whatever 2013-11-15 13:48:43 -08:00
Connor Olding 1133908b53 cleanup and permissions 2013-11-12 21:47:09 -08:00
Connor Olding 14e33189f3 the most subtle of bugs… 2013-11-11 15:11:22 -08:00
Connor Olding 10afbf7fef utility to dump C defines 2013-11-10 12:18:15 -08:00
Connor Olding a29620e69c more dicking around with mingw flags 2013-11-10 12:17:42 -08:00
Connor Olding 748e82ff66 mw functionality changes (32bit option) 2013-11-06 05:03:38 -08:00
Connor Olding 8625671b81 wait nevermind that wasn't the issue 2013-11-06 01:28:52 -08:00
Connor Olding 2fcbb8e6cd stripping cross-compiled symbols is not a good idea 2013-11-06 01:17:34 -08:00
Connor Olding 47b97bdd89 utility to list packages by disk space 2013-11-03 21:47:55 -08:00
Connor Olding 587da2117b remove danny.sh, it probably doesn't even work anymore 2013-11-03 06:36:59 -08:00
Connor Olding 35b917b7cc add options to monitor 2013-10-26 03:49:18 -07:00
Connor Olding 7e86c2dbc1 simplify monitor 2013-10-26 02:55:05 -07:00
Connor Olding 595f5209c4 little fixes 2013-10-21 01:36:41 -07:00
Connor Olding 1f519900ab basic predictable text scrambler 2013-10-21 01:05:07 -07:00
Connor Olding 7af4bfbc92 neat command repeater/monitor 2013-10-21 01:04:45 -07:00
Connor Olding 6f5dbc0cbc twitter crap 2013-10-21 01:04:37 -07:00
Connor Olding e0a7bf3e03 n64 crap 2013-10-21 01:03:25 -07:00
Connor Olding 2769fb38fc treat mingw.sh as actual script, bash syntax fix 2013-10-21 00:58:18 -07:00
Connor Olding a9be56a8f3 obvious filesize issue with lsz 2013-09-15 19:55:24 -07:00
Connor Olding 4c887c9653 update submodules 2013-09-15 18:42:47 -07:00
Connor Olding 1354ec13b2 update submodules 2013-08-10 03:27:06 -07:00
Connor Olding 69e4438bad update submodules 2013-07-24 13:22:39 -07:00
Connor Olding 0b1f865668 update submodules 2013-07-09 18:26:12 -07:00
Connor Olding 5c26ac471e error-handling in dbusiest 2013-07-08 17:46:33 -07:00
Connor Olding ee4c02ea5b more consistent indentation 2013-07-01 18:05:17 -07:00
Connor Olding a97e7900d4 clean "empty butt" 2013-06-28 05:45:54 -07:00
Connor Olding d5ae7c8eb8 actual submodules? 2013-06-28 05:43:58 -07:00
Connor Olding cc5b057607 submodules are probably broken 2013-06-28 05:22:14 -07:00