Counting Duplicate Commit Messages
Ruby for non-Rubyists with Snap
I’ve been using the Ruby Snap on Ubuntu for a while now, and I think it’s a bit better? I’ve referred to my notes every time I’ve done it though so I thought I had better put them somewhere I’ll find them even when I’m using a new notebook :)
What versions are available?
snap info ruby
will show your choices of versions to install. I usually just need a major.minor
version combination so I set the version with:
sudo snap switch ruby --channel=2.5/stable
sudo snap refresh
If you see a lot of “extension not built” anger then try this: ruby.gem pristine --extensions
Using Ruby and Gem and Bundle
The snap actually ships with all these commands available as separate commands:
ruby
(just check this is the right one! Should be the same as/snap/bin/ruby
– if it’s not check what order things are in your$PATH
)ruby.gem
is the gem executable for this snap rubyruby.bundle
is the bundler gem for this snap ruby (I use this one the most since my ruby usage is basicallybundle exec jekyll serve
most of the time!)
Beware that the 2.5 channel has bundler v2 and the 2.6 channel has v1, I have no idea why but it’s tripped me up at least four times now
Sniglet is a Font for Avoiding Font Loading Mistakes
To get around this, I test everything by switching the font to Sniglet from the League of Moveable Type. It’s … umistakable! Continue reading
OpenAPI Description using API key and secret
The Laravel Synchronous Queue
The First Thousand Blog Posts
Handy Beanstalkd Admin Console
[apt install beanstalkd]
-easy to install. I have also been using a handy web interface for beanstalkd which I like so much that I felt I ought to share! It’s beanstalk-console, which is a PHP-based web interface to one (or many) beanstalkd servers. Continue reading HTTP Toolbox
There’s a slide deck, some exercises and a sample repo on GitHub … let’s dive in! Continue reading