Wazuh Admin API Authentication Guide
A comprehensive guide for authenticating with the Wazuh API and creating admin users with elevated privileges for effective security management.
366 words
|
2 minutes
Formatting thousands in Jinja
2024-04-24
Here's how to format a number in Jinja with commas for thousands, without needing any custom filters or template functions:
55 words
|
1 minute
Skipping a GitHub Actions step without failing
I wanted to have a GitHub Action step run that might fail, but if it failed the rest of the steps should still execute and the overall run should b...
132 words
|
1 minute
Analyzing Google Cloud spend with Datasette
Google Cloud provide extremely finely grained billing, but you need to access it through BigQuery which I find quite inconvenient.
288 words
|
1 minute
Using Tesseract.js to OCR every image on a page
Pasting this code into a DevTools console should load [Tesseract.js](https://github.com/naptha/tesseract.js) from a CDN, loop through every image l...
163 words
|
1 minute
Pixel editing a favicon with Pixelmator
I wanted to [add a favicon](https://github.com/simonw/datasette/issues/1603) to Datasette, using a PNG image served from `/favicon.ico` as suggeste...
295 words
|
1 minute
Migrating a GitHub wiki from one repository to another
I figured out how to migrate a [GitHub wiki](https://docs.github.com/en/communities/documenting-your-project-with-wikis/about-wikis) (public or pri...
117 words
|
1 minute
Using nginx to proxy to a Unix domain socket
I figured this out while adding `--uds` support to Datasette in [#1388](https://github.com/simonw/datasette/issues/1388). Save the following in `ng...
109 words
|
1 minute