Skip to content

Instantly share code, notes, and snippets.

View jamiew's full-sized avatar

Jamie Dubs jamiew

View GitHub Profile
View kaomojis, ascii art and other text

Cute Sparkles

These cool and girly glitters come with lots of flowers, hearts, bows and ribbons! These decorations can suit all sorts of happy and soft aesthetic moods ~ ✨(◕▿◕✿)

✧・゚: *✧・゚:*    *:・゚✧*:・゚✧
.・゜゜・  ・゜゜・.
。・゚゚・  ・゚゚・。
༶•┈┈⛧┈♛ ♛┈⛧┈┈•༶
✧༺♥༻∞  ∞༺♥༻✧

*✿❀ ❀✿*

jamiew / google_twunter_lol
Created July 28, 2011 20:34
All the dirty words from Google's "what do you love" project:
View google_twunter_lol
View gist:f92d5cd656230d0bd24fa64442400e42
if [ -z "$app" ]; then
echo "$0: specify binary/app name as first and only argument"
exit 1
echo "which: $(which "$app")"
jamiew /
Created January 8, 2016 17:14 — forked from witt3rd/
Sync Homebrew installations between Macs via Dropbox (including casks)
# Sync Homebrew installations between Macs via Dropbox
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*
jamiew / beos-netpositive-haiku-errors.txt
Created August 10, 2023 08:44 — forked from benjaminoakes/errors.txt
BeOS (NetPositive) haiku error messages
View beos-netpositive-haiku-errors.txt
Not a pretty sight
When the web dies screaming loud
The site is not found.
Morning and sorrow
404 not with us now
Lost to paradise.
jamiew /
Created July 19, 2023 17:00
import Helium denylist data into postgres data (e.g. on DeWi ETL)
# import helium denylist data from github to a local postgres table
echo "downloading from $url ..."
curl -s "$url" > "$csv"
echo "saved to $csv. file has $(cat $csv | wc -l) rows"
jamiew /
Created July 18, 2023 16:18 — forked from dansku/
Helium ETL Setup Tutorial

Setting up a Helium ETL

This documents explains a quick intro how to setup your own ETL server for the Helium Blockchain. Running an ETL is not an easy task, but hopefully this document will help you get started, and by the end you will have the blockchain up and running.

Server Requirements

  • 2TB SSD (NVME prefered) disk

Install and configure PostgreSQL + PostGis

jamiew /
Created December 7, 2019 16:01
WIP script to intelligently upate my Plex library after sabnzbd downloads are done
# sabnzbd post-download notification script for Plex
# Define $PLEX_TOKEN in your environment
# Debug arguments to sab
echo "Args:"
for word in "$@"; do
echo "$word"
jamiew / ipfs-main.json
Last active August 12, 2022 04:52 — forked from eefahy/ipfs-main.json
Grafana dashboard configuration for the IPFS Prometheus endpoint
View ipfs-main.json
"annotations": {
"list": [
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
jamiew / Munin Passenger Phusion Memory Stats.rb
Created October 31, 2008 18:55
munin plugin to monitor Passenger Phusion memory stats
View Munin Passenger Phusion Memory Stats.rb
#!/usr/bin/env ruby
# put in /etc/munin/plugins and restart munin-node
# by Dan Manges,
# NOTE: you might need to add munin to allow passwordless sudo for passenger-memory-stats
def output_config
puts <<-END
graph_category App
graph_title Passenger memory stats
graph_vlabel count