Skip to content

Instantly share code, notes, and snippets.

View JacobFischer's full-sized avatar

Jacob Fischer JacobFischer

View GitHub Profile
import React from 'react';
import {
pdf,
Document,
Page,
Text,
} from '@react-pdf/renderer';
import { saveAs } from 'file-saver';
const DocumentPdf = ({ someString }) => (
@JacobFischer
JacobFischer / .babelrc
Last active August 10, 2020 19:49
@react-pdf/renderer pdf().toBlob() and toString() bug
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
@JacobFischer
JacobFischer / main.py
Last active March 26, 2020 19:16
AC: NH bells gained by chances
import matplotlib.pyplot as plt
# all bells are in thousands (k)
CHANCES = [0.20, 0.25, 0.30, 0.333, 0.35, 0.40] # some nice round %s to plot
MAX_AMOUNT = 10
MAX_BELLS = 100
for chance in CHANCES:
all_bells = []
@JacobFischer
JacobFischer / .gitignore
Last active March 14, 2020 01:10
pixi.js TypeScript global error
dist/
node_modules/
package-lock.json
@JacobFischer
JacobFischer / keybase.md
Created November 27, 2018 19:23
keybase.md

Keybase proof

I hereby claim:

  • I am jacobfischer on github.
  • I am jacobfischer (https://keybase.io/jacobfischer) on keybase.
  • I have a public key ASDbG-T2_6AcqNcBHar01LqqObunqBr4ctNQDXehug5Q4go

To claim this, I am signing this object:

@JacobFischer
JacobFischer / style.css
Created December 14, 2017 17:53
/r/MarvelStudios RES Night Mode CSS Override
.content .link {
background-color: transparent !important;
}
@JacobFischer
JacobFischer / creer.yaml
Last active April 22, 2017 21:59
BotNet creer.yaml
_parentDatas:
- twoPlayer
- turnBased
- tiled
Game:
name: BotNet
description: You need the ByteDollars, so take over the network.
attributes:
baseCost:
@JacobFischer
JacobFischer / game-voter.py
Created September 23, 2016 17:04
SIG-GAME Game vote formater
# This takes csv output from a Google Forms asking for game Rankings, and puts them into format for this website:
# http://www.cs.wustl.edu/~legrand/rbvote/calc.html
import csv
games = []
first = True
ignore_columns = 2
with open("data.csv", "r") as csvfile: