Age | Commit message (Collapse) | Author | Files | Lines |
|
For two days I tried using gpg-agent to emulate ssh-agent, but it did not work
the same way as ssh-agent. For example, gcert stopped working. Also, when I
tried adding keys to ~/.gnupg/sshcontrol using `ssh-add ~/.ssh/id_rsa`, the
command failed.
While the concept of reusing gpg-agent for ssh-agent appeals to me...
- Fewer agent processes
- pinentry support
...in practice, it fell short of my expectations. Some or all of this may be
because I tried running this on a gLinux machine.
|
|
I don't intend to finish this blog post and since my blog is live, I'd rather
not show it on the internet.
|
|
- caffeine.md: an explanation of my theory that caffeine antagonizes
mindfulness.
- nix-and-hugo.md: a short tutorial explaining how I use Nix, the package
manager and Hugo, the static site generator, to host my blog.
- self-hosting.md: explain how I installed NixOS on my used Acer laptop.
|
|
Per Mimi's suggestion, I think adding these channels helps customers better
understand that I'm a real person.
|
|
- Embolden money amounts
- Italicize "Start today."
|
|
Gogs claims to be an easy-to-use Git server and web frontend written in
golang. I'm eager to try it as an alternative to cgit.
|
|
I removed the code that initializes unclutter from .profile - preferring to
start it with home-manager.
|
|
I removed the startup code from .profile. I also depend on a fork of
home-manager until I submit my PR from wpcarro/home-manager into
rycee/home-manager.
|
|
redshift didn't properly work because it couldn't read the DISPLAY environment
variable. I can fix this ad-hoc with `systemctl --user import-environment
DISPLAY`, but home-manager will do this automatically if I allow it to manage my
xsession.
|
|
redshift is the f.lux of Linux; it filters blue light from your screen.
|
|
I think I removed the `(server-start)` call when I was debugging some EXWM
issues. I have stabilized my configuration considerably since then, and I'd like
to use the Emacs server.
|
|
1. I haven't used docker in awhile.
2. If I need to restore the docker daemon, I will reach for a home-manager
solution.
|
|
I'd like to remove this and prefer using Nix-based solutions for PATH
maintenance.
|
|
I'm not doing enough Rust development to justify supporting this. I'm also in
the midst of a cleaning frenzy, so it's possible that this is just collateral
damage. I don't think it is because I can always use lorri to set this value
when I'm writing Rust (hopefully the second 1/2 of this year).
|
|
I often run `systemctl --user status <some-unit>`
|
|
If you haven't noticed, home-manager is managing increasingly more of my
configuration.
- Migrate session variables to home.nix
- Drop support for unused session variables like TERMINAL, VISUAL
|
|
TIL: gpg-agent sets the SSH_AUTH_SOCK and other values. Since I already use
home-manager to start gpg-agent and SSH has been functioning without issues, I'm
removing the obsolete ssh-agent code.
|
|
Preferring home-manager to reduce some of the clutter I've created.
|
|
Whatever bat's default theme for syntax highlight is, I cannot read it with my
current theme.
|
|
Write a function that finds one duplicate number from a list of numbers 1..n.
The function should satisfy the following performance objectives:
Runtime complexity: O(n*log(n))
Space complexity: O(1)
|
|
Ten people have visited https://learn.wpcarro.dev, but no one has emailed me
yet. I'd like to learn more about how people are using my website.
|
|
I'm adding Google Ads to my blog to:
- learn more about Google AdSense
- attempt to offset the my advertising costs for learn.wpcarro.dev
I may need to surround the <script></script> tags with markup to positions the
ads optimally. I will publish this first, see what it looks like without any
markup, and then progress.
|
|
My Emacs automatically trims trailing whitespace when I save a buffer. As a
result, this diff appears whenever I edit the baseof.html file. Instead of
continuing to ignore the diff, I'm committing it.
|
|
Started working on my debut blog post about giving up my cell phone during
march.
I'd like to publish this post by the end of the month, once I conclude the
experiment. At that time, I'd like to change the voice of some the content to be
past test. For now, I'm dumping ideas here while they're fresh in my mind. I
will refine and prune the final post later.
|
|
To create new posts, I run...
```shell
hugo new name-of-post.md
```
While writing posts, I run...
```shell
hugo serve -D
```
I need hugo available on PATH environment variable, which lorri provides.
|
|
Thing I changed:
- prefer a white background
- simplify the footer text
Other things that I'd like to change:
- use JetBrains Mono for the mono-font
|
|
I created this file while following Hugo's quick-start tutorial. When I publish
a blog post, I will delete this file.
|
|
Write a function that accepts a rotated cycle of alphabetically sorted strings
and returns the index what should be the first element if the elements were not
rotated.
|
|
Create a derivation for building the static files of my blog.
|
|
'2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b'
git-subtree-dir: blog/themes/tailwind
git-subtree-mainline: d206a2812fc07e9ae8af016d3dc9d24a8bcf0508
git-subtree-split: 2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b
|
|
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.
|
|
I'm attempting to follow the principles the TailwindCSS authors wrote in their
design book: To space properly, zealously space.
|
|
For now, my slogan is "Why delay? Start today."
Like any slogan, the more you repeat it, the more it sticks.
|
|
Emphasize the fact that students will start coding on the first day.
|
|
I think this is more consistent with the main content.
|
|
- Add a max width to constraint the width of the content
- Add horizontal padding to improve readability on handheld devices
- Reduce the font size of all headings
|
|
Nix runs the `rebuild` command as root, so ~ resolves to /root, which is not
what I want.
|
|
With this simple change, Nix should copy the static directory and all of its
contents to /nix/store and return the path to that directory.
See TODO for more what I would have liked to do ideally.
|
|
I only want nginx to serve files from the static directory, so that I do not
accidentally expose files like default.nix or README.md to the web.
|
|
Adding a personal introduction, overview of coding, pricing, and contact
information.
Also using a CDN to install TailwindCSS, which the TailwindCSS authors
discourage, but I don't want to setup a complicated build process at the
moment.
|
|
See the README.md for more context about this project.
TODO: I configure nginx to serve static files from /var/www/learn. I'd like to
symlink /var/www/learn to briefcase/learn as part of my `rebuild` script, but I
don't currently.
|
|
- config.fish: home-manager generates this file for me.
- fish_variables: fish generates this file.
|
|
Attempting to debug nginx.
|
|
readTree uses the output attribute set of default.nix as the value for
nixos.socrates, which disables me from resolving nixos.socrates.rebuild since
there is no rebuild attribute in the output attribute set from default.nix.
If I rename default.nix -> configuration.nix, I can resolve
nixos.socrates.{configuration,hardware,rebuild}.
|
|
Nix complains that `nixos.socrates` is not a function but a set. By adding
`{ ... }:` to the top of the file, I'm hoping to change it from a set to a
function.
|
|
Reading an Nginx tutorial and trying to port the information over to NixOS.
|
|
The fixed-point recursion isn't necessary.
|
|
I believe this may be the Fisher-Yates shuffle, but I'm not sure.
|
|
Properly handle display the root directory and sub directories.
|
|
`(require 'notmuch)` in `email.el` broke my Emacs initialization. This should
fix that.
|