Bash CLI Linux

Check a Domain Name for SSL Problems

Today I’m highlighting a script I wrote that will check sites for SSL problems. You can hand it a file with hard-coded domains, or you can pass domains in as arguments. I wrote a complementary script that will find all the vhosts on the current server.

It’s essentially a curl command with some formatting. First, it checks the domain name itself. If that passes, it checks for a random subdomain.

I had it include the curl time in the output because some domains were taking longer than others and I was interested to see where the slowdown was. Not that it does any troubleshooting, I just thought it was interesting to know.

Linux Pi-hole SSH The Horror!


I recently installed Pi-hole on a brand spankin’ new Raspberry Pi to blacklist advertisements.

The install was very simple – all I had to do was follow their directions. My only frustration was that I forgot to enable SSH to start on boot. Evidently chkconfig has gone out of style, so I had to google The New Way. I suffered from ignorance for like 30 seconds. The horror!

I couldn’t find out how I change the DNS server in the router. I fear I shall have to contact my ISP. The horror!

Asana CLI Linux Productivity Programming Ruby Trello

Working with TrelloToAsana

First off, many thanks to goborrega, the author of TrelloToAsana – a ruby package to help users port their data from 🌹💃 💕 Trello 💕 💃 🌹 to Asana. I love Trello (as you may have gathered from the emojis), but the boards are very siloed. I have like 3 dozen boards, I don’t want to have to dig into each one.

There are a few ways to get data between the two, but none were to my satisfaction until I found this package on Github.

I ran into a couple issues and I wanted to save some other folks the time. Many of these issues stem from not being a Ruby developer Thanks to Google University, I was able to develop a sufficient passing literacy.

Some background that may be helpful to non-Ruby devs may find useful:

  • Install Bundler and other dependencies. On Suse the command was: sudo zypper install ruby2.5-rubygem-bundler ruby-dev ruby2.5-dev ruby2.5-rubygem-rails-5_1
  • Install dependencies defined in the gemfile: bundle install
  • To run a Ruby script: ruby [filename]

There seems to be a version problem with the required versions of Ruby and the gem json. To fix that, I went opened Gemfile and replaced where it calls for json version 1.8.1 with 1.8.5. I haven’t seen any negative consequences of advancing it to a later version.

Between the time of the code’s writing and the time I ran it, Asana evidently changed their property id to gid on workspaces, projects and tasks. A find and replace on all instances of .id with .gid fixed the problem. The error was:

/usr/lib64/ruby/gems/2.5.0/gems/asana-0.10.0/lib/asana/resource_includes/resource.rb:34:in `method_missing': undefined method `id'

It worked like a dream after that.

Having gone to all that trouble, I don’t think I’m going to stick with Asana. There are too many features 💖 Trello 🌈 has that Asana doesn’t. My hunt for a 🌼 Trello 🥰 alternative that has global tags continues.

CLI Linux

A Problem with `git push origin`

I couldn’t figure out why git kept complaining there was no such file as origin.

Because I was typing grep.

CLI Linux NPM Programming Vue.js

Pro-tip: `npm run dev` Relies on /etc/hostname

In my ongoing effort to play with Vue.js, I’ve been attempting to run the command npm run dev, which is required to turn the Vue magic into regular Javascript magic (all computers are magic). I couldn’t figure out why it kept insisting it couldn’t bind to the address.

I was looking for a config file with a hostname defined. There isn’t one. It uses the contents of /etc/hostname.

PS1 and hostname showed my hostname as kraken. But according to /etc/hostname, it was NPM was trying to bind to’s IP address.

There’s no reason the hostname had to include I originally took to putting it in the hostname when I first registered the domain name in 1998 because I thought it was neat. I never got out of the habit because until [longer ago than I care to admit], it never caused me problems.