Skip to content

Instantly share code, notes, and snippets.

View greenbigfrog's full-sized avatar

Jonathan greenbigfrog

  • SenseLabs GmbH
  • Germany
View GitHub Profile
@greenbigfrog
greenbigfrog / README.md
Created October 14, 2026 14:28
Performance of TimescaleDB during Development on Mac

I was confused, why timescaleDB was performing poorly. Switching from a AMD64 virtualized image to a native ARM64 had a crazy change in performance.

This table shows the difference in Upserting ~500.000 measurements. These numbers are not sampled across multiple runs.

Write path Emulated AMD64 Native ARM64
Current upsert 272.0 s 17.4 s
Multi-row upsert, 1,000 rows per batch 67.9 s 33.7 s
COPY plus set-based upsert 28.4 s 1.8 s
@greenbigfrog
greenbigfrog / README.md
Created June 26, 2026 10:24
Required Homebrew Dependencies for build QGIS on MacOS

Homebrew Dependencies:

brew install \
  cmake ninja ccache pkg-config bison flex \
  qt qtkeychain qca qscintilla2 \
  python@3.14 sip pyqt pyqt-builder \
  gdal proj geos sqlite libzip protobuf gsl \
  libpq spatialite-tools libspatialite \
  pdal draco zstd \
  opencl-headers opencl-clhpp-headers \
@greenbigfrog
greenbigfrog / isdt-c4.md
Last active December 1, 2022 19:55
ISDT C4 teardown, fan replacement, how to open

Had trouble finding info on how to open the ISDT C4, until I finally somehow found this video: https://www.youtube.com/watch?v=K6x7sLFgUHc

There's a total of 6 screws. 2 in the battery bay, and 4 under the screen: taken from video linked above

Maybe putting this here, will make it easier for google...

Other stuff

Some other cool mods/hacks I found on thingiverse and might try myself at some point:

@greenbigfrog
greenbigfrog / boot.bash
Last active February 23, 2021 10:49
Dogecoin "Super"Node Quick Setup
sudo apt-get -y install libboost-all-dev tmux git aria2 < /dev/null
wget https://github.com/greenbigfrog/dogecoin-bootstrap/releases/download/v2021.01.29/dogecoin-bootstrap-2021-01-29.torrent
echo 'ln -s ~/dogecoin-bootstrap-2021-01-29 ~/.dogecoin' >> ~/hook.bash
chmod +x ~/hook.bash
tmux new-session -d 'aria2c --check-integrity=true --bt-max-peers=0 --seed-ratio=0 --on-bt-download-complete="/root/hook.bash" dogecoin-bootstrap-2021-01-29.torrent'
while [ ! -d ~/.dogecoin ];do for s in / - \\ \|; do printf "\r$s Waiting for torrent to finish";sleep 1;done;done
wget https://github.com/greenbigfrog/dogecoin-bootstrap/releases/download/1.14.2_no-auxpow/dogecoin-cli
wget https://github.com/greenbigfrog/dogecoin-bootstrap/releases/download/1.14.2_no-auxpow/dogecoind
chmod +x dogecoin*
@greenbigfrog
greenbigfrog / README.md
Last active February 24, 2021 04:52
How to install docker dogecoin node
# version
# Betaflight / STM32F405 (S405) 4.2.2 Aug 16 2020 / 01:46:41 (e833ac612) MSP API: 1.43
# config: manufacturer_id: AIRB, board_name: OMNIBUSF4SD, version: 3a35e73b, date: 2019-09-30T05:46:12Z
# start the command batch
batch start
board_name OMNIBUSF4SD
manufacturer_id AIRB
gbf 775.64M ( 1.29ns) (± 1.99%) 0 B/op fastest
builtin 231.94M ( 4.31ns) (± 1.15%) 0 B/op 3.34× slower
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCzVjG92P8FewSnHJMwJIzvaQSyQWtz9thMHUIUC+Buy7lkaKdnOq8y05vtn9Q91X4pVhivYf7RmrMJoIV1Rbm5oqd4LXy8VXwE1+ikyBzMlN/KCMwnKAuwRkKGVWSYKeew8PcQhkA/ckx4t8jbuVNQ/II26UtSOG09ey3lQoj6sgIfWL9+vsGm1UbxQOv3TAyi6o40e/pxdK4Rp+EpK82VJHvTxll+CkjfvCG0/gnQ+WsIUPR98V+o1xiDPO1egZ7JafDmxSJI4txO9Vleoo7/91j1ki42nlGZIXCvDMXoxNAK1Uwqjt+H+CswO3hclaaWeyrabffsdTD2wM1R3CynkV0i86dVmzO/4saniFb2JXYcE1sJ284YXHuqsHKZBHGvmQrN+1Nlvbzdnb5MfZo8h6NJnzp3/aoPB3HnhbYCjkWYC9XbLh9vUCGxdVc5P1qPztk1eZavEykOnQucZHVxYO7VxEBH90clnm++GvyXg5Q7LVcLZLPViEd4zFjiCkGmKFps8vhAyT/Heaut6X9OYNafclJPwZ5raJwRS6GF3mGzqCKunkJ0fZtbLy1FprWs7svX/FF1FdVyVjsMkbXSp/ozrrYUFpVGD3g5Wanxfu5CFZYIWZSsJKGM04HNRqA7MJrprMlyi4RNNYbse4CE4sez608uYUAcFPVRc5hBNQ== frog@thebar
*Is that a drone?* Depends on your definition.
*How fast does it go?* Ludicrous Speed.
*How high does it fly?* Who's asking?
*How much does it cost to buy one?* More than you can probably afford.
*Should I call the police?* Only if you want to give them something to do.

Keybase proof

I hereby claim:

  • I am greenbigfrog on github.
  • I am greenbigfrog (https://keybase.io/greenbigfrog) on keybase.
  • I have a public key whose fingerprint is 2EB2 1F1A 3087 86C5 16E9 5647 D238 903E A57E 39EE

To claim this, I am signing this object: