20170225

Portable Device Bags

I carry a bunch of small things in my laptop bag on a daily basis, some of which is seen below. In order to make finding them easier, I decided to make a smaller bag to keep them in. The design of this bag is based on those that come with certain microphones.

Random assortment of useful small things.
End Result
9"x16" Black linen and some sort of fleece  
One side of a black upholstery coil zipper is used. Sew between the fleece and linen, presentation side towards linen. Sew one short side and the other long side. 
Trim the seam allowance and the corner that doesn't have the zipper. Turn the bag inside out. 

Ensure the zipper end is available. Sew around the perimeter again (probably unnecessary, but *shrugs*) including the still open end (necessary).
Trim the seam allowance on the one still raw edge. Add some stitches in the center of this rectangle of fabric (probably unnecessary, but should help prevent the fleece and linen from separating if that's a worry). Fold the bag in half longways, fleece side out, and add the zipper pull. 
Zip closed about 3/4 of the way and make sure that the edges line up.
Sew the two non-zippered, non-folded edges and trim the bottom corners. Open the zipper and turn the bag inside out.
And you're done!


20151013

RackMap v0.4.0 Released

[GitHub]

New features:


  • Includes
  • Blade centers
    • Can specify to display as item

20150721

Parsing /proc/cmdline

Recently, I've been working a lot with "appliance OSs" (they boot directly to the application). These systems usually don't have any user interaction so configuring them usually means either: 1) compile the config into the image, or 2) use the command line options given to the kernel at boot at parse out /proc/cmdline. The latter tends to be better as it's easier to change. Below is a script I just wrote to do this easier.


20150714

Light week

For the past few weeks, I've been pretty good about having a post a week. Well, I don't really have a good completed one lined up this week. Since I want to keep this trend going, have a GitHub link dump!!


  • gitlabhq/gitlabhq #9451: User remains subscribed to issues after access to project has been removed.
  • ralphbean/bugwarrior #224: Added only_if_assigned to gitlab
    • Yes, I know it's python... *shudder*... Every once in a while it is necessary to remind myself about how much better other languages are :P

20150707

Remmina as a RDP Broker Client

In order to do proper load balancing with RDP servers, it is necessary to use a broker in order to ensure that you are always able to connect to the server that has the user's persistent session. In addition, this allows for a single connection point for different RDP clusters. This causes a bit of a problem: How does the broker know which cluster to hand you off to? The answer is a string called "loadbalanceinfo". As this is a feature that not many people use, not many Linux clients support it. Fortunately, xfreerdp does. Unfortunately for our users and for the creation of a useful PXE boot RDP client (more on this in a future post) xfreerdp does not have a GUI interface.

Enter Remmina. Remmina is the GUI front end for libfreerdp, the backend of xfreerdp. The problem here is that Remmina doesn't expose this feature, but as it uses the same backend (and we know it works) we just have to make this available to the user. This pull request fixed that in short order. 

Note to self: Remember to check to see where programs are pulling plugins from when deving software. You could have had this PR submitted back in March.

20150630

DE-9 to RJ-45 Adapters

As I do more and more stuff with radios (and related), I've been needing more and more different types of serial cables and adapters. I didn't really want more cables that get tangled, and it's much easier for me to create custom length CAT-x/RJ-45 (ethernet) cables then DE-9, so I've decided to standardize all of my serial connections on a Cisco console cable. This cable is going to be considered a straight through cable (though I've read, while looking for pinouts, this might actually be considered a null modem? In any case, all the naming here is internally consistent so things work as expected). 

Adapters being used.

20150623

Thunderbird Fullscreen "Fix"

I've been running into this bug a lot recently with my Thunderbird install.

TL;DR: Thunderbird enters fullscreen mode and refuses to leave.

Below is the quick script I've been using to brute force misbehaving program back into submission.