Skip to content

Instantly share code, notes, and snippets.

View Wolvverine's full-sized avatar

Michał Panasiewicz Wolvverine

  • LinKomp
  • Warsaw,Poland
View GitHub Profile
@Wolvverine
Wolvverine / jq.md
Created March 19, 2025 18:52 — forked from jwbee/jq.md
Make Ubuntu packages 90% faster by rebuilding them

Make Ubuntu packages 90% faster by rebuilding them

TL;DR

You can take the same source code package that Ubuntu uses to build jq, compile it again, and realize 90% better performance.

Setting

I use jq for processing GeoJSON files and other open data offered in JSON format. Today I am working with a 500MB GeoJSON file that contains the Alameda County Assessor's parcel map. I want to run a query that prints the city for every parcel worth more than a threshold amount. The program is

#!/bin/bash
#
# Docker image tools shim.
#
# License: MIT
# Exit on any individual command failure.
set -e
##
<#
.SYNOPSIS
Script install FusionInventoryAgent
.DESCRIPTION
Script install FusionInventoryAgent
.EXAMPLE
PS C:\> <example usage>
Explanation of what the example does
.INPUTS
Inputs (if any)