If you work across multiple IDEs, you’ve probably noticed that each one maintains its own spelling dictionary. Add a word in PyCharm, and PhpStorm still underlines it. Teach Hunspell a word, and your IDE doesn’t know it. That’s where merge-dictionaries comes in. This tool automatically discovers your dictionaries, extracts the words, and merges them into […]
Read moresecretsmith: a Python helper for Vault and OpenBao
After building numerous applications that needed to connect to HashiCorp Vault or OpenBao, I found myself copying the same configuration parsing and client connection code over and over again. The Python hvac library is powerful but verbose for common operations, especially when dealing with KV2 secrets engines. Today, I’m excited to announce secretsmith – a […]
Read moreSwitch NetBox custom field type from Object to Multiple objects
Nasqueron uses NetBox as source of truth for its network. It’s mainly use for IPAM to store IP configuration, both for our private network and the public addresses. NetBox allows to create custom fields to store extra information in addition to the base model.We leveraged this to add default gateway, an information useful to configure […]
Read moreGet URL from Git commit hash
SHA-1 Git hashes can be mapped to code review or code repository URL to offer a web visualization with additional context. The resolve-hash command allows to get such URL from a Git hash, or another VCS reference. It can search Phabricator, Gerrit, GitHub and GitLab currently. Ouf of the box, it will detect your ~/.arcrc […]
Read morePhabricator: a script to find TODO lines in a code base and generate bug reports.
Sometimes, a code base is haunted with dozens of lines like this one: This line doesn’t explain the current state of code as much as it offers a feature request. But this feature request isn’t really visible, you have to browse the relevant code file to see it. So, what about transform all these todo lines […]
Read more