Skip to content

Instantly share code, notes, and snippets.

View tarciosaraiva's full-sized avatar

Tarcio Saraiva tarciosaraiva

View GitHub Profile
#!/bin/sh
set -e
curl http://v0.postcodeapi.com.au/suburbs/3004.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
curl http://v0.postcodeapi.com.au/suburbs/3006.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
curl http://v0.postcodeapi.com.au/suburbs/3011.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
curl http://v0.postcodeapi.com.au/suburbs/3012.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
curl http://v0.postcodeapi.com.au/suburbs/3013.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
curl http://v0.postcodeapi.com.au/suburbs/3015.json -H 'Accept: application/json' | jq -c "{(.[0].postcode | tostring): [.[] | .name]}"
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet rd.udev.log-priority=3 acpi_osi=! acpi_osi=\"Windows 2009\""
[global_config]
enabled_plugins = BackgroundZoom, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
title_hide_sizetext = True
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = Dracula
type = Terminal