Skip to content

Instantly share code, notes, and snippets.

@emabrey
emabrey / help-option.txt
Last active January 17, 2017 00:43
The output of running `Battlecode Client.exe -- --help`
Usage: Battlecode Client.exe -- [options]
Options:
-f <true or false>, --fullscreen <true or false>
Whether to try to run the game in full-screen [false]
-w <positive-number>, --width <positive-number>
The width dimension of the client window [600]
-h <positive-number>, --height <positive-number>
The height dimension of the client window [600]
-c <true or false>, --circles <true or false>

Keybase proof

I hereby claim:

  • I am emabrey on github.
  • I am emilymabrey (https://keybase.io/emilymabrey) on keybase.
  • I have a public key ASA8UF6HTlB-eSFIIj0MCEQfC9h0yB7QcaGuAouwtR6ZTgo

To claim this, I am signing this object:

@emabrey
emabrey / gist:e40e8661002154524dc33ae2c9a4ebe5
Last active August 15, 2017 08:18
List of useful java librarys
https://github.com/amaembo/streamex
https://github.com/square/okio
https://github.com/square/okhttp
https://github.com/real-logic/agrona
https://github.com/JCTools/JCTools
@emabrey
emabrey / ObjectInputExample.java
Last active May 5, 2018 06:04
Single file class/program for POC of a Stack Overflow answer
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectStreamConstants;
import java.io.Serializable;
import java.util.ArrayList;
@emabrey
emabrey / .gitconfig
Last active March 21, 2019 08:56
Global .gitconfig
[add]
ignoreErrors = true
[alias]
add-maven-wrapper = "!mvn -N io.takari:maven:wrapper -B -Dmaven=\\$\\{versions.maven.ideal\\} -Denforcer.skip=true"
aliases = config --get-regexp '^(alias){1}([.]){1}(.)+'
changes = !f(){ git pull origin --prune "$@" && git submodule update --init; }; f
chmod = update-index --add --chmod=$1
clearcreds = credential-cache exit
ignored = ls-files --other --ignored --exclude-standard
@emabrey
emabrey / userChrome.css
Last active February 26, 2024 07:17
Firefox 66 User Chome Styles
/*
Created by Emily Mabrey via modification of the CSS provided by the Timvde/UserChrome-Tweaks project under the terms of the GPL-3.0.
Visit that project at https://github.com/Timvde/UserChrome-Tweaks
*/
/*
Settings which will be used when compact layout is active.
These configured values make things super compact and much more space is available for the webpage.
*/
@emabrey
emabrey / ToggleTouch.bat
Created August 26, 2019 23:07
Toggle Touchscreen Support
@ECHO OFF
:: This file enables the touchscreen when disabled and disables the touchscreen when enabled
:: There is an annoying bug fixed by using AutoIt to unpress the Windows Key
:: Make sure devcon_x64.exe and autoit3_x64.exe are present for x64
:: devcon_x86.exe and autoit3.exe could be used for x86, but you need to replace
:: DEVCON_BINARY and AUTOIT_BINARY below
:: These binaries need to be placed in the location pointed to by DEVCON_DIR for the script
@emabrey
emabrey / programmingfonts.txt
Last active September 11, 2019 21:57
Open Source Programming Fonts
These are the programming fonts (for both editors and consoles/terminals) that I find useful, and where to download them.
Font Name | Download Location
Victor Mono | https://rubjo.github.io/victor-mono/
Monoid | https://larsenwork.com/monoid/
Hasklig | https://github.com/i-tu/Hasklig
Iosevka | https://github.com/be5invis/Iosevka
Fira Code | https://github.com/tonsky/FiraCode
@emabrey
emabrey / invtypes.csv
Last active October 23, 2019 03:41
Eve Item List
We can't make this file beautiful and searchable because it's too large.
typeID,typeName,description,iconID
0,#System,,
2,Corporation,,
3,Region,,
4,Constellation,,
5,Solar System,,
6,Sun G5 (Yellow),"A main-sequence stellar body of a class that is often yellow or yellow-orange in hue, generating and emitting energy from the vast hydrogen fusion process within the heart of the star.
Various numbers of planets of the terrestrial and gas giant types are found around these stars and the habitable zones often contain one or more planets.",
7,Sun K7 (Orange),"Yellow-orange and orange stars of this type are rather stable and believed to take tens of billions of years to burn through their core hydrogen reserves in a process of thermonuclear fusion.
@emabrey
emabrey / mathfonts.txt
Created October 26, 2019 22:07
Math Fonts
These are fonts for math layouts, like MathML or for use in LaTeX
Latin Modern Math: http://www.gust.org.pl/projects/e-foundry/latin-modern/download
STIX: https://www.stixfonts.org/