Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Joshua Seigler",
"label": "Senior Front End Web Developer",
"picture": "https://avatars.githubusercontent.com/seigler",
"email": "joshua@seigler.net",
"website": "https://joshua.seigler.net",
"summary": "A skilled front end developer experienced in building and using cutting edge technology, with strong communication skills.",
"location": {
"countryCode": "USA",
@seigler
seigler / dashcore-node.json
Created September 12, 2019 16:51
nginx proxied dashpay-dapi docker compose with letsencrypt certificate
{
"network": "testnet",
"port": 3001,
"services": [
"dashd",
"web",
"@dashevo/insight-api"
],
"servicesConfig": {
"dashd": {
@seigler
seigler / KSlowMoviePlayer
Last active April 18, 2019 22:50
Script to watch a movie on a Manjaro KDE wallpaper over the course of a month
#!/bin/bash
if [ -f "$1" ]
then
export DISPLAY=:0
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
Duration=$(mediainfo --Inform="Video;%Duration%" "$1")
Now=$(date +%s)
BOM=$(date -d "$(date +"%Y-%m-01")" +%s)
EOM=$(date -d "$(date +"%Y-%m-01") + 1 month - 1 second" +%s)
Seek=$(echo "scale=2; $Duration*($Now-$BOM)/($EOM-$BOM)/1000" | bc)
@seigler
seigler / Rothko_Generator.svg
Created January 5, 2018 23:13
Rothko style painting SVG generator
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@seigler
seigler / hashtag-collector.sh
Last active June 18, 2017 05:11
Hashtag photo collector
#!/bin/bash
urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
json=$(mktemp)
hashtag="firstdashwallet"
regex="X[a-zA-Z0-9]{33}"
twurl "/1.1/search/tweets.json?q=%23$hashtag+filter:images&result_type=recent&count=100&tweet_mode=extended" > ${json}
while true; do
@seigler
seigler / svgoverlay
Last active October 9, 2022 13:57
Python script to display an SVG file on the desktop as a transparent overlay
#!/usr/bin/env python3
#
# svgoverlay
# Based on Fiverr Job completed by https://www.fiverr.com/nvella
# Display an SVG from disk or URL in a fullscreen, transparent, click-through window, with settable opacity.
# When used on Arch Linux, requires AUR package python-gobject-patched for click-through functionality
#
# Example usage:
# svgoverlay --opacity 0.8 --monitor 0 filename.svg
#
@seigler
seigler / keybase.md
Created November 25, 2016 03:02
Keybase verification

Keybase proof

I hereby claim:

  • I am seigler on github.
  • I am joshuaseigler (https://keybase.io/joshuaseigler) on keybase.
  • I have a public key whose fingerprint is 9088 3582 06E0 1065 5916 6A44 7420 DD8C 81DA 8635

To claim this, I am signing this object: