Make Prism.js show line numbers by default (without CSS classes)
For client-side syntax highlighting with Hugo, I think Prism.js is the best of the many options available to web developers. It’s highly configurable, supports plenty of languages, and produces a very attractive-looking end product.
There was one bugaboo bothering me, though. One of the Prism features that really impressed me was its ability to put in line numbers in code blocks. This looks good and makes it easier to reference small pieces of code when writing and commenting on it.
Read moreHow to view academic journal articles off campus using your library's proxy
If you are a student or researcher, you are probably aware that much of the academic research out there is not free to access. However, if you’re affiliated with a university, you may also notice that you can access academic journals and similar content without any effort when you’re connected to your institution’s WiFi.
Suddenly, at home, the journal websites complain that you need to pay up to see the content. Chances are, though, that you can use your library’s proxy to see it.
Read moreHow to deploy a Hugo site to DigitalOcean automatically with Wercker
Getting Things Tech recently switched from WordPress to Hugo, the latter of which is a static website generator. Further, we moved our hosting over to DigitalOcean, which makes things very speedy. As we like to do, it’s time to look under the hood and show you how to deploy a Hugo site like this one to DigitalOcean painlessly, with Wercker.
Read moreA Zotero workflow with ZotFile
I’ve talked before about why you should use Zotero, but for many people, it takes some guidance to get it really working for you. This is especially true if you’d like to use a Zotero workflow that involves managing your documents and research more generally. Here’s our primer on using Zotero to organize your documents in addition to using its citation and bibliography-building capabilities. The Zotero add-on called ZotFile will help out, too.
Read moreHow to opt out of ad tracking online: A complete guide

We often talk about privacy here at Getting Things Tech and one of the things we are talking about when we say privacy is the massive data collection that goes on as a means to sell more effective advertising. There are pros and cons to this and we generally consent because we are assured that it lets things stay free.
However, when we know the extent to which the NSA and other intelligence organizations are gaining access to any stores of data, it might just make sense to disallow anyone from gathering personal information online, even if it is “just” to target you with ads.
Read more

