Setting rule options in yaml eslintrc files

I’ve forgotten this once already, so it’s time for a blog post so I can find the information via Google next time I need it. Tools that enforce coding styles are always important, but doubly so when working with languages that are untyped and not compiled. In a language like JavaScript an automated linting tool that enforces best practices and identifies likely coding mistakes is a must have. Eslint is my linting tool of choice for JavaScript.…

»

Tree Fiddy, a git aware version of tree

I spend a lot of my computing time in the terminal, so the tree utility is very useful. Unfortunately, it’s not as useful in node projects or other projects that include supporting packages, because it isn’t aware of .gitignore files. When you run tree in a node project folder the listing includes all of the files for the node modules that your project uses, build artifacts, etc. I’ve written a small node based version of tree build called node-tree-fiddy that honors the gitignore file.…

»

Hide the Reddit sidebar with my user style

Stylish is one of my must have browser extensions in both Chrome and Firefox. It lets you run custom stylesheets on the websites you know and love. You can even share the styles with other users on the userstyles website. For example, the Github Dark user style makes the hours a day I spend on Github much more pleasant. I also spend a lot of time on Reddit. Unfortunately, the site is pretty hard to use on my laptop’s tiny screen due to the large sidebar on the right of the page.…

»

Can't edit MP3 tags in Windows Explorer

anthonyI always forget this and never find the answer with internet searches, so I figured I would post it here. Sometimes I need to make a quick edit to the MP3 tags for some files and I don’t want to open a media player. In those cases, I just open the properties dialog for the file(s):

You can then enter values into the “Value” column to change the related MP3 tag.

»

Installing Atom on a system with Node installed via NVM

I was interested in trying out Github’s new editor Atomon my Linux Mint box. It’s not included in the official Mint PPAs, so I decided to build it from the source using the build instructionsprovided in the Atom repo. The build went well, but the actual installation step failed with the error: $ /usr/bin/env: node: No such file or directory. It turns out that this is because I’ve installed node using NVM rather than installing one of the node packages.…

»

A little WordPress plugin for adding audio players to posts

I have a ton of old posts for my songs that don’t have HTML5 audio players. Anyone who wanted to hear the songs would have to click a link and have the browser open a player in a new window…like some sort of cavemen. I probably could have written something to update all of the posts, but I decided to whack together a little bit of JavaScript to auto-magically add the HTML audio player for any link to an mp3 that doesn’t already have a corresponding player.…

»

They Call It Justice

Finally, the first song of 2015. Also, the first song I’ve written since the move to Queens. No more studio monitors in the living room, no more foot thick stone walls and musician neighbors. Most of it was recorded after Nancy’s bedtime, so I had to whisper. I got sick of trying to mix it, so I’m just posting it as is. On to the next one!  Download They Call It Justice…

»

Cheap Alternative to Python or Aqueon Water Changing Tubing

I have used both Python and Aqueon water changers for years with great success. I can’t imagine changing water on a larger tank with buckets. When I moved to Queens, my old tubes did not reach to the bathroom sink that I use for refilling the tank. I ordered the Python Hose Extension which includes a connector and an additional tube that would allow me to reach the target sink.…

»

I caved and bought substrate

Barebottom was very easy to keep clean and I liked the look of it. Unfortunately, I decided to paint the bottom of my tank mostly blue. It didn’t seem like a big deal at first, but after six or so months it started to bother me. So, I caved. I didn’t want to spend a ton of money on substrate, so I decided to buy pool filter sand. Lots of people online had posted positive feedback on it.…

»