Posts Tagged “linux”
Things related to the Linux operating system.
-
How I Updated Ruby on My Arch Box Cause the System One Was Out of Date
15 April 2024
I just moved my laptop to run an arch derivative because I got a new SSD
installed for more exiciting projects. To my surprise the current version of
ruby in the repos was out of date by 9 months. So I had to learn how to use
rbenv in order to build my blog and deploy new posts. It’s just like virtual
environments with python, but unfamiliar because I only use ruby because I did
this site in Jekyll, and to migrate would defeat the purpose of this site which
is to share my writing and show off the cool things I built.
-
Porting a Linux Program to Run in Browser using Emscripten
21 December 2023
On my infinitely long list of things I wanted to implement one of them was
taking a binary and stuffing it into a webpage to run entirely client side. Today I have accomplished just that with
my new Atari 2600 IDE. This allows you to write an assembly program
entirely in browser and run it without setting up any kind of toolchain on your
own machine. The following are my notes on getting emscripten, a way to
compile c/c++ to run in browser using llvm and wasm, to generate a binary and
interfacing that binary with some vanilla Javascript.
-
My notes on what packages I absolutely need to install to maintain this site.
27 January 2022
I recently got a new laptop and decided to move to Manjaro, an Arch
Linux derivative. I had some frustration with setting it up, and getting
the tools I need to maintain this website installed. Documented below
are the steps I took to solve it.
-
Advent of Code Input Getter
03 December 2020
I wrote a bash function to get my daily Advent of Code input. It
assumes that you are in a directory ending in the pattern year/day,
where year is the year you’re doing the problems. Here’s the code
-
Using jq and bash for JSON processing
06 November 2020
This is a lightning talk I gave to the CPLUG November 2020 meeting on how to use jq with bash for dealing with JSON in modern tooling.
NOTE: use the space bar to scroll.
-
Inspecting All Running Docker Containers
29 October 2020
I just discovered how to run inspect on all running docker containers.
-
Getting a Knockoff Arduino with CH340 to Work With Arch Linux
27 February 2020
I recently bought a very cheap Arduino nano clone off of eBay. I was
having an issue where my computer would recognize the Arduino, I could
watch the serial connection using the serial monitor(It had an ASCII
printing program on it from the factory), but I couldn’t
flash it with a new program.
-
Compressing All Git Repositories On Your Machine
27 June 2019
So I recently felt the need to compress all the git repositories on my
machine. This was mainly because I wanted to reduce the number of files
I had to wait to backup. So here’s the commands I used to make that
happen.
-
Review of Antergos Linux
25 January 2019
I’ve recently been running Antergos Linux a derivative of Arch
Linux on my Thinkpad w540. I have to say that Antergos is a much
better version of Arch and has some significant polish on the system,
especially over many other much bigger distributions. I previously tried
Arch in the past, but had to stop when updates kept breaking my system
because I didn’t update my machine often enough (It was at home while I
was at college).
-
Temperature Monitoring on Linux
21 October 2018
Here’s a little shell function to view your system thermometers. Most
people would just tell you to install the lm-sensors package, but
that’s another package. Why do that when Linux presents it through the
/sys filesystem.
-
Reimplementing the Tree Command
30 September 2018
I decided I’m going to try to reimplement the tree utility from
scratch in a very limited version. Mine will only work from the current
directory and will support no arguments. This article will take you
through my implementation of the problem.
-
Fedora 27 Review
24 November 2017
I recently bought a new laptop, and I put Fedora 27 Workstation on
it, and it is much better than my previous impression. Things are
functioning much better than my encounter Fedora 25. There’s proper
integration with services. Things are working out of the box and with
RPMFusion, it is the single best distro out there for desktop work.
-
Arch Linux
09 May 2017
I recently decided to make a move to Arch Linux, and I really like it.
I haven’t encountered any major issues yet. It’s very slim. However there are
some rough points to it, and some extremely nice parts.
-
Gripes with Fedora 25
18 April 2017
I’ve recently upgraded to Fedora 25, and I’ve run into some issues with
it, and I’m not as happy with it as I used to be. I still like Fedora, but it
feels like some issues are beginning to pop up with it.
-
Review of Alpine Linux
30 March 2017
I’ve recently started using Alpine Linux for a school project and its a
really neat little distro. It’s designed to be very small, and secure. It uses
an alternative C standard library known as musl, and it’s the new default
for docker images. This post will detail the installation and my thoughts
regarding this distro and what needs to be improved. This review is for
Alpine Linux 3.5.2 released on March 2, 2017.
-
Finding the Largest File Stored in Your Git Repository
30 January 2017
This command will find the largest file from the output of git ls-files
which outputs the path to each of the files stored in git below your
current directory.
-
Calculating the Size of Your Video Library
07 December 2016
This command will calculate the size of your movie and video library in
days. You can modify the awk command as you see fit to calculate the time
lengths.
-
Quick and Dirty I/O Benchmark for Linux
25 June 2016
A quick and dirty benchmark to see how much I/O bandwidth your machine has
is as follows. I created this because I just learned about pv, and I’m
sure its been done before.
-
Things I Learned Setting up a Linux Lab
06 May 2016
This is a list of things I learned setting up a Linux lab for my
university. The lab contains 10 workstations, and 1 server. The users are
authenticated centrally against LDAP, and their home directories are
mounted as NFS shares on the server. The lab is powered by Scientific
Linux, which is a Red Hat Enterprise Linux derivative.
-
Tutorial on Using Apache as a Media Server
25 April 2016
This is a tutorial on how to use Apache httpd as a media streaming center.
I wanted to be able to stream my media across my local network, without
having to mess with a lot of things, so I will explain how I set it up
using apache and the built in modules. So, lets get started.
-
Tux Smashes Windows
02 September 2015
I just wanted to share this quick image that I made that I think is
awesome. It’s Tux smashing the Windows Icon. I think it is brilliant.
Don’t you?