Geekery
111 Geekery articles in total, showing 21 to 30
-
Quick tip: Making files immutable on GNU/Linux
The other day, I was having some problems with Network Manager (I only ever have problems with it to be honest). It kept overwriting my /etc/resolv.conf — the file where you configure what nameservers your system will use. Even after I uninstalled Network Manger, on rebooot I would find my …
- Published:
-
Quick tip: Making Gandi SHA-2 certificates work with all browsers
At newint we are working our way through our SSL/TLS certificates to make sure they are all signed with SHA2 algorithim, rather than SHA1, which is starting to show its age. We use Gandi as our certificate provider. As you can see, they have very recently started issuing SHA2 certificates if you …
- Published:
-
Solved: Icedove/Davical CalDAV events disappear after reloading
A while back I upgraded Icedove/Thunderbird on some of my machines. Since then I have been able to add events to my calendar, but they have been disappearing on reload. It has been doing my nut in a bit, so I have written up the issue in case others hit the same problem.The problem …
- Published:
-
Making a secure elasticsearch on openshift with data from MySQL
As part of my role at New Internationalist I have a monthly reading day. This month I was researching Elasticsearch. This post summarizes the functional prototype setup I built to learn a little more about the elasticsearch technology. It also gave me a chance to have a play with RedHat’s O …
- Published:
-
How to make an adblocker with BIND and Apache on Debian
There are a few approaches to blocking ads. Adblock Plus seems to have become the most popular. It uses Firefox’s content policies interface and you can read more about how Adblock plus works on the FAQ.I have been playing around this week with another approach to Ad blocking, which is do …
- Published:
-
Javascript: the weird parts
Javascript. Love it or hate it it seems to have become the defacto virtual machine of the internet that Java was supposed to be. And it is odd. Like properly odd. This is a short collection of some weird things that I have noticed about it. I keep a little list of these by my desk for my ow …
- Published:
-
Vim macro: Sort aliases into alphabetical order with a macro
When I administer mail servers, I often use the aliases functionality to set up email groups and forwards. I find it very convenient to have everything in a single file. One thing that I don't like is keeping all the names in alphabetical order. While doing so might seeem like something from the …
- Published:
-
Online morse code translator. With sound. Using the web audio API.
Today’s project is this tool, which translates to and from morse code. In my version of morse code I introduce the _ to stand for a space between words. Characters are separated by a space. Try typing something in alphanumerics first._H_Web Audio API is not supported in this browser. S …
- Published:
-
Finding Twitter follower count with YQL instead of the Twitter API
Earlier today, a TwitRSS.me user, @pur_wie asked me if there was a way to get follower counts from Twitter.@ciderpunx Thanks for twitRSS.me. It works great in getting tweet texts.Is it possible to get the count,num of followers/followees?— Pur (@pur_wie) June 7, 2014Depending on your …
- Published:
-
Magento tip: Set number of new products shown in CMS block
I am currently doing a redesign of the New Internationalist ethical shop’s home page. I just spent about 20 minutes trying to work out how to set the number of products that are displayed in the new products block when it is called from within a CMS page in Magento.If you’re in the …
- Published: