Skip to content

Instantly share code, notes, and snippets.

View icco's full-sized avatar
🏠
Working from home

Nat Welch icco

🏠
Working from home
View GitHub Profile
@EricZimmerman
EricZimmerman / Caddy_AuthCrunch.md
Last active June 8, 2025 05:41
Caddy and Authcrunch working example

After pulling everything together, I thought it would be a good idea to document what ended up working for me with the following setup:

  1. *darr apps
  2. Some 3d printers
  3. MobilRaker
  4. NZB360

This stack requires the following

  • Protecting the sites from unauthorized access
@akagr
akagr / download_kindle.js
Last active June 12, 2025 16:41
Download kindle books from Amazon web
/*
I was looking to try a non-kindle e-reader, but my library kept weighing me down. While I had calibre and the de-drm plugin, I found the downloaded books on my kindle were in kfx format and weren't playing well with calibre, even with the kfx input plugin.
Further, I found downloading books directly from web (Amazon > content library) did give me an azw3 file, which works well with de-drm.
To automate part of the process, I wrote a short js script. It doesn't walk through all the pages in content library, but it does download all the books currently visible on the list. Amazon lets us view 25 books per page, so I just had to switch pages, run script, repeat.
The meat of this script is constructing the url used to start a download. Device type, serial number, customer id etc. will be different for everyone, so it's best to download one book manually and check the network inspector for the request details. Apart from the book's `key`, all other details remain same for all the books (at least they did for me
@Soitora
Soitora / plex-guid-grabber.user.js
Last active January 27, 2025 11:33
Grab the GUID of a Plex entry
// ==UserScript==
// @name Plex GUID Grabber
// @namespace plex-guid-grabber
// @include http://plex.*/*
// @include https://plex.*/*
// @include https://app.plex.tv/*
// @include *:32400/*
// @version 1.3.2
// @description Grab the GUID of a Plex entry on demand
// @icon https://app.plex.tv/desktop/favicon.ico
@dcousineau
dcousineau / nyc-closures.md
Created November 7, 2023 20:06
WeWork NYC closures
  • 1 Little W 12th St New York, NY 10014
  • 1 Union Square West New York, NY 10003
  • 10 East 38th Street, New York, NY 10016
  • 10 East 40th Street New York, NY 10016
  • 1156 6th Avenue, New York, NY 10036
  • 130 Madison Avenue, New York, NY 10016
  • 161 Avenue of the Americas New York, NY 10013
  • 1619 Broadway, 11th Floor, New York, NY 10019
  • 183 Madison Avenue, New York, NY 10016
  • 200 Broadway, New York, NY 10038
@Xmonpl
Xmonpl / 20discord
Last active April 23, 2025 12:52
Discord notification for OpenMediaVault
#!/bin/bash
#CREATED BY XMON FOR OpenMediaVault
DISCORD_WEBHOOK='PUT YOUR WEBHOOK LINK HERE'
generate_post_data() {
cat <<EOF
{
"content": "",
"embeds": [{
"title": "${OMV_NOTIFICATION_SUBJECT}",
@progrium
progrium / README.md
Last active October 17, 2021 18:33
Large Type CLI utility for Mac in less than 80 lines of Go

largetype

largetype screenshot

Building

Note: For now, Apple Silicon users need to be set up for x86 mode

First, download Go or brew install go. Then, put largetype.go in a directory called largetype and from there run:

$ go mod init largetype
@webarchitect609
webarchitect609 / terminal.sh
Last active April 16, 2025 13:23
Git: disable GPG signing for current repo only.
# Write local
git config --local commit.gpgsign false
# Read local (if never set, can be an empty value)
git config --local commit.gpgsign
@IanColdwater
IanColdwater / twittermute.txt
Last active April 14, 2025 16:31
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
#!/bin/bash
#
# A script that takes a Twitter data archive, which is produced as a
# set of JavaScript files (different from the regular archive, which
# is CSV and HTML), and converts the `tweet.js` file, which contains
# all of the tweets, into tractable JSON, one tweet per line. It then
# inserts /that/ into a SQLite3 database, and extracts a simple
# relational table of tweets from the JSON. Finally, it runs datasette
# on the resulting database to allow you to explore.
@loganmeetsworld
loganmeetsworld / lm_srecon19_resources.md
Last active September 19, 2020 21:37
"Optimizing for Learning" talk resources from SRECon Americas 2019 (Brooklyn)

"Optimizing for Learning" Sources

Given at SRECon Americas 2019 (Brooklyn) by Logan McDonald

Resources from my research are presented in the order they are given in the talk. Here are my slides and all the art is by the amazing Emily Griffin. The resources are broken into the four sections of the talk:

Preparation