Skip to content

Instantly share code, notes, and snippets.

View jessedegans's full-sized avatar

Jesse de Gans jessedegans

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jessedegans on github.
  • I am jessedegans (https://keybase.io/jessedegans) on keybase.
  • I have a public key ASCaexG7-4bZDnKhkOpB1Akv3noFC6X6LvyUxNed6penSwo

To claim this, I am signing this object:

@jessedegans
jessedegans / reversi.cs
Last active October 19, 2020 17:36
Reversi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Reversi
{
public class ReversiGame
{
public int[][] grid = new int[8][];
@jessedegans
jessedegans / StudyPlannerDownloader.js
Created March 17, 2022 16:54
Gist for download Study Planner by GetRevising in ICS (for google calendar)
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
var saveAs=saveAs||(navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob.bind(navigator))||(function(h){"use strict";var r=h.document,l=function(){return h.URL||h.webkitURL||h},e=h.URL||h.webkitURL||h,n=r.createElementNS("http://www.w3.org/1999/xhtml","a"),g=!h.externalHost&&"download" in n,j=function(t){var s=r.createEvent("MouseEvents");s.initMouseEvent("click",true,false,h,0,0,0,0,0,false,false,false,false,0,null);t.dispatchEvent(s)},o=h.webkitRequestFileSystem,p=h.requestFileSystem||o||h.mozRequestFileSystem,m=function(s){(h.setImmediate||h.setTimeout)(function(){throw s},0)},c="application/octet-stream",k=0,b=[],i=function(){var t=b.length;while(t--){var s=b[t];if(typeof s==="string"){e.revokeObjectURL(s)}else{s.remove()}}b.length=0},q=function(t,s,w){s=[].concat(s);var v=s.length;while(v--){var x=t["on"+s[v]];if(typeof x==="function"){try{x.call(t,w||t)}catch(u){m(u)}}}},f=function(t,u){var v=this,B=t.type,E=false,x,w,