Skip to content

Instantly share code, notes, and snippets.

View jordandrako's full-sized avatar

Jordan Janzen jordandrako

View GitHub Profile
This file has been truncated, but you can view the full file.
; generated by PrusaSlicer 2.6.0+win64 on 2023-08-01 at 20:10:29 UTC
; external perimeters extrusion width = 0.63mm
; perimeters extrusion width = 0.66mm
; infill extrusion width = 0.66mm
; solid infill extrusion width = 0.66mm
; top infill extrusion width = 0.60mm
; support material extrusion width = 0.54mm
; first layer extrusion width = 0.63mm
@jordandrako
jordandrako / VisGraph.tsx
Created October 20, 2021 23:10 — forked from ZachHaber/VisGraph.tsx
Re write of https://github.com/crubier/react-graph-vis to a function component for strict mode compliance
import React, {
forwardRef,
HTMLAttributes,
useEffect,
useImperativeHandle,
useRef,
useState,
} from 'react';
import { DataSet } from 'vis-data';
import {
@jordandrako
jordandrako / monitor_albums.sh
Last active April 22, 2024 06:00
[Un]monitor Albums in Lidarr
#!/bin/bash
helpText="
# Usage:\n
#\n
# ./monitor_albums.sh -k 'apiKey' -b 'http://host:port' -t [Single|EP|Album] [-m|u|A|h][-n 'artist name'][-i artistId]\n
#\n
# Required Options:\n
# -k Your Lidarr API Key (defaults to \$apiKey env variable)\n
# -b Your Lidarr instance URL (defaults to \$baseUrl env variable)\n
@jordandrako
jordandrako / recently_added.html
Last active May 22, 2018 03:49
Tautulli newsletters
% if data:
<%
import plexpy
from plexpy.helpers import grouper, get_img_service
recently_added = data['recently_added']
if plexpy.CONFIG.NEWSLETTER_SELF_HOSTED and plexpy.CONFIG.HTTP_BASE_URL:
base_url = plexpy.CONFIG.HTTP_BASE_URL + plexpy.HTTP_ROOT + 'newsletter/'
elif preview:
base_url = 'newsletter/'
{
"list": [
{
"id": 0,
"title": "Tapatio",
"subtitle": "Tapatío is a hot sauce, produced in Vernon, California",
"description":
"'Tapatío' is the name given to people from Guadalajara, Jalisco: the company's founders come from Guadalajara. It is exported to Mexico, Canada, Central America, Australia and a few countries in Europe. The ingredients, as listed on the product label, are: water, red peppers, salt, spices, garlic, acetic acid, xanthan gum and sodium benzoate as a preservative. Tapatío comes in five sizes: 5, 10, and 32 fl oz., and 1 gallon (3.785 liters), as well as in 7 gram packets. The product slogan is 'Es una salsa ... Muy salsa' (roughly, 'It's a sauce... (that's) very saucy')",
"imageURL": "https://i.imgur.com/9S9ynr0.png"
},