Seems I’ve been all about the terminal customisation recently…
grep a lot. Multiple times every day without fail. I used
ack for a while when I started at my current workplace as that seemed to be favoured by a lot of the existing devs there. However, I found that not having
ack on some servers meant I was making silly mistakes when using
grep elsewhere. Ever typed this:
grep -R 'variable'
and sat there waiting? Well I have. So I switched away from
ack and became a
grep advocate. This move from
ack might also help explain my
grep default flags, one of which (that I didn’t mention in that post..) is
-P to use
perlre in the search string.
Continue reading “
I’ve been sharing my code via github a lot more lately. I’ve used Google Code in the past and haven’t really used github extensively. Using it more and more now has made me feel I should share my tools via github.io, not a lot of people want to go to links on someone elses blog in case they’re using it to gain money via ads or something. I don’t use advertising, I can’t stand ads in general and block them in any way I can, so you don’t need to worry about that here!
Anyway, I’ve added my recent tools and script to a github.io page which is accessible here:
I’ll continue to publish articles here as well, and would like to use this as a way to get feedback and elaborate on any interesting parts of the code I’ve written. As well as write more rambles if and when I feel the need!
I’d wanted to extract the code I used in the those projects into a stand-alone project/component that could be added to an existing page where ANSI escape sequences need to be interpreted. I’ve toyed with the idea of making it a Web Component or something like that but haven’t just yet.
Continue reading “terminal-preview”
Before I started with my current employer almost six years ago I moved from a small, privately-owned, web development company with a few developers working in the languages we chose (or at least, could make a good enough argument for) and with tools recommended by each other or the latest and greatest libraries we’d recently discovered. This was great fun and whilst we dabbled in other languages, learning Ruby and Python, tinkering with shell scripts and Haskell, there were things we didn’t touch because we didn’t have to. That was, until another developer that was no longer with us, created a Perl script that needed updating. The fear in our eyes when that script came up, or when it needed to be used again for another client…
Continue reading “Learning Perl through code golf”