Skip to content
Fragmented Development

Posts Tagged With linux

All of the following posts share a tag, and are related to that subject. If you would like to try another subject, you can pick from the available tags.

My personal bash prompt

Over years of using bash, I've customized my prompt configuration to fit my preferences. I value a minimal appearance, and I prefer to convey information with colors when possible. I also like it if information is hidden until relevant.

Read the full post: My personal bash prompt

Better permissions for uploaded files in Django

Django assigns permissions to any user-submitted files it saves. If you don't explicitly set what these are, it uses an operating system default - which, in most cases, is 0600. If you're unfamiliar with unix-style file permissions, that means the following:

Read the full post: Better permissions for uploaded files in Django

My First "Let's Encrypt" Cert

Now that it is in beta, I decided that I should request HTTPS certificates through the new Let's Encrypt certificate authority. It is free, secure, and provides a unique way of requesting certificates.

Read the full post: My First "Let's Encrypt" Cert

Unobtrusive _Let's Encrypt_ requests

My only beef with the Let's Encrypt process is that, by default, the utility wants you to disable your web server in the process of requesting a certificate, so that it can listen on port 80 (or 443) for a verification challenge. I host lots of sites, many of them high-traffic, and that's kind of a deal breaker.

Read the full post: Unobtrusive _Let's Encrypt_ requests

GNUsocial daemons and systemd

After the migration to the new server, my old SysV init script for restarting the queue daemons needed to be updated to systemd.

Read the full post: GNUsocial daemons and systemd

Setting time, date, NTP, and timezone details on Debian

Setting date and time options on Debian has been placed under the systemd umbrella with the "timedatectl" utility. While I'm not fully convinced that everything belongs in systemd, I do think that having a single location for all time and date related configurations makes sense.

Read the full post: Setting time, date, NTP, and timezone details on Debian

Working with base64 and images

I have been working with base64 encoding a lot recently, specifically regarding image files. Using base64 is a cool way to embed images in your CSS, and happens to be useful when writing Django tests that involve an image file field.

Read the full post: Working with base64 and images

Favorite Openbox Configs

As an Openbox user, I like to tinker. This should not surprise anyone who's used this window manager - it's highly configurable, and very easy to customize.

Read the full post: Favorite Openbox Configs

Color `ls` output in `less`

Something that has always bothered me is that my beautiful, colorful ls command output is converted to stark, monochrome text whenever I pipe it to less. Syntax highlighting is extremely helpful when it comes to differentiating directories from normal, extension-less files.

Read the full post: Color `ls` output in `less`

A week of Elementary OS

Last week, I tried to upgrade my Debian desktop to the latest Debian stable. Due to my own ineptitude at setting up my desktop in the first place, and my foolishness in telling aptitude to "ignore recommends" when dist-upgrading, I wrecked my system.

Read the full post: A week of Elementary OS

@font-face, Icon Fonts, and Gnome Character Map

Just a quick post to mention an issue I ran into while working with @font-face for a recent design.

Read the full post: @font-face, Icon Fonts, and Gnome Character Map

Ubuntu Live ISO On A SATA Drive

I found myself in quite the predicament over the Christmas break. I was visiting my family in New York, and wanted to upgrade Mom's old Ubuntu system.

Read the full post: Ubuntu Live ISO On A SATA Drive

Using The 'at' Command

If you've never used the at command, you're in for a treat. The at command is a utility used to schedule jobs for execution at specific times. The syntax is very simple, and should be easy to pick up for anyone with command-line experience.

Read the full post: Using The 'at' Command