Skip to content

Instantly share code, notes, and snippets.

View drudge's full-sized avatar

Nicholas Penree drudge

View GitHub Profile
# Tidbyt Xbox Live App
# MIT License
# by Nicholas Penree, Dec 30 2021
load("render.star", "render")
load("http.star", "http")
load("encoding/base64.star", "base64")
load("cache.star", "cache")
MOCK = False
@drudge
drudge / animated-render.star.py
Last active December 31, 2021 01:25
Xbox Live Gamerscore Custom Pixlet
# Tidbyt Xbox Live App
# MIT License
# by Nicholas Penree, Dec 19 2021
load("render.star", "render")
load("http.star", "http")
load("encoding/base64.star", "base64")
load("cache.star", "cache")
MOCK = False
@drudge
drudge / ip.star.py
Last active December 29, 2021 04:50
Public IP Address Applet for Tidbyt
# Public IP Tidbyt App
# MIT License
# by Nicholas Penree, Dec 28 2021
load("render.star", "render")
load("http.star", "http")
load("cache.star", "cache")
IPIFY_JSON_URL = "https://api.ipify.org/?format=json"
MOCK = False
@drudge
drudge / Brewfile
Created December 18, 2019 17:44
TWE Brewfile
#############################################
###
### $ brew tap homebrew/bundle
### $ brew bundle
###
#############################################
#############################################
### store apps in the Applications folder
#############################################
@drudge
drudge / Brewfile
Last active October 23, 2019 14:08
Brewfile
cask_args appdir: "/Applications"
tap 'homebrew/cask'
cask 'slack'
cask 'visual-studio-code'
cask 'java' unless system '/usr/libexec/java_home --failfast'
cask 'google-chrome'
cask 'chromedriver'
# cask 'fork'
@drudge
drudge / dropshare template.html
Created January 3, 2018 22:08
dropshare template
<!--
Welcome to your very own Dropshare HTML landing page template.
Feel free to edit this file to suit your needs, BUT..
*** IMPORTANT ***
do not forget to include all required variables to display the landing page properly.
Variable | Description

Keybase proof

I hereby claim:

  • I am drudge on github.
  • I am drudge (https://keybase.io/drudge) on keybase.
  • I have a public key ASCQSN5iXw4TEtrRlJPGeduJyjUkdwtkLeFLgAnfn7RrJAo

To claim this, I am signing this object:

# node 5.0.0
> 0.30 * 100
30
> 0.29 * 100
28.999999999999996
> 0.28 * 100
28.000000000000004
> 0.27 * 100
27
/// <reference path="../node/node.d.ts" />
/// <reference path="../redis/redis.d.ts" />
declare module "node-resque" {
import events = require('events');
import redis = require('redis');
interface WorkerOptions {
name?: string;
queues?: string[]|string;
@drudge
drudge / javascript.json
Created June 30, 2015 00:47
VSCode Node snippets
{
"Comment file": {
"prefix": "cf",
"body": [
"/*!",
" * ${1:Project Name}",
" * Copyright(c) 2015 ${2:Author Name} <${3:Author Email}>",
" * MIT Licensed",
" */",
"$0"