Skip to content

Instantly share code, notes, and snippets.

View ZackBoe's full-sized avatar
🐧

Zack Boehm ZackBoe

🐧
View GitHub Profile
@ZackBoe
ZackBoe / userstyle.css
Created June 16, 2023 03:09
Blue's News userstyle
:root {
--style-color: #282c34;
--style-color-alt: #1d1f24;
--sale-color: #97c37c;
--headline-color: #4aa4ed;
--visited-color: #c678dd;
--link-color: var(--headline-color);
--max-width: 1200px;
}
@ZackBoe
ZackBoe / yt-watched.css
Created August 25, 2022 02:13
YouTube Watched Overlay for Stylus
@-moz-document url-prefix("https://www.youtube.com/") {
.ytd-thumbnail-overlay-resume-playback-renderer[style="width: 100%;"] {
position: relative;
}
.ytd-thumbnail-overlay-resume-playback-renderer[style="width: 100%;"]:after {
position: absolute;
bottom: 0;
box-sizing: border-box;
width: 100%;
@ZackBoe
ZackBoe / spotify-maloja.js
Last active September 14, 2020 21:06
Spotify Recently Played scrobbler for Maloja
const fetch = require('node-fetch');
const qs = require('querystring');
const low = require('lowdb')
const FileSync = require('lowdb/adapters/FileSync')
const db = low(new FileSync('tracks.json', {
serialize: (obj) => JSON.stringify(obj),
deserialize: (data) => JSON.parse(data)
}))
db.defaults({ tracks: [] }).write()
@ZackBoe
ZackBoe / gamesrecapBookmark.js
Last active June 9, 2024 03:17
Quick & hacky script to add localStorage bookmarks + csv export to https://gamesrecap.io/
if(window.gamesrecapBookmarks) console.error('Already injected!')
else {
window.gamesrecapBookmarks = true;
document.head.insertAdjacentHTML('beforeend', `
<style>
.card .bookmark {
position: absolute;
top: 5px;
@ZackBoe
ZackBoe / youtube-watched.css
Last active January 26, 2021 22:19
YouTube watched video overlay userstyle
.ytd-thumbnail-overlay-resume-playback-renderer[style="width: 100%;"] {
position: relative;
}
.ytd-thumbnail-overlay-resume-playback-renderer[style="width: 100%;"]:after {
position: absolute;
bottom: 0;
box-sizing: border-box;
width: 100%;
height: 118px;
@ZackBoe
ZackBoe / dinfo.sh
Created April 9, 2019 00:24
Domain lookup, including whois & certificate info. Supports pasting URLs, not just hostnames.
#!/bin/bash
# Get IP Geo & Org info from domain names.
# Requires jq, curl, dig, whois
lookup=${@: -1}
fqdn=`echo $lookup | cut -d'/' -f3 | cut -d':' -f1`
domain=$(expr match "$fqdn" '.*\.\(.*\..*\)')
doCert=0
doWhois=0
@ZackBoe
ZackBoe / airlift.json
Last active March 31, 2020 19:55
ShareX Custom Uploader for Airlift
{
"Version": "12.4.1",
"Name": "airlift",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",
"RequestURL": "https://YOUR.HOST/upload/file",
"Headers": {
"X-Airlift-Filename": "$filename$",
"X-Airlift-Password": "YOURPASSWORD"
},
@ZackBoe
ZackBoe / _directories.md
Last active January 18, 2019 16:52
Generate netlify _redirects from Hugo data file for editing in Forestry.io
  • config.toml: /config.toml
  • index.redir: /layouts/index.redir
  • redirects-json.yml: .forestry/front_matter/templates/redirects-json.yml
  • redirects.json: /data/redirects.json
@ZackBoe
ZackBoe / resource\layout\friendpanel.layout
Created May 27, 2017 20:13
Metro for Steam - Rearrange StatusLabel & GameLabel
// Replace
//place { control="StatusLabel,BigPictureStatusImage,MobileStatusImage,WebStatusImage,BigPictureStatusImageInGame,MobileStatusImageInGame,WebStatusImageInGame,GameLabel" x=50 y=24 spacing=4 margin-right=8 }
place { control="StatusLabel,BigPictureStatusImage,MobileStatusImage,WebStatusImage,BigPictureStatusImageInGame,MobileStatusImageInGame,WebStatusImageInGame,GameLabel" x=50 y=17 spacing=4 margin-right=8 }
// Add
place { control="GameLabel" x=50 y=29 }

Keybase proof

I hereby claim:

  • I am zackboe on github.
  • I am zackboe (https://keybase.io/zackboe) on keybase.
  • I have a public key whose fingerprint is FD4A F6F7 1682 B88F D3D5 577D 08B8 D7AD 8CBB 21C3

To claim this, I am signing this object: