Yesterday #1 - CSS Outline, Ruby iTunes Feeds & Brave Vim

Feb 15 2018

Have you ever had one of those serendipitous moments when …

… someone posts a link about fixing a problem

… that you’re literally working on right this moment as well?

This happens to me from time to time and it’s a great feeling. I was thinking this might happen to other folks as well.

So I had this crazy idea about literally looking at my browser history from yesterday, pulling out the interesting links from what I was working on and posting them with commentary.

Well, I certainly hope not. I don’t particularly like following dedicated link blog accounts which have no face. But, I do really like it when somebody with a face finds something relevant to what I’m working on right now, or might be soon.

So this is my attempt to try to provide something useful based on my everyday work. I made the links big and bold to make it more scan-friendly, so please scan and skip the ones you don’t care about.

Executing Remote SSH Commands

Because I needed a reminder about how to run remote commands over SSH, which of course is trivial, but this article had some additional tips about the use of sudo. This ultimately didn’t end up working out for what I was trying to do, but still a useful reminder nonetheless.

Gauges WordPress Plugin

One of my favorite analytics services just released a new WordPress plugin. While this particular announcement isn’t that relevant to me, I’m glad to see some more effort being breathed into Gauges itself as an overall product.

CSS Outline Helpful For Debugging

I’ve started using this CSS property as an easy way to debug layout issues in CSS, as pointed out by Adam Wathan. I made a little utility class to make this easier to toggle on/off which I’ve found handy.

body.debug * {
  outline: 1px solid red !important;
}
<body class="debug">
</body>

List Of User Agent Strings

When you do a lot of back-end scraping and HTTP calls to fetch HTML from websites like I do, looking up specific user-agent strings is a necessity.

Easy Way To Transfer Files - transfer.sh

Nice little service I discovered to easily transfer files from one place to another. Keep in mind though, unless you encrypt the file before sending it, it’s publicly accessible and readable by anyone on the world wide web!

I’m using this to transfer a non-sensitive file from one server to a Heroku bash dyno and it seems to be working well.

iTunes Feeds In Ruby?

The Ruby standard library has more than you think.

That tweet pretty much sums it up.

Material Colors In Tailwind CSS

As my love affair with Tailwind CSS continues, this is a nice example of the power of their decision to use javascript for the configuration. :fire:

Using Carbon In Vim

If you’re using the most excellent Carbon tool for creating screenshots of your code, this is a nice vim plugin to make it easier.

Multiple Heroku Accounts Plugin

I have to deal with a couple different Heroku accounts at the same time, and this plugin makes it really easy to do. I just wish there was a way to have it automatically switch to a particular account on a per-project basis. Maybe there is, but I’m still looking into it. Anyone know about this?

Brave Browser + Vim Status

I really like Brave as a web browser, but the one showstopper for me is lack of a vim extension (like Vimium). It looks like they’re well on their way to getting this going, which is nice. If only I had the time to actually contribute to it.

IRB Command History

Helpful little snippet you can place in your .irbrc file to keep a history of commands.

require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"

Import CSV Data Into PostgreSQL

Nice detailed article comparing ways to import bulk data into PostgreSQL. I’m going with a Ruby/YAML approach at the moment since my dataset isn’t that large, but this is nice to know if/when the data I’m dealing with grows.

One Word: Robots

Want More Helpful Tips?

Tips on coding, design and running a software business

Questions/Comments?

Hit me up on twitter @joeybeninghove