I am cycling through data nerd heaven. Winter weather “forced” me to buy a Zwift Hub indoor bike trainer so that I could ride in icy, wet weather that normally keep me out of the saddle. The trainer tells me how much power I am pumping through the pedals, info that I have never had […]
I Don’t Care How Long it Takes to Charge My Car
People ask me how long it takes to charge my car. They are particularly concerned with how long it takes to charge the car when I am away from home, on a road trip. Honestly, I don’t really care how long it takes to charge my car. Oh, sure. I could figure it out. When […]
A Livestreaming Year
Rosh Hashanah begins tomorrow at sundown. For the second year, Candy and I will livestream the high holy day services for our congregation, United Hebrew Congregation in Saint Louis, MO. But oh what a difference from last year! Then, Candy and I were scrambling as hard as we could to broadcast something good in the […]
Installing rdiff-backup 2.x on Synology DS218+ Diskstation
Rdiff-backup is a great backup program. It is very easy to install it on a Synology NAS box like the Synology DS218+ Diskstation. You need just a couple of things: ssh access enabled on your Diskstation an internet connection Do the following Log into the Synology web UI. Use the Package Center to install the […]
My First Snap: DevOperator
I have published my first Snap in the Snap Store. DevOperator is a bundle of several tools used to manage applications and Kubenetes clusters inside AWS. This version includes: Ansible AVH git flow AWS CLI aws-iam-authenticator eksctl kubectl mfa & assume-role Terraform tf It’s a red letter day!
Chevrolet Bolt EV First Road Trip
Overture “We could drive the electric car over to see Kevin and Elizabeth but it we would have to charge it while we are there and that would be a nuisance so why would we?” I opined. “Mmmhmm. Anything you say, darling,” Candy replied. 12 hours later: “I’ve been thinking: We could drive the electric […]
I’m Blocked in Russia
I don’t know what I wrote to achieve this status but I’m proud of it. My blog is blocked in Russia. 🙂 Thanks to Mike Elgan for making me aware of this site.
Add the git branch in your bash prompt
To include your git branch in your bash shell prompt, add this to your .bashrc and start a new shell window. This is what you end up with. The git branch only shows up when you are in a directory that is part of a git repository. This implementation relies on gawk. If you do […]
Adding ssh-agent to a Chromebook Linux VM
I just got a Google Slate, largely because it can run Linux programs. By default, ssh-agent is not running when you open a terminal window. To add it, I created and enabled a systemd service for ssh-agent and I created the environment variable. Create ~/.config/systemd/user/ssh-agent.service [Unit] Description=ssh-agent service [Service] Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK […]
Using the JetBrains PhpStorm HTTP REST Client
I’ll admit it: I have previously tried and failed to get the new HTTP REST client in JetBrains PhpStorm to do what I wanted, especially with POST requests and file uploads. This morning, the stars aligned properly and my magic beans sprouted and life is beautiful. Here is the code. It does a POST call […]
Chevy Bolt EV 10,000 Mile Report
I just passed 10,000 miles in my Chevy Bolt EV. In a nutshell, the car has been absolutely wonderful. I get in it, drive it, and plug it into the charger in my garage at the end of the day. Owning this electric car is downright boring; it just works. Driving it is an absolute […]
Installing rdiff-backup on Synology DS218+
This post is outdated. See Installing rdiff-backup 2.x on Synology DS218+ Diskstation instead. I just got a Synology DS218+ NAS box running DiskStation Manager (DSM) 6.1. It supports rsync but not rdiff-backup, which I have been using and loving for about 10 years. Getting rdiff-backup running on the Synology DS218+ was surprisingly easy, in large part […]
Amazon S3 for Photo Backups
I have a little problem. Well, maybe it’s a big problem. I need a backup of the /home2/art directory on my computer. All told, it contains about 19,000 photos, a few full length movies, the video from my wedding, and some audio. It weights in at 227 GB. My /home/art directory has another 17,000 photos but, since […]
Convertible Chromebook + Android Apps = One Glorious Combo
Every once in awhile, technology converges to make life better. It just happened again. I am sitting in my easy chair, writing a blog post about reading the paper while listening to nice jazz, and I did not even have to get my lazy butt out of my chair to turn on the stereo.
Saving Our Planet Earth, One Lazy Step at a Time
I like to think of myself as an ecologically concerned citizen but, to tell the truth, I’m too lazy to do it “right.” I don’t compost (and I don’t garden). I didn’t recycle until it was convenient. I should probably be more focused on eating locally grown food and fewer high carbon footprint animals. But […]
One Week with Google’s Project Fi
Today is my seventh day on Google’s Project Fi, with a Nexus 5X. Here is what I have learned so far.
Thunderbird Does Not Like HubSpot Signals
Last week, I learned that Thunderbird does not like HubSpot Signals. If you use Signals, you might want to be aware of this issue. Apparently, no other email clients display this warning.
Heartbleed Relief: Replace the Default SSL Certificate in Parallels Plesk Panel
If you have a web site with an SSL certificate then you are probably affected by the Heartbleed vulnerability which popped into general visibility. If your server is vulnerable, you need to do two things: Update openssl Replace your SSL certificate (since you have to assume that the certificate’s private key has been stolen). Anyone […]
MySQL + UTF-8 + PHP 5.3.10 + JSON = Trouble
Yesterday, I spent longer than I care to admit debugging an update to an old PHP script. It fetched a string from a MySQL database and (here’s the new part) passed the string to json_encode(). That call failed when the data included the multibyte characters ¼ or ½ or ¾. All of my attempts to remove the multibyte […]
Python Singleton
I needed a singleton database class in a Python 2.7 program and wrote it this way. class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls] class Database(): __metaclass__ = Singleton def __init__(self): self.db = MySQLdb.connect(…) I like this pattern but I realized that […]
- 1
- 2
- 3
- …
- 10
- Next Page »