Skip to content

Instantly share code, notes, and snippets.

View TheCDC's full-sized avatar

Christopher Chen TheCDC

  • Software Engineer at NAVSEA Corona
  • Southern California
View GitHub Profile
// ==UserScript==
// @name Autofill Dates in Google Forms
// @version 1.0
// @grant none
// @include https://docs.google.com/forms*
// @updateURL https://gist.github.com/TheCDC/003becbc6282a1eb12279e0772352e88/raw/a2d625890e3fe779e3177ff20d213400556f2328/Autofill%2520Dates%2520in%2520Google%2520Forms.user.js
// @downloadURL https://gist.github.com/TheCDC/003becbc6282a1eb12279e0772352e88/raw/a2d625890e3fe779e3177ff20d213400556f2328/Autofill%2520Dates%2520in%2520Google%2520Forms.user.js
// ==/UserScript==
@TheCDC
TheCDC / [Greasemonkey] Scryfall Results to Clipboard.user.js
Last active April 25, 2019 16:13
Add button to Scryfall.com queries to copy all search results to clipboard
// ==UserScript==
// @name Scryfall search results to clipboard
// @version 1.6
// @grant none
// @include https://scryfall.com/search*
// @updateURL https://gist.github.com/TheCDC/1114479a7ef7ee2647bff5187068ba66/raw/Scryfall%2520Results%2520to%2520Clipboard.user.js
// @downloadURL https://gist.github.com/TheCDC/1114479a7ef7ee2647bff5187068ba66/raw/Scryfall%2520Results%2520to%2520Clipboard.user.js
// ==/UserScript==
//================== Globals
@TheCDC
TheCDC / helloworld-win32-service.py
Last active April 14, 2018 20:29 — forked from drmalex07/helloworld-win32-service.py
An example Windows service implemented with pywin32 wrappers. #python #windows-service #pywin32
import win32serviceutil
import win32service
import win32event
import servicemanager
import socket
import time
import logging
logging.basicConfig(
filename = 'c:\\Temp\\hello-service.log',