Skip to content

Instantly share code, notes, and snippets.

@afischer
afischer / keybase.md
Last active February 15, 2017 21:21
keybase.md

Keybase proof

I hereby claim:

  • I am afischer on github.
  • I am aff (https://keybase.io/aff) on keybase.
  • I have a public key ASCihyClihN94y3xmgaJQZaqBgBt7JurtnFcCBpUueeWcwo

To claim this, I am signing this object:

@afischer
afischer / osx-setup.sh
Last active August 29, 2015 14:13 — forked from brandonb927/osx-for-hackers.sh
A (hopefully) fully automated setup file for any new mac machine.
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Forked from https://gist.github.com/brandonb927/3195465
# Edited by Andrew Fischer - github.com/afischer
# EDIT THIS LIST to change the optional binaries homebrew installs
binaries=(
@afischer
afischer / vagelos.xml
Created November 4, 2015 20:31
From 11-16
<eSummaryResult>
<DocSum>
<Id>24846185</Id>
<Item Name="PubDate" Type="Date">2014 Aug</Item>
<Item Name="EPubDate" Type="Date">2014 May 20</Item>
<Item Name="Source" Type="String">Cancer Biol Ther</Item>
<Item Name="AuthorList" Type="List">
<Item Name="Author" Type="String">Maas NL</Item>
<Item Name="Author" Type="String">Singh N</Item>
<Item Name="Author" Type="String">Diehl JA</Item>
body {
color: red;
}
@afischer
afischer / gist:bf951599008422a00582b8ddcafbf716
Created September 12, 2016 20:05
Links to the DP articles for the mens soccer issue.
http://www.thedp.com/article/2016/09/penn-mens-soccer-rejuvenated-offense
http://www.thedp.com/article/2016/09/penn-mens-soccer-american-seton-hall-recap
http://www.thedp.com/article/2016/09/penn-mens-soccer-moving-past-2015
http://www.thedp.com/article/2016/09/penn-mens-soccer-nebraska-trip-preview
http://www.thedp.com/article/2016/09/penn-mens-soccer-fine-outlook-column-90f5
There is other stuff that didn't make it on web in print! Use that too! See back pages of https://issuu.com/dailypenn/docs/0906
@afischer
afischer / fallout-1-high-res-patch-mac-osx.md
Created November 29, 2016 18:02 — forked from robatron/fallout-1-high-res-patch-mac-osx.md
How to get the Fallout 1 (and Fallout 2) high-resolution patch working for Mac OS X

Fallout 1 (and Fallout 2) Hi-Res Patch for Mac OS X

Fallout 1 was originally designed to run at 640x480 resolution. I wanted to run the Mac OS X version of Fallout on my MacBook 11", which has a 1366x768 display. There is a [high resolution patch][hi-res], but it only supports the Windows version of Fallout.

Turns out that the OS X version of Fallout runs through Wine, so we can get this patch working with just a few configuration changes:

Note for Fallout 2 users: The process for Fallout 2 is essentially the same, with a different patch, and some minor pathing differences. Other than that, the process is exactly the same!

Install Wine

<a href="https://www.bountysource.com/teams/rvm?utm_source=RVM&utm_medium=shield&utm_campaign=raised"><img src="https://api.bountysource.com/badge/team?team_id=506&style=raised" align="center"></a>
&nbsp;&nbsp;&nbsp;&nbsp;
Master
<a href="https://travis-ci.org/rvm/rvm/branches"><img src="https://travis-ci.org/rvm/rvm.svg?branch=master" align="center"></a>
# What's RVM
RVM is the acronym of Ruby enVironment Manager. It manages Ruby application environments and enables switching between them.
Homepage and more info: https://rvm.io/
@afischer
afischer / gist:f20cf71ab8212e61acceb26a5b9c0943
Created May 12, 2017 18:53
Possible output for rvm usage docs
usage: rvm [--default][--debug][--trace][--nice][—version][-v] <command>
rvm has a number of common commands. Additional information about any command
can be found by executing `rvm help <command>`
rvm versioning, updates, and configuration
get <version> Get a version of rvm, using `stable`, `master` or a
specific <branch branch/title>.
alias define aliases for `rvm use`
autolibs tweak settings for installing dependencies automatically
@afischer
afischer / geometry.json
Created August 10, 2017 15:16 — forked from fge/geometry.json
JSON Schema (v4) for a geometry as defined by GeoJSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://json-schema.org/geojson/geometry.json#",
"title": "geometry",
"description": "One geometry as defined by GeoJSON",
"type": "object",
"required": [ "type", "coordinates" ],
"oneOf": [
{
"title": "Point",
@afischer
afischer / folderify.sh
Created December 17, 2017 21:04
Bash script to move date-prefixed/count-suffixed photos into folders
find -E . -regex '\.\/[0-9]{8}_.*' | while read filename
do
strippedindex=$(expr "$filename" : "\.\/[0-9]*_[a-zA-Z0-9]*")
strippedname=${filename:2:strippedindex-2}
mkdir -p "$strippedname"
mv "$filename" "$strippedname"
done