Thoughts on software development, technology, and other random philosophical matters.

Snippets

Helpful snippets of code to help make your development or general computer use easier.

Daryl Wright /

Increasingly more websites provide both dark and light modes for their users. Dark mode websites and user interfaces emit less light from the screen, which reduces eye strain, and as a result, increases productivity. Despite the benefits of dark mode, there are enough people that prefer light mode that it would be unreasonable to restrict all user interfaces to dark mode only. Let's build some components that will enable switching between light and dark modes.

Read More

Daryl Wright /

Many Linux users have long depended on rsync as a versatile copy and backup tool. I've used it myself the few times I've had Linux as my daily driver OS. Since switching back to Windows, I couldn't find a good enough tool that worked the same way as rsync, so I stopped observing International Backup Awareness Day for a while.

Read More