Skip to content

Instantly share code, notes, and snippets.

@kleinmatic
kleinmatic / ascii.txt
Created March 25, 2012 04:05
ASCII character 28. Used by the Federal Election Commission as a field delimiter, so it's useful when working with some FEC files. How to Use: Download or clone, open in any competent plain-text editor and use the regular means to add it to your clipboard

var stateToAP = function(state) {
var STATES = [
["Alabama", "AL", "Ala.", 1],
['Alaska', "AK", "Alaska", 2],
["Arizona", "AZ", "Ariz.", 4],
["Arkansas", 'AR', "Ark.", 5],
["California", "CA", "Calif.", 6],
["Colorado", "CO", "Colo.", 8],
["Connecticut", "CT", "Conn.", 9],
["Delaware", "DE", "Del.", "10"],
+-----------------------------+
| ^^^^ / ~|
| ^^^ --------- /|
| ^^ / -------- |
| ☃ / ~ / ** |
| / / **** |
| ---- ~ / ****** |
| / ~~ ---- ****** |
| / / * *** |
| / ~~ / ⌂⌂⌂⌂|