Skip to content

Instantly share code, notes, and snippets.

View jfoster's full-sized avatar

Jacob Foster jfoster

View GitHub Profile

ahk-scripts

Keybase proof

I hereby claim:

  • I am jfoster on github.
  • I am jrfoster (https://keybase.io/jrfoster) on keybase.
  • I have a public key ASDNXp5T3kGqtM1va1TXR_oDoO8s0fdiGLdvpdvqEZ5cswo

To claim this, I am signing this object:

@jfoster
jfoster / IR3567B_I2C.xml
Last active September 23, 2019 20:44
I2C_DEVICES
<?xml version="1.0" encoding="utf-8"?>
<EVC2>
<!-- Application metadata -->
<Application>
<SoftwareVersion>9</SoftwareVersion>
<FileVersion>1</FileVersion>
</Application>
<!-- Device specification -->
#!/usr/bin/env python
"""
Copyright 2015 tx12 http://www.overclock.net/u/376106
Portions of this software are based in part on the work of atomdis authors
Portions of this software are based in part on the work of amdgpu Linux
kernel driver authors
#!/bin/bash
readonly program="$(basename "${0}")"
export readonly MACOS_VERSION='10.14' # Latest macOS version, so commands like `fetch` are not dependent on the contributor’s OS
readonly submit_pr_to='homebrew:master'
readonly caskroom_origin_remote_regex='(https://|git@)github.com[/:]Homebrew/homebrew-cask'
readonly caskroom_taps=(jfoster)
readonly caskroom_taps_dir="$(brew --repository)/Library/Taps/jfoster"
readonly user_agent=(--user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10) https://brew.sh')
readonly hub_config="${HOME}/.config/hub"
export TARGET_OS="MinGW"
export CROSS="i686-w64-mingw32.static-"
export CC=${CROSS}gcc
export LD=${CROSS}ld
export AR=${CROSS}ar
export PKG_CONFIG=${CROSS}pkg-config
make WARNERROR=no -j4
// ==UserScript==
// @id twitchdvr
// @name Twitch DVR
// @namespace https://github.com/jfoster
//
// @description Twitch DVR
// @author Jacob Foster
// @homepage https://gist.github.com/jfoster/a53cc0bc469f7c838ad4b4e02674d744
// @icon https://www.twitch.tv/favicon.ico
//
@echo off
setlocal DisableDelayedExpansion
if "%~1" EQU "/DontCheckDrapDrop" (
shift
) else (
call :IsDragDrop && (
call "%~f0" /DontCheckDrapDrop %%@*%%
exit
)
@jfoster
jfoster / overclock.c
Last active February 19, 2019 20:49
overclock
/*
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@echo off
:: Steam should NOT be running while the changes are applied. If so, the changes are just reverted upon restarting steam.
setlocal ENABLEDELAYEDEXPANSION
:: check if steam is running. inform user to close first. then exit.
call :checkSteam
:: make sure parameters were entered. if not, get input.
call :checkParameters %1
:: make sure the steamapps directory looks real. (check for acf files)