Skip to content

Instantly share code, notes, and snippets.

@kornpow
kornpow / blkenvflash
Created October 22, 2024 20:04 — forked from Spiritdude/blkenvflash
LuckFox Pico Pro/Max SD card writer from .env.txt
#!/usr/bin/python3
# == BLKENVFLASH == written by Rene K. Mueller <[email protected]>
#
# Description:
# Writes an image (.img) or to the SD card direct from existing .env.txt for LuckFox Pico Pro/Max
#
# % ./blkenvflash disk.img
# -- inquery with `lsblk` which device is your SD card resides --
# % sudo dd if=disk.img of=/dev/sdX bs=1M; sync
@kornpow
kornpow / webhook.header.txt
Created June 12, 2024 15:53 — forked from matiaslopezd/webhook.header.txt
Woocommerce webhook payload and header example
expect 100-continue
content-length 1998
connection close
x-wc-webhook-delivery-id 36e520ebabc2fa725092ff4a47acedf2
x-wc-webhook-id 3
x-wc-webhook-signature 5poyFy4qB6fdvvT5pGbefZmfkpL48uD47F0WYwfmpo4=
x-wc-webhook-event created
x-wc-webhook-resource order
x-wc-webhook-topic order.created
x-wc-webhook-source https://www.website.com/
#### Move over block data to your Dojo ####
## If you wanted to copy over the data instead of moving it, see --> https://gist.github.com/05nelsonm/96ad8da7724de3a66f44d6c2d70b361c
## Written for Ubuntu Desktop 18.04 LTS & Dojo v1.0.0 ##
## Start Dojo
$ cd /path/to/docker/my-dojo/ && sudo ./dojo.sh start
## Login to the bitcoind docker container as root
@kornpow
kornpow / mydata.tsv
Last active August 29, 2015 14:06
mydata.tsv
firstname count
Locke 4
Reyes 8
Ford 15
Jarrah 16
Shephard 23
Kwon 42