Skip to content

Instantly share code, notes, and snippets.

View stef-levesque's full-sized avatar
💻
vscode-shader

stef-levesque

💻
vscode-shader
View GitHub Profile
@stef-levesque
stef-levesque / package.json
Last active May 31, 2017 23:05
WebDAV server
{
"name": "webdav",
"version": "1.0.0",
"description": "",
"main": "server.js",
"author": "",
"license": "",
"dependencies": {
"jsDAV": "^0.3.4"
}
@stef-levesque
stef-levesque / utils.ahk
Last active November 4, 2022 23:04
AutoHotKey useful scripts
; FIND IN GOOGLE
LWIN & f::
Send, ^c
Sleep 50
Run, http://www.google.com/search?q=%clipboard%
return
; SAVE/RESTORE WINDOW SIZE & LOCATION
;LAlt & LShift & 1::
!+1::
@stef-levesque
stef-levesque / gist:11233090
Last active May 3, 2019 02:44
Batch file to compute KEY for movdump.exe
@echo off
REM The key is generated using your machine's current time.
REM The formula is 13333 + (current hour * 7113) + (current minute * 77).
REM Calc that out by hand and use it with the -key parameter then
REM you can use movdump by itself without the GUI at all.
set HH=%TIME:~0,2%
set MM=%TIME:~3,2%
set /a KEY=13333+%HH%*7113+%MM%*77
@stef-levesque
stef-levesque / gist:11229362
Last active August 29, 2015 14:00
Small python script to update Enom Dynamic DNS
import requests
from xml.etree.ElementTree import XML
#-------------------------------------------------------------------------------
IP_CHECK_URL = 'http://ip-api.com/json'
IP_TEXT_FILE = '/home/hannibal/updateip.txt'
ENOM_INTERFACE_URL = 'https://reseller.enom.com/interface.asp'
DOMAIN = 'yourdomain.net'
PASSWD = 'xxxxxxxx'
ENOM_PARAMS = { 'command': 'setdnshost', 'responsetype': 'xml' };