Commit graph

30 commits

Author SHA1 Message Date
William Carroll
392832a1ca Testing git-secret
Adding a dummy, top-level secrets.json file using `git-secret`. It might be nice
to have a mono-secrets file in json because then I can use it with `jq` like:

```shell
$ jq '.secret' --join-output < ~/briefcase/secrets.json
```
2020-08-20 14:50:53 +01:00
William Carroll
d71776a9ae Remove 2x-newlines from .gitignore
I saw an issue on GitHub that claims that git-secret doesn't like 2x-newlines in
.gitignore files. Let's see if that helps...
2020-08-20 12:18:35 +01:00
William Carroll
cbaf74de0e Setup git-secret
This morning I'm attempting to secure my monorepo. How?

- `git secret`:  DONE: To version-control sensitive data
- `git secrets`: TODO: Lint code for sensitive data

I will probably update the CI to call `git secrets --scan` or some similar
command to fail when that exists non-zero. I have much to learn, but doing is
the best way to learn it.
2020-08-20 11:53:14 +01:00
William Carroll
5add8ddc13 Move monzo_ynab into //tools
Optimizing is difficult: I like flat hierarchies because I don't like
directory-hopping, but I also would like a cleaner root for my mono-repo. Bombs
away!

Well it's that time again, folks: spring cleaning!

Here I am musing about a few things that bother me:
- Should I use kebab-case or snake_case?
- It feels ~confusing to have //tools and //utils. What a //projects? Isn't
  everything a project? *sigh*
2020-07-20 10:15:47 +01:00
William Carroll
1e1c61c84c Gitignore Emacs's tramp file
While I have not found any sensitive information in these files, I do
not see much value in version-controlling its contents.
2020-04-05 17:00:35 +01:00
William Carroll
57b58e9b2f Move nut-score into website/sandbox
Also move some .gitignore entries from the top-level .gitignore into a
subdirectory .gitignore.
2020-03-24 12:29:34 +00:00
William Carroll
95e761e59b Move blog into website/blog
Nest the blog work within the website directory.
2020-03-20 00:46:29 +00:00
William Carroll
209fdf5726 Add ReasonML boilerplate
After some toil, I finally support basic ReasonML starter code.

I'm adding it to the nut-score directory because I would like to make a simple
webpage that render some nutritional facts about nuts with respect to the
ketogenic diet.

I'm not sure if I should include or exclude te .bs.js files.

See the README.md for more information.
2020-03-17 22:40:48 +00:00
William Carroll
d206a2812f Prefer hugo for blog.wpcarro.dev
Instead of creating my own static website generator, I'm trying Hugo. Huge is a
newer alternative to Jekyll. So far, I like what I see.

- Ignoring /blog/public since this is where `huge -D` generates the static
  assets.
- Using a TailwindCSS theme.
- Creating a dumby post about Emacs to test deployments.
- Deleting all Common Lisp and Nix code that powered my previous, half-baked
  blog.
2020-03-09 13:27:35 +00:00
William Carroll
843e37b04f Ignore fish/{config.fish,fish_variables}
- config.fish: home-manager generates this file for me.
- fish_variables: fish generates this file.
2020-03-07 23:03:39 +00:00
William Carroll
85cdd46f00 Attempt to support TypeScript for coding challenges
I was a bit weaker than I expected to be in my most recent interview using
TypeScript. To improve, I think I'd like to attempt solving some of the
InterviewCake.com questions using TypeScript.

If you've read the previous commits, the inspiration for `run` arose because I
need to call `npx ts-code <file>`, which is easy enough to remember, but I'd
still rather just call `run <file>`.
2020-02-11 17:11:19 +00:00
William Carroll
81271498b6 Ignore kv.json
I'm writing sensitive data here, so I'd like to ignore it instead of encrypting
it and publishing it. Perhaps later on, I can extend the key-value store to
handle encryption and decryption but that feels like overkill for now.
2020-02-10 10:06:40 +00:00
William Carroll
74211a3c02 Support serde for Monzo and YNAB transaction structs
Define transaction structs for both Monzo and YNAB. Each package has a `main`
function that runs some shallow but preliminary round-trip tests for the
serializers and decoders.

