about summary refs log tree commit diff
path: root/users/wpcarro
AgeCommit message (Collapse)AuthorFilesLines
2022-01-27 r/3684 refactor(wpcarro/emacs): Move KBD to keybindings.elWilliam Carroll2-2/+2
This is part of a larger effort to remove the statements from `window-manager.el` to convert it to a pure library. Change-Id: I3078a9a73ec049704ac2dbbe822a6e57f4c9cf48 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5037 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3683 feat(wpcarro/fish): Define gpr aliasWilliam Carroll1-4/+5
Another Urbint-era `git` alias. Change-Id: I5c833250bf87eec26fe66e2738756f541ec4328d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4999 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3682 refactor(wpcarro/emacs): Move ivy-pass to ui.elWilliam Carroll2-3/+2
Alongside other ivy use-package declarations. Change-Id: I5a60c06f287146ecd671ec9a5d8299539ea89dea Reviewed-on: https://cl.tvl.fyi/c/depot/+/5036 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3681 refactor(wpcarro/emacs): Drop window-manager-logoutWilliam Carroll2-60/+8
TL;DR: - undefine `window-manager-logout` - define window-manager customization group - publicize `window-manager--xsecurelock` - rename `window-manager--xsecurelock` -> `window-manager-screenlocker` - remap `workspace "l"` to always lock the screen Change-Id: I77df883b94e786c4584351c9ebf1dcf0d5a84a33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5035 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3680 refactor(wpcarro/emacs): Reduce dependency on display.elWilliam Carroll1-14/+0
Trying to disentangle some of my Elisp modules... Change-Id: I61173fc05557dca63e382c2e00d6f48c95701194 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5034 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3679 feat(wpcarro/configs): Define {import,export}-gpg in NixWilliam Carroll4-3/+72
Note: Calling `export-gpg` (relying on the symlink to `__dispatch.sh`) hangs because it's prompting the user for the password to decrypt the secrets, but for some reason no prompt displays. When I call... ```shell $ nix-build /depot -A users.wpcarro.configs.export-gpg $ ./result ``` ...it WAIs. I need to debug this, but I'm committing the work for now because it's making my `magit-status` noisy. TODO(wpcarro): Merge and reconcile configs, dotfiles. Change-Id: I2b91323824cab37daa9d880cbb42f38e33ca10e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4998 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3678 feat(wpcarro/fish): Define glp aliasWilliam Carroll1-0/+1
Good ole `glp` (from the Urbint days). Change-Id: I04b8e6f40b2922c49a625d32c1214038a8c08293 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4997 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-25 r/3672 fix(wpcarro/nix): Temporarily disable simple_vimWilliam Carroll1-1/+2
neovim is failing to build for some reason (nixpkgs bump maybe?) Change-Id: I49e7cebe490d339565b759d24d25843fb3e3bbae Reviewed-on: https://cl.tvl.fyi/c/depot/+/5059 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-25 r/3671 feat(wpcarro/fish): Define rebuild-system aliasWilliam Carroll1-0/+2
This allows me to call rebuild-system from outside of /depot. Change-Id: I6bb627df173b1889522e03d5a6ff37e8119aaaa2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5058 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-25 r/3670 feat(fish): Define alias to cd /depot/users/wpcarroWilliam Carroll1-0/+1
Simplifying my life... Change-Id: I84aabb337727fa56d79c72e81acf7b11c7308839 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5057 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-25 r/3669 fix(wpcarro/simple_vim): Quote $@ argsWilliam Carroll1-1/+1
self-evident Change-Id: I762c4aa3486a167b3de10f91639fa662ba50f109 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5056 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-23 r/3665 refactor(wpcarro/emacs): Expose env as kwarg in withEmacsPathWilliam Carroll1-4/+9
This allows me to remove google-briefcase references. Change-Id: I61234b2ac20e0de0f3d0d820a471342124d72f2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4996 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-23 r/3664 feat(wpcarro/fish): Define fish configuration as dotfileWilliam Carroll1-0/+30
TODO(wpcarro): Figure out how this is sourced on NixOS machines. Change-Id: Iafddab003699f57bbfd09cd29cb9382dadf6a147 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4995 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-23 r/3663 fix(wpcarro/docs): Fix references to google-briefcaseWilliam Carroll1-2/+2
It now resides at `/google-briefcase` 🙂 Change-Id: I64640c7c969f08a687cbc6fde9b69b61a9e0016b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4994 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-20 r/3638 refactor: Replace 'meta.ci' -> 'meta.ci.skip'Vincent Ambo2-2/+2
We need 'meta.ci' to be an attribute set for new CI features. Change-Id: I83d04e2d74e42e49fe739b049ee4ba799f6d5d86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5007 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-18 r/3629 refactor(wpcarro/gnupg): Improve UX for gnupg/{import,export}.shWilliam Carroll2-15/+35
TL;DR: - Ensure that export.sh -> import.sh -> export.sh can round-trip without intermediate tools. - Remove default values for variables like ${1}, which only seem to complicate things. - Add `trap cleanup EXIT` to scripts. - Remove noisy full-paths from `zip` (note: a more intuitive, less configurable `zip`, `unzip` should exist). Change-Id: Ibbd98d1f0156639138175fcb89e9dfbd17fdae5f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4993 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-18 r/3628 fix(wpcarro/emacs): Ensure pasting in evil visual WAIWilliam Carroll1-1/+1
The variable, `evil-visual-update-x-selection`, must've updated to `evil-visual-update-x-selection-p`. When I moved from ~/briefcase to /depot I adopted the newer version of nixpkgs. Change-Id: I27de45c73833325f64b1e176b8793a0d05233331 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4992 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-18 r/3627 chore(wpcarro/*): Remove some dead codeVincent Ambo2-18/+7
Found this while looking for non-3p uses of builtins.fetchGit. The hailgun package is in the package set now, and the other thing was unused (and it's also in the package set). Change-Id: I6f519fd6014bbed90fc6cee695bed7afbcf55717 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4984 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-12 r/3588 fix: resolve remaining security.acme.email warningssterni1-1/+1
These were missed in cl/4784. Change-Id: I01a5827900c1b3bdfdf9b1c36dcca8d6b59073a1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4866 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-11 r/3584 style(wpcarro/emacs): Prefer doom-peacock for Emacs themeWilliam Carroll1-1/+1
I no longer need the bright theme since I'm no longer in sunny Saint Lucia. Change-Id: I22c436875bab93fa569541a6ff05bdc6869f521e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4861 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-09 r/3575 fix(wpcarro/blog): Sort blog posts by date DESCWilliam Carroll1-1/+3
Show the most recently published blog posts first. Change-Id: Iacc9b2964552e8c0327a05a85c4fc5cbc8741f09 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4833 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-08 r/3572 docs(wpcarro/blog): Use "today" in the call to dateWilliam Carroll1-1/+1
Now I can copy-paste without replacing the placeholder date-string (i.e. "2020-04-02"). Change-Id: Ie4ee843b495447a2d4b7e6634114b81b3fc0a50e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4822 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3571 fix(wpcarro/emacs): Temporarily prefer Monospace to JetBrainsMonoWilliam Carroll1-10/+10
When I migrated to /depot I removed JetBrainsMono from my monorepo. This is fine on NixOS machines because I'm depending on JetBrainsMono through Nix configuration. But for non-NixOS machines (my work machines), I cannot do this. Until I've thought of how I'd like to support this, I'm doing to use Monospace, which should be available on all of my machines. Change-Id: Icd0cd641526246d40b8d971907c63c7f32ef1c3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4821 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3570 fix(wpcarro/emacs): Redefine bookmark-install-kbd as public fnWilliam Carroll1-0/+8
I originally refactored this by inlining it as a lambda function, but I was ignoring the fact that my work machines relied on it because I have Elisp code in google-briefcase that calls `bookmark-install-kbd`. Change-Id: I03804250fdfdc22be1445718a061a46461eb9af8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4820 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3569 feat(wpcarro/clitools): Add simple_vim to my clitoolsWilliam Carroll1-2/+5
I'm considering `alias vim=simple_vim`, but I'm not sure yet. Change-Id: Ia6d625d4925939f4e5c6088a8b4067870c1a2522 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4819 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3568 feat(wpcarro/tools): Set nowrap for simple_vimWilliam Carroll1-0/+3
Change-Id: Ia6342032e6b7e7ffbba65b35158d311d3b0a2e9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/4818 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3567 feat(wpcarro/blog): Publish "2FA and Gmail's \"Send mail as\""William Carroll2-0/+50
Small blog post about how I configured myself out of my personal email. Change-Id: Ibb8834b2150f94dba5f46a8ea634e7e9813b76a5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4817 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3566 feat(wpcarro/emacs): Define KBDs for tab, backtab for deadgrepWilliam Carroll1-0/+14
This makes the UI a bit more interactive. Change-Id: I756e098fff78d2a71a56cf0ea73240f90821dbab Reviewed-on: https://cl.tvl.fyi/c/depot/+/4813 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3565 feat(wpcarro/emacs): Pass --{hidden,follow} flags to rgWilliam Carroll1-6/+5
These are useful defaults. Change-Id: Ife4a7f559c9599ba3b846eea7e757266afd7ceae Reviewed-on: https://cl.tvl.fyi/c/depot/+/4805 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3564 fix(wpcarro/emacs): Ensure debug-on-error is globally setWilliam Carroll1-0/+1
I'm still a bit confused about the nuances between the myriad of ways to handle variables in Emacs... - `setq` - `setq-default` - `setq-local` - `defvar` - `defcustom` - `defconst` - `customize-set-variable` - `make-local-variable` - `make-variable-buffer-local` - `kill-local-variable` ...but after running some experiments, this triggers the Emacs debugger when an error is encountered (e.g. either *in* `init.el` or another package that is evaluated during `init.el`'s evaluation). Change-Id: I00d543735b1d816462ba18bad23867865d7af80e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4812 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3563 fix(wpcarro/emacs): Disable edebug's "h" KBDWilliam Carroll1-0/+11
...so that I can move left while debugging. Change-Id: I7124da76dc51b0b5ca22a7e4a13482fc8da30150 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4811 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3562 feat(wpcarro/git): Ignore private-keys-v1.dWilliam Carroll1-0/+1
From `man gpg`: > --secret-keyring file > This is an obsolete option and ignored. All secret keys are stored in > the ‘private-keys-v1.d’ directory below the GnuPG home directory. Change-Id: I1178c3d4a1aafa10e058db15d293b906ea402a05 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4807 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3561 refactor(wpcarro/emacs): Tidy-up bookmark.elWilliam Carroll2-15/+18
TL;DR: - Prefer dash.el - Remove "current project" bookmark - Prefer named functions instead of lambdas to (hopefully) improve `which-key` Change-Id: I090bf372316702f313284a80af9dd076dbf270a3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4806 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3560 refactor(wpcarro/emacs): Remove KBD logic from buffer.elWilliam Carroll2-15/+16
Part of an overall cleaning: - remove tests from library files - move KBDs from library files to top-level keybindings.el Change-Id: I0fb80aa4a8d5cc77ee7ecca6206d5e4d62c93491 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4801 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3559 chore(wpcarro/emacs): Remove tests from buffer.elWilliam Carroll1-21/+0
More cleaning... Change-Id: I4ff450879f0cda9b3a8e8dab61519a4d8c342c91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4800 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3558 feat(wpcarro/emacs): Prefer Vim style of word-searchingWilliam Carroll1-1/+1
In my opinion the following versions of compound words should be searched similarly... - `testingThisOut` (camel case) - `TestingThisOut` (class case) - `testing_this_out` (snake case) - `testing-this-out` (kebab case) ...but Emacs's default searching treats the snake and kebab cases differently, which makes it difficult to search for buffer-local occurrences of symbols in Python, Elisp (among other languages). This has been bothering me for some time. I must've attempted to fix this awhile ago by using `setq` (when I should've used `customize-set-variable`, which makes me wonder: how much of my configuration is flaky because I'm using `setq` where I should be using `customize-set-variable`? For more context about this change, see `describe-variable` for `evil-symbol-word-search`. Change-Id: Ie03f0da119f59e04abc5de3143aa6edaf6115168 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4804 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3557 feat(wpcarro/emacs): Enhance markdown editing experienceWilliam Carroll1-1/+4
See comments in the code for context. Change-Id: I0791222881788b89612359c0b3b263dc7dc9bd63 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4803 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3556 feat(wpcarro/scratch): create a proof-of-concept blockchain serverWilliam Carroll3-0/+286
> You cannot get educated by this self-propagating system in which people study > to pass exams, and teach others to pass exams, but nobody knows anything. You > learn something by doing it yourself, by asking questions, by thinking, and by > experimenting. > - Richard Feynman In the spirit of learning by doing, I decided to implement a simple blockchain server. More work remains, but I'm tired after working on this for ~2-3h. I'd like to reimplement this from memory using a statically typed language like Haskell. I'd also like to implement node discovery (https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery) because that is still something I don't quite understand. But I'm signing-off for now... Change-Id: I74f424e7f52ffbf81eaad420d7d5205da66d33b5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4802 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3555 feat(wpcarro/emacs): Include *scratch* and *Messages*William Carroll1-1/+5
While these aren't technically source code buffers, but the purpose of `buffer-ivy-source-code` is to create a list of buffers I likely want to switch to, which includes these. Change-Id: If3f7b6afa6282a3fb8d0d4a3f7aa4ee64287df65 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4799 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3554 fix(wpcarro/emcas): Debug "Logout" commandWilliam Carroll1-1/+1
gLinux doesn't use `lightdm.service` (you can confirm this by seeing if `lightdm` is listed in the units reported by calling `systemctl`). I found `gdm` (i.e. Gnome Display Manager), and it appears that calling... ```shell systemctl restart gdm.service ``` ...does the trick. Change-Id: Iff47d20db57ce11138f9af943fe64cc18068f5bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4798 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3553 fix(wpcarro/simple_vim): Debug simple_vimWilliam Carroll2-15/+9
No need to `mkDerivation` when I'm already using `writeShellScriptBin`. Also: prefer `<CR>` instead of `<Enter>` for consistency reasons. Change-Id: Ida8ecec0bd4e3e8c0fbb1ea34eefd61a0fefb4bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4797 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3552 fix(wpcarro/emacs): Change display.el to use Display PortWilliam Carroll1-2/+2
I switched cables recently. Change-Id: I6026cf6598f857e02c29a039885336fb3c147ecb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4796 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3551 feat(wpcarro/emacs): Define new deviceWilliam Carroll1-4/+9
For my latest workstation. Change-Id: Idd18c07f05f2afdf57fde25a5aad627759ca1643 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4795 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3550 chore(wpcarro): Update README.mdWilliam Carroll1-2/+4
Format GPG section to (hopefully) improve readability. Change-Id: Ief731ea640efc2233cc691b0b06a46500eef5672 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4794 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3549 feat(wpcarro/gpg): Zip output from configs/.gnupg/export.shWilliam Carroll1-7/+10
This makes it easier to `scp` to the new host. Change-Id: If746a71204c97255547b579252622005b4d13b20 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4793 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3548 feat(wpcarro/cryptopals): Support repeating key cipherWilliam Carroll1-0/+16
I think this is a form of symmetric encryption where the passphrase (e.g. "ICE") is repeated (e.g. "ICEICEICEICEI...") until it matches the length of the cleartext string; after that, the two byte-strings are XOR'd against one another and then encoded as hexadecimal creating the ciphertext. Change-Id: Ib148f06d6c42a41377d1df1f0738d77da935a9f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4789 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3547 fix(wpcarro/cryptopals): Update cleartext scoring algorithmWilliam Carroll3-11/+45
Create a frequency table of alphabetic characters by reading each character in "Alice in Wonderland"; use this frequency table to score cleartext when decoding ciphers. Change-Id: Id322af64d792c15231a1a02794f396c46196c207 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4788 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3546 refactor(wpcarro/emacs): Prefer $PATH resolution of scrotWilliam Carroll1-4/+1
...instead of the harder dependency on the installation location. Change-Id: Ifdde2ab8b3b6069c653012ad5599007d4467a188 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4815 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3545 fix(wpcarro/emacs): Support inserting "+" in a vterm terminalWilliam Carroll1-1/+4
Much better :) Change-Id: Ib8efd5db04ae011f634dcd952fdd5875905ec3e6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4814 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3544 fix(wpcarro/emacs): Restore ability to paste in visual modeWilliam Carroll1-2/+3
I filed an issue with evil in case there's a potential bug-fix or feature: https://github.com/emacs-evil/evil/issues/1537 Change-Id: Ia9293b59696ac693f9bffb4d3505ea8fa2d59784 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4810 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>