Guillaume Hérail

Ramblings in Frenglish

Recent posts

Jan 10, 2021
Find oldest files in a directory recursively Small post today, just a command. I’ll start posting commands I’ve found useful under the commands tag. Example to find the top 5 oldest files that are named *index recursively in a directory: find /path/to/directory -name '*index' -type f -printf '%T+ %p\n' | sort | head -n 5 – This is day 8/100 of #100DaysToOffLoad!
Jan 9, 2021
WireGuard on your EdgeRouter I use WireGuard as my personal VPN. My dedicated server is my main peer to which I connect my phone, laptop and my router. Setting up WireGuard on Android or Ubuntu is pretty straightforward though it is a bit different on an EdgeRouter from Ubiquiti. The EdgeRouters are running EdgeOS which is a fork of Vyatta, a specialized distribution based on Debian. Vyatta provides a command line interface that resembles the one you can find on a Juniper or Cisco device.
Jan 8, 2021
WhatsApp: what now? WhatsApp started giving an ultimatum to its users: accept that your data is shared with facebook or stop using the app. Having that in mind, what are the alternatives knowing that WhatsApp is ubiquitous, especially in Europe. I’m completely sold to Signal myself but as I discuss the matter with my friends and family, I need to repeat arguments pro and against other platforms. Before going further, I know that this topic can trigger wars as everyone wants to preach for their church.
Jan 7, 2021
OpenTracks, the privacy respecting sport tracker OpenTracks is “A sport tracker that completely respects your privacy.”. I’ve been getting back to running lately and I wanted something to track my runs and see how I did. I used to have sport/smart watches in the past and while these worked pretty well, they are pulling more and more data about you and your runs and I didn’t feel comfortable sharing these anymore. I thus started looking into privacy-respecting alternatives and while I was doing that, I stumbled upon a toot from Hyde who was looking for the same thing.
Jan 6, 2021
Working From Home Tips 2020 and the Coronavirus pushed a lot of people to work from home and by the look of it, it’ll continue for at least a good part of 2021. Here are a few things I try to hold on to make sure I work in the right conditions while not overworking myself. Dedicate a room I understand not everybody can have that luxury (and I currently don’t). Having a room allows you to enter your office and leave it at night.
Jan 5, 2021
Use your reMarkable as a whiteboard I’ve bought a Remarkable 2 when they were announced and received it a whopping 6 months later thanks to Covid-19. One of the reasons for me to buy it was the possibility to stream its screen to my laptop and then use it as a whiteboard to quickly sketch a diagram. reStream just released support for the reMarkable 2 so we can start playing! First, you’ll need an SSH access to your reMarkable.
Jan 4, 2021
JIRA on the CLI Small discovery I’ve made a while ago: jira. It’s a small go binary that can do about everything you want on JIRA. Let’s first log into our JIRA instance: mkdir ~/.jira.d/ echo 'endpoint: jira.company.com' > ~/.jira.d/config.yml jira login And then create our first issue! jira create -p PROJ -i Task -b This command will create a Task in PROJECT and then open it in your browser. Upon creation, it’ll fire up your $EDITOR for you to edit the fields you need.
Jan 3, 2021
100 Days to Offload I’ve always wanted to write a blog. Over the past 15-20 years, I’ve installed multiple blog engines or even created mine. Around 2004, when blogging was the thing everyone was doing, I had a dotclear installed that I spent hours tweaking and choosing the perfect theme for. It was great, save for the lack of content. I repeated the same operation with Wordpress, a homemade thing in PHP, Jekyll, and last: Hugo, the one you are reading right now.
Nov 6, 2019
How to separate work/personal life on Firefox I’m an avid Firefox user, both at work and in my personal life. As such I have some conflincting settings and addons. For example, I use the Lastpass addon in both contexts but since I use different accounts, I needed a way to get them to cohabitate. To cope with that, Firefox comes with profiles. Firefox profiles? Firefox comes with profiles, you can use them to isolate a set of settings/addons/plugins/bookmarks/…
Apr 2, 2018
Lets Encrypt Behind The Firewall Dehydrated is a client for getting certificates from an ACME server (think let’s encrypt). Being written in bash, its dependencies are quite simple: curl/sed/grep/mktemp. Dehydrated allows us to write simple hooks that, in this post, we’ll use to do dns validation against our authoritative bind server. That way, you can use let’s encrypt certificates even if your server is behind a firewall! (provided it has access to your dns authoritative server)