The fixtures.json file that each of them is referencing has been ignored in case
either contains confidential data of which I'm unaware.
2020-02-07 21:33:08 +00:00
William Carroll
5c9079a410 Splice ./universe directory into ./
Manually merging:
- README.md: I added the description from universe/README.md into the heading of
  dotfiles/README.md.
- .envrc: dotfiles/.envrc was a superset of universe/.envrc
- .gitignore: Adding some of the ignored patterns from universe/.gitignore to
  dotfiles/.gitignore

Everything else here should be a simple rename.
2020-01-29 14:43:20 +00:00
William Carroll
e7200fb033 Ignore transient/history.el
I find that this file makes too much noise for me to care to track it.
2020-01-18 17:03:08 +00:00
William Carroll
fa640ed8a3 Ignore __pycache__ directory
I don't believe I'll be needing this.
2020-01-17 19:05:33 +00:00
William Carroll
f089cf9394 Ignore .gnupg/random_seed
I'm not actually sure if this is sensitive information, but I'm erring on the
side of caution and ignoring it in case it is.

squash! Ignore .gnupg/random_seed
2020-01-06 15:25:23 +00:00
William Carroll
e7bc9e39bd gitignores .emacs.d/{bookmarks,custom.el,projectile-bookmarks.eld}
Using the `git rm -r --cached . && git add .` tip from: http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
I'm able to finally ignore these files. Things should be cleaner moving forward.
2019-03-18 14:30:42 +00:00
William Carroll
a5512fd706 Remove more Emacs noise
Removing more files that clutter my `gst`

This time I ran...

```bash
git rm -r --cached .
```

...which is supposed to help ignore files that `git` already tracks. This may be
the missing piece I've been looking for.
2019-03-11 23:08:15 +00:00
William Carroll
b268da5aca Ignore .netrwhist
Could have sworn I did this as well. Oh boy...
2019-03-08 18:13:56 +00:00
William Carroll
3dd58b01bd Update init.vim to support updated Vundle location
Before I noticed the rtp variable, the Vundle installation was a bit
nebulous to me.

TODO: Consider dropping support for vanilla altogether.
2019-03-07 14:03:54 +00:00
William Carroll
fb1784e2ac Remove noisy files
This repo's history seems to reflect my difficult wrestling with
Git, GitHub, gitignore files. I'm still not sure I understand
everything that's going on.
2019-03-06 16:58:56 +00:00
William Carroll
18b9930b86 Update gitignore
I believe `emacs.d` was change to `.emacs.d` somewhere along the way.
The gitignore needs to be updated, and some spam may have slipped in as
well.
2019-01-13 14:30:04 -05:00
William Carroll
8d945d97de git ignore smex-items
Noise, noise, noise...
2018-07-19 12:00:08 -04:00
William Carroll
cf337a403f Lints emacs directory
Ignores a few noisy files. Removes the dependency to a slack secret.
2018-07-19 12:00:08 -04:00
William Carroll
fd3989139e Ignore projectile bookmarks
I don't want these spamming my commits, etc.
2018-07-19 12:00:08 -04:00
William Carroll
769b26c3ef Ignore emacs.d directories
Ignore dirs in the emacs.d that is being added to this repo. We don't
want packages and other bloat in this repo.
2018-04-25 12:15:00 -04:00
William Carroll
4f1d7650a4 Ignore that config secrets file 2018-01-08 15:41:32 -05:00
William Carroll
3c92292b0e Extends emacs and tmux configs 2017-01-30 13:22:27 -05:00
William Carroll
4563550969 Trims fat and renames files 2016-08-15 11:14:37 -04:00