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

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…

Kellian COTTART

Par Kellian COTTART

13 mai 2022

Nix package creation: install a not yet supported font

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…

David WORMS

Par David WORMS

29 mars 2022

Mount Aladdin eToken in Firefox on Archlinux

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…

César BEREZOWSKI

Par César BEREZOWSKI

12 juil. 2019

Recover from an EFI failure on a dedicated server

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…

Grégor JOUET

Par Grégor JOUET

16 avr. 2019

First Class Functions in Python

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…

Arthur BUSSER

Par Arthur BUSSER

15 avr. 2019

A CoreOS development cluster with Vagrant and VirtualBox

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…

Arthur BUSSER

Par Arthur BUSSER

20 juin 2018

Guide to Keybase encrypted directories

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…

Arthur BUSSER

Par Arthur BUSSER

18 juin 2018

Change Ambari's topbar color

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…

César BEREZOWSKI

Par César BEREZOWSKI

9 juil. 2017

Network Namespace without Docker

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…

Pierre SAUVAGE

Par Pierre SAUVAGE

6 juil. 2016

A simple connect middleware to transpile CoffeeScript files

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…

David WORMS

Par David WORMS

4 juil. 2014

Maven 3 behind a proxy

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…

David WORMS

Par David WORMS

11 juil. 2013

Node CSV version 0.2.7

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.…

David WORMS

Par David WORMS

9 juil. 2013

Merging multiple files in Hadoop

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…

David WORMS

Par David WORMS

12 janv. 2013

Convert .flac music files to .mp3 on osx

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…

David WORMS

Par David WORMS

20 juil. 2012

Coffee script, how do I debug that damn js line?

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…

David WORMS

Par David WORMS

15 févr. 2012

How Node CSV parser may save your weekend

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…

David WORMS

Par David WORMS

13 déc. 2011

Canada - Maroc - France

Nous sommes une équipe passionnée par l'Open Source, le Big Data et les technologies associées telles que le Cloud, le Data Engineering, la Data Science le DevOps…

Nous fournissons à nos clients un savoir faire reconnu sur la manière d'utiliser les technologies pour convertir leurs cas d'usage en projets exploités en production, sur la façon de réduire les coûts et d'accélérer les livraisons de nouvelles fonctionnalités.

Si vous appréciez la qualité de nos publications, nous vous invitons à nous contacter en vue de coopérer ensemble.

Support Ukrain