Skip to content

Instantly share code, notes, and snippets.

View ZackBoe's full-sized avatar
🐧

Zack Boehm ZackBoe

🐧
View GitHub Profile
{
"name": "Steam Early Access - newfixed",
"count": 293,
"frequency": "Daily",
"version": 3,
"newdata": true,
"lastrunstatus": "partial",
"lastsuccess": "Sun Nov 16 2014 08:01:53 GMT+0000 (UTC)",
"thisversionrun": "Sun Nov 16 2014 08:01:14 GMT+0000 (UTC)",
"thisversionstatus": "partial",
@ZackBoe
ZackBoe / csgo_game_state.json
Created December 9, 2015 08:14
Sample game state output using Valve's examples.
[{
"provider": {
"name": "Counter-Strike: Global Offensive",
"appid": 730,
"version": 13512,
"steamid": "76561198035497894",
"timestamp": 1449648667
},
"player": {
"steamid": "76561198035497894",
@ZackBoe
ZackBoe / widetwitter.css
Last active December 26, 2015 22:59
Widescreen Twitter Feed | Works well with https://github.com/mdo/twitter-userstyle
/* I use the Firefox addon Stylish to apply this to _only_ the homepage */
/* I never use the sidebar on the homepage. Bigger tweets are better tweets. Most of the time.
This hides your profile card, trends, who to follow, and anything other than the actual feed */
.dashboard {
display:none;
}
#timeline {
width:100% !important;

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:

@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 }
@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 / 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 / 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 / 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