No description
Find a file
William Carroll b70dda5dcb Refactor window-manager-logout
`sudo systemctl suspend` wasn't working because it required a secure password
prompt to read the user's password for `sudo`. The recommended way to call
`shell-command` with a `sudo` command (from what I read online) is to set
`default-directory` to `/sudo::` before calling `shell-command`. This works just
fine, so I refactored the function, `window-manager-logout`.
2021-03-23 11:32:42 -04:00
.gitsecret Prefer reading secrets.json to using pass show 2020-08-20 18:31:37 +01:00
assessments Prefer POST /verify to GET /verify 2021-01-22 11:13:50 +00:00
boilerplate Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
buildHaskell Document ghcExtensions argument 2020-08-13 18:04:33 +01:00
ci Disable lint-emacs step from CI pipeline 2021-01-22 11:22:03 +00:00
configs Delete .profile 2020-09-09 14:32:47 +01:00
emacs Refactor window-manager-logout 2021-03-23 11:32:42 -04:00
go Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
gopkgs Remove default values for Nix expression parameters 2020-03-01 22:32:24 +00:00
haskell-file Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
lisp Add README.md to //lisp 2020-04-05 16:18:26 +01:00
nixos Delete comment monzo_ynab deployment 2020-09-01 12:17:16 +01:00
playbooks Rename "finances_2020" sheet to "finances" 2021-01-22 10:45:12 +00:00
scratch Complete another LC problem 2021-01-22 10:45:32 +00:00
third_party Remove <unstable> from briefcase 2020-08-20 11:26:32 +01:00
todo-lists Update haveWatched for IMDB 250 movies 2021-01-18 16:01:10 +00:00
tools Prefer builtins.path 2020-08-27 17:31:15 +01:00
utils Define {builder,fs}.nix for utils.nix 2020-09-01 12:16:34 +01:00
website Show Morning and Evening habits by default 2020-12-13 15:14:19 +00:00
zoo Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
.envrc Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
.gitignore Testing git-secret 2020-08-20 14:50:53 +01:00
default.nix Pull Emacs 27 from @tazjin's depot 2020-09-02 14:07:39 +01:00
dictionary.md Support dictionary.md 2020-07-21 12:58:13 +01:00
Makefile Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
README.md Update LOCs table in README 2021-01-22 11:50:25 +00:00
secrets.json.secret Prefer reading secrets.json to using pass show 2020-08-20 18:31:37 +01:00

briefcase

Build status

Welcome to my monorepo: briefcase.

Herein you will find a variety of libraries, packages, and documents. Some of this work in finished and other work is incomplete or just a sketch for a future project.

Where applicable, I try to include README.md files in some of the subdirectories to help orient both myself and any onlookers.

Languages

To give you a general idea of the source code inside of this monorepo, here is the latest output from tokei --hidden --sort code .:

-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 Emacs Lisp             81        22267        13847         5661         2759
 Python                177        10575         7930          885         1760
 Elm                    34         5345         4277          219          849
 Haskell                50         4263         3111          428          724
 Nix                    66         1581         1379           66          136
 TypeScript             19         1345         1067           90          188
 Go                     17         1256          926          173          157
 Vim Script              2          766          470           87          209
 Elixir                 13          358          301            8           49
 JavaScript              9           77           73            0            4
 Lisp                    3           83           43           23           17
 Shell                   3           55           30           11           14
 Clojure                 2           10            8            0            2
 C                       1            6            5            0            1
 Rust                    1            5            3            1            1
-------------------------------------------------------------------------------
 Total                 478        47992        33470         7652         6870
-------------------------------------------------------------------------------

Sign posts

Below I have outlined a few projects that you might find interesting. I am using // to indicate the root of my monorepo, the directory in which this README.md resides.

  • //boilerplate: scaffolding for projects. Boilerplate's goal is to reduce the startup costs of a project.
  • //configs: my dotfiles (e.g. config.fish, init.vim).
  • //emacs: Emacs is both my preferred text editor and my window manager; with tens of thousands of lines of Emacs Lisp, you can safely assume that this directory hosts a lot of libraries and packages.
  • //monzo_ynab: systemd timer unit that imports my Monzo (i.e. a U.K.-based online bank) transactions into the personal finance tool YNAB (i.e. youneedabudget.com).
  • //nixos: my declarative configuration for my NixOS machines. If you are unfamiliar with Nix, I recommend reading about the NixOS project.
  • //tools: some scripts and projects that simplify my life.
  • //website: everything required to build my website, wpcarro.dev.

Notes to self

Here are a few reminders when setting up a new machine:

  • Ensure ~/.password-store exists.
  • Run export_gpg from a computer with my gpg credentials. Run import_gpg from the new machine.
  • Ensure the new machine can access my Github.