Skip to content

Instantly share code, notes, and snippets.

View fischgeek's full-sized avatar

Jeremiah fischgeek

  • Fargo, ND
  • 17:26 (UTC -06:00)
View GitHub Profile
@fischgeek
fischgeek / CircleClock.ahk
Last active August 29, 2015 14:18
CircleProgress.ahk
#Include Gdip.ahk
#Include CircleProgressClass.ahk
#SingleInstance, Force
SysGet, mon, MonitorWorkArea
thickness := 15
spacing := thickness*2
hrDiam := thickness+spacing
minDiam := hrDiam+spacing
class ActionButton {
Title = ko.observable<string>();
OriginalTitle: string;
WorkingTitle = ko.observable<string>("Loading...");
FailedTitle = ko.observable<string>("Failure!");
SuccessTitle = ko.observable<string>("Success!");
private IsIdle = ko.observable<boolean>(true);
SetIdle = () => {
this.IsWorking(false);
this.IsIdle(true);
namespace PROJECTNAME.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
public sealed class Configuration : DbMigrationsConfiguration<PROJECTNAME.CLASSNAME>
{
public Configuration()
devices={"Lefty","Logi","Rolly"}
lmc_assign_keyboard('Lefty');
lmc_assign_keyboard('Logi');
lmc_assign_keyboard('Rolly');
-- Do not edit below this line
-- --------------------------------------------------
clear();
require "functions"
function sendCommand(direction)
print("in sendcommand")
if lastKeys~="" then
print("hit it: " .. lastKeys)
file = io.open("c:\\dev\\logs\\lua.txt", "w")
file:write(lastKeys)
file:close()
lastKey=""
lastKeys=""
ignoreUp=true
@fischgeek
fischgeek / plex_maker.ps1
Created February 19, 2019 17:39
PowerShell script to rip DVDs into a Plex library
Clear-Host
# Point to the makemkvcon.exe (https://www.makemkv.com/download/)
Set-Alias makemkv "C:\Program Files (x86)\MakeMKV\makemkvcon.exe"
# Point to the HandBrakeCLI.exe (https://handbrake.fr/downloads2.php)
Set-Alias handbrake "C:\Program Files\Handbrake\HandBrakeCLI.exe"
# Define where your Plex library is (final resting place)
$plex = "\\server\plex\movies"
class Notification {
;Things to configure:
; Font,color,size title
; Font,color,size body
; duration
; pop in location/behavior
Title := ""
TitleSize := 30
TitleColor := "7FA2CF"
@fischgeek
fischgeek / tampermonkey-outlook-space-liberation.js
Last active June 14, 2019 16:52
Take back that space that those annoying ads and upgrade prompts are currently holding prisoner
// ==UserScript==
// @name Outlook Space Liberation
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Gains that space back by annoying ads and upgrade prompts.
// @author fischgeek
// @match https://outlook.live.com/mail/*
// @grant none
// @require http://code.jquery.com/jquery-1.12.4.min.js
// ==/UserScript==
open System
[<EntryPoint>]
let main argv =
let rec DoFib val1 val2 i =
if i > 0 then
let calc = val1 + val2
if i = 1 then
Console.Write(calc.ToString())
class Program
{
static void Main(string[] args)
{
var iter = rl("Iterations:");
var iterInt = Convert.ToInt32(iter);
long val1 = 0;
long val2 = 1;
for (int i = 1; i < iterInt; i++) {
long calc = val1 + val2;