Hack
Retour d'expériences rencontrés au fil de nos tribulations allant de la résolution de problèmes à l'utilisation de Linux.
Articles associés

NixOS: Enabling LXD virtual machines using Flakes
Catégories : Hack, Learning | Tags : Learning and tutorial, Linux, LXD, Packaging, VM, GitHub, NixOS, Open source
Nixpkgs is an ever-increasing collection of software packages for Nix and NixOS. Even with more than 80,000 packages, you easily run in a situation where there is a functionality that is not yet…
Par Kellian COTTART
13 mai 2022

Nix package creation: install a not yet supported font
Catégories : Hack | Tags : Learning and tutorial, Linux, Packaging, GitOps, NixOS, Open source
The Nix packages collection is large with over 60 000 packages. However, chances are that sometimes the package you need is not available. You must integrate it yourself. I needed for some fonts which…
Par David WORMS
29 mars 2022

Mount Aladdin eToken in Firefox on Archlinux
Catégories : Hack | Tags : Arch Linux, Cyber Security, Firefox, Security, Smart card, 2FA
Given you’re on Archlinux and have an Aladdin eToken, let’s see how we can mount it in Firefox for web authentication. An Aladdin eToken is a cryptographic device (token, smart card) that stores…
Par César BEREZOWSKI
12 juil. 2019

Recover from an EFI failure on a dedicated server
Catégories : Hack | Tags : Infrastructure, Linux, Cloud
A few weeks ago, before upgrading our Ubuntu systems, we sort of messed around with our EFI partitions and the impacted servers never came back online on system reboot after the upgrade. Provisionning…
Par Grégor JOUET
16 avr. 2019

First Class Functions in Python
Catégories : Hack, Learning | Tags : Programming, Python
I recently watched a talk by Dave Cheney about first class functions in Go. Python supports first class functions too, so can we use them in the same ways? Absolutely. I have been using Python for a…
Par Arthur BUSSER
15 avr. 2019

A CoreOS development cluster with Vagrant and VirtualBox
Catégories : Hack, Infrastructure | Tags : Arch Linux, CoreOS, Linux, VirtualBox, etcd, Vagrant
Following CoreOS’s instructions on how to set up a development environment in VirtualBox did not work out well for me. Here are the steps I followed to get Container Linux up and running with Vagrant…
Par Arthur BUSSER
20 juin 2018

Guide to Keybase encrypted directories
Catégories : Cyber Security, Hack | Tags : Cryptography, Encryption, File system, Keybase, PGP, Authorization
This is a guide to using Keybase’s encrypted directories to store and share files. Keybase is a group, file and chat application who’s goal is to bring public key crypto based on PGP to everyone in…
Par Arthur BUSSER
18 juin 2018

Change Ambari's topbar color
Catégories : Big Data, Hack | Tags : Ambari, Front-end
We recently had a client that has multiple environments (Production, Integration, Testing, …) running on HDP and managed using one Ambari instance per cluster. One of the questions that came up was…
Par César BEREZOWSKI
9 juil. 2017

Network Namespace without Docker
Catégories : Hack | Tags : DNS, Linux, Namespaces, VLAN, Docker, Network
Let’s imagine the following use case: I am connected to several networks (wlan0, eth0, usb0). I want to choose which network I’m gonna use when I launch apps. My app doesn’t allow me to choose a…
Par Pierre SAUVAGE
6 juil. 2016

A simple connect middleware to transpile CoffeeScript files
Catégories : Hack, Node.js | Tags : Tools, CoffeeScript, Node.js
This new module called connect-coffee-script is a Connect middleware used to serve JavaScript files written in CoffeeScript. This middleware is to be used by connect or any Connect compatible…
Par David WORMS
4 juil. 2014

Maven 3 behind a proxy
Catégories : Hack | Tags : Maven, Java, Proxy
Maven 3 isn’t so different to it’s previous version 2. You will migrate most of your project quite easily between the two versions. That wasn’t the case a fews years ago between versions 1 and…
Par David WORMS
11 juil. 2013

Node CSV version 0.2.7
Catégories : Hack | Tags : Pipeline, CoffeeScript, CSV, Node.js
While I’m release version 0.2.7 of the CSV parser for Node.js, I stop here to drop a few lines of what has made into this release. We are now using the latest CoffeeScript, which is version 1.4.…
Par David WORMS
9 juil. 2013

Merging multiple files in Hadoop
Catégories : Hack | Tags : File system, Hadoop, HDFS
This is a command I used to concatenate the files stored in Hadoop HDFS matching a globing expression into a single file. It uses the “getmerge” utility of but contrary to “getmerge”, the final…
Par David WORMS
12 janv. 2013

Convert .flac music files to .mp3 on osx
Catégories : Hack | Tags : OS X, File Format
As an osx user for years now, one should know by then that iTunes doesn’t support the flac format. We are now in 2012, I’ve been waiting for this to happen since years know. Loosing patience, dark…
Par David WORMS
20 juil. 2012

Coffee script, how do I debug that damn js line?
Catégories : Hack, Node.js | Tags : Debug, CoffeeScript, JavaScript, Node.js
Update April 12th, 2012: Pull request adding error reporting to CoffeeScript with line mapping Chances are that, if you code in CoffeeScript, you often find yourself facing a JavaScript exception…
Par David WORMS
15 févr. 2012

How Node CSV parser may save your weekend
Catégories : Hack | Tags : Bash, Hack, CSV, Node.js
Last Friday, an hour before the doors of my customer close for the weekend, a co-worker came to me. He just finished to export 9 CSV files from an Oracle database which he wanted to import into…
Par David WORMS
13 déc. 2011