Skip to content

Instantly share code, notes, and snippets.

@justbill2020
justbill2020 / crayola.json
Created February 3, 2017 09:43 — forked from jjdelc/crayola.json
Crayola colors in JSON format
[
{
"hex": "#EFDECD",
"name": "Almond",
"rgb": "(239, 222, 205)"
},
{
"hex": "#CD9575",
"name": "Antique Brass",
"rgb": "(205, 149, 117)"
@justbill2020
justbill2020 / readme.md
Created December 21, 2016 02:47
Delete All Messages in a channel on discord
;(function(){
	const authToken = JSON.parse(localStorage.token);
	const channel = window.location.href.split('/').pop();
	const baseURL = `https://discordapp.com/api/channels/${channel}/messages`;
	const headers = {"Authorization": authToken };

	let clock = 0;
        let interval = 500;
@justbill2020
justbill2020 / hdmi.py
Created June 27, 2016 14:30 — forked from fasmide/hdmi.py
Turns the hdmi port on and off by reading a PIR sensor off a raspberry pi GPIO port 11
import RPi.GPIO as GPIO
import time
from threading import Timer
import subprocess
GPIO.setmode(GPIO.BCM)
GPIO.setup(11, GPIO.IN)
timer = False
monitor_is_on = True