A few months ago (woah, so long already) I had an impulse buy: I purchased a circular slide rule from Etsy. It was cheap, and I had always wanted one, so… I just bought it (a neat addition to my Addiator.)
I guess if you are geeky enough to read mostlymaths.net, you know how a slide rule works. Although I knew how to use it, getting to grips with it took a little while.
A few days ago I found myself with a problem. I wanted a reddit button in one of our websites, and our technical guy wanted it to be asynchronous. After a little poking around and deciding that reddit doesn’t offer asynchronous buttons, I rolled my poor man’s version: wrap it in a $(document).ready() It’s not asynchronous, but at least it won’t block page loading.
Both happy, we deployed and I tested.
Via pixelfrenzy@flickr
Beware! The software described here is just for personal and very light use. Its use beyond purely recreational value is against Google Search terms of service, and I don’t want you or anyone to step that line. Any use of this code is at your own risk.
Well, after this scary paragraph, lets get to the real meat. Which boils down to just a few lines of bash.
Note: It’s best to open the videos in full screen. Also I have added a few line breaks or readability in the code snippets that will make them not work correctly. It’s not hard to find where they are, if you run into any problems let me know.
If you’ve been following this blog, you’ll know I’ve been using Acme and related Plan 9 from User Space utilities lately. One of its pieces is the plumber.
Text editors. You hate them or love them. Praise them with religious zeal, and attack them with the same power. I’ve been an emacs user for the last 8 years, getting as deep as I could without checking the source. And the past few months I have started using evil-mode in emacs, to get some taste of vim in my daily editing (mostly text objects.)
There’s still a third contestant in editor-land, for me.
The links to Practical Vim are affiliate links to Amazon. Beware!
So… last January I was in a flight to London, preparing for an intense, 12 days course on traditional shoemaking (English hand-welted shoes, improving our knowledge at The Fancy Puffin.) And my flight read was Practical Vim. Most of my readers are already aware I’m an emacs guy, so the main question is why?
I love knowing many tools.