Skip to content

Instantly share code, notes, and snippets.

View demus's full-sized avatar
🏠
Working from home

Steven Demurjian Jr. demus

🏠
Working from home
  • Amazon
  • Boston, MA
View GitHub Profile
@demus
demus / passport.js
Created July 4, 2016 03:52
Example passport local strategy with connect-mssql
(function () {
'use strict';
/**
* Module dependencies
*/
const passport = require('passport');
const LocalStrategy = require('passport-local').Strategy;
const sql = require('mssql');
@demus
demus / golf_without_your_friends.py
Created July 4, 2016 03:49
Simple auto putt script for steam game Golf With Your Friends: http://store.steampowered.com/app/431240/
import ctypes
import time
# DWORDS
MOUSEEVENTF_MOVE = 0x00000001
MOUSEEVENTF_LEFTDOWN = 0x00000002
MOUSEEVENTF_LEFTUP = 0x00000004
# initialize user32 dll wrapper
user32 = ctypes.windll.user32