Skip to content

Instantly share code, notes, and snippets.

@Igglybuff
Igglybuff / nzbget.json
Created June 28, 2020 19:40
NZBget Grafana dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@Igglybuff
Igglybuff / autodl-irssi-slack.md
Last active October 3, 2022 21:16
Slack notifications for autodl-irssi

autodl-irssi Slack notifications

Dependencies

  • A Slack workspace
  • autodl-irssi set up in ruTorrent
  • Docker (sort of optional)

Instructions

@Igglybuff
Igglybuff / match-releases.py
Created December 20, 2018 13:06
Python Flask app for generating a match releases expression for autodl-irssi from dvdsreleasedates.com
from flask import Flask, Response
import requests
from bs4 import BeautifulSoup
app = Flask(__name__)
@app.route("/")
def index():
resp = scrape_releases()
@Igglybuff
Igglybuff / match-releases.sh
Last active December 20, 2018 12:10
A very scrappy (and probably brittle) script for generating a "Match Releases" expression for autodl-irssi from dvdsreleasedates.com. Requires Lynx.
#!/bin/bash
#
# Depends on Lynx:
#
# $ apt-get -y install lynx
#
URL="https://www.dvdsreleasedates.com/"
@Igglybuff
Igglybuff / .i3blocks.conf
Created November 8, 2016 15:14
My i3 configuration files (i3-gaps + i3blocks) as of 08/11/16.
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
@Igglybuff
Igglybuff / asterix
Created January 6, 2016 19:57
Exercising my brain by printing things on the screen.
#!/bin/bash
for i in {1..51}; do
j=$((51 - $i))
printf %"$j"s
if [[ $i > 1 ]]; then
p=$(($i + $i))
fi
printf %"$p"s | tr " " "*"
echo
@Igglybuff
Igglybuff / config
Created January 3, 2016 14:30
newsbeuter config
unbind-key j
unbind-key k
bind-key j down
bind-key k up
bind-key ^D pagedown
bind-key ^U pageup
color listfocus color98 color234
#color listnormal color98 color234
@Igglybuff
Igglybuff / vin-thumbs
Created December 24, 2015 22:53
vinetto + Thumbs.db image extractor for forensics
#!/bin/bash
#
# finds all Windows thumbnail caches in the current directory
# and all subdirectories, then extracts the thumbnail images
# with vinetto to a directory.
#
# a little dirty, but it works.
file_list=()
while IFS= read -d $'\0' -r file ; do
@Igglybuff
Igglybuff / .i3config
Created July 30, 2015 16:58
i3 config file
# autostart applications
# some of these probably shouldn't be in here
# i am a lazy whore
exec /home/wigglytuff/.screenlayout/default1.sh
exec xset -dpms
exec xset s noblank
exec xset s 0 0
exec xset s off
exec xset r rate 200 25
exec compton &
@Igglybuff
Igglybuff / .i3blocks.conf
Created July 30, 2015 16:54
config file for i3blocks
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command