This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var egg = "$$$$$$$$$$$$$$$$$$@R#` ,g$$$$$$$$$$$ )$$$@BP` `$$$$$$$$$$$$$$$$\n" + "$$$$$$$$$$$$$$$@B` g@$$$$$$$$$$$$$ ?#` T$$$$$$$$$$$$$$\n" + "$$$$$$$$$$$$$RP g$$$$$$$$$$$$$@B# , `$$$$$$$$$$$$\n" + "$$$$$$$$$$$B` g$$$$$$$$$$$BB`` ,p )$$gp `#$$$$$$$$$\n" + "$$$$$$$$$B` g$$$$$$$$@B#` ,g$$$ )$$$$$g, `#$$$$$$$\n" + "$$$$$$$R` ,$$$$$$BB^` )$$$$ )$$$$$$$@p `$$$$$$\n" + "$$$$$@P g$$$$$$ )$$$$ )$$$$$$$$$@p $$$$$\n" + "$$$$@` g$$$$$$@ )$$$$ )$$$$$$$$$$$g *$$$\n" + "$$$@ g$$$$$$$@ )$$$$ )$$$$$$$$$$$$$g )$$\n" + "$$B g$$$$$$$$@ )$$$$ )$$$$$$$$$$$$$$g )$\n" + "$@ ;$$$$$$$$$@ )$$$$ )$$$$$$$$$$$$$$$@ $\n" + "@ g$$$$$$$$$@ )$$$$ )$$$$$$$$$$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Gets you in the ballpark, at least... | |
| """ | |
| import requests | |
| from bs4 import * | |
| import re | |
| def scrapeDMV(): | |
| baseurl = "http://www.dmv.nebraska.gov/examining/map.html" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abb|fips|full|sf | |
| AL|01|Alabama|B | |
| AK|02|Alaska|A | |
| AZ|04|Arizona|D | |
| AR|05|Arkansas|C | |
| CA|06|California|E | |
| CO|08|Colorado|F | |
| CT|09|Connecticut|G | |
| DE|10|Delaware|H | |
| DC|11|District of Columbia|y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "fips": [ | |
| { | |
| "county": "Autauga County", | |
| "state": "AL", | |
| "scode": "01", | |
| "ccode": "001" | |
| }, | |
| { | |
| "county": "Baldwin County", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bill": "LB 268", | |
| "votes": [ | |
| { | |
| "rep": "Roy Baker", | |
| "dist": "30", | |
| "vote": "yes" | |
| }, | |
| { | |
| "rep": "Dave Bloomfield", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fips|name|pop | |
| 001|Adams|31151 | |
| 003|Antelope|7452 | |
| 005|Arthur|444 | |
| 007|Banner|819 | |
| 009|Blaine|583 | |
| 011|Boone|6259 | |
| 013|Box Butte|12158 | |
| 015|Boyd|2438 | |
| 017|Brown|3525 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| set /p slug="Enter slug: " %=% | |
| set /p dateslug="Enter rundate (YYYY-MM-DD): " %=% | |
| set slug=%slug: =-% | |
| (echo. && echo. && echo ===================== && echo slug: %slug% && echo rundate: %dateslug% ) >> C:\Users\cwinchester\Desktop\print\notes-master.txt | |
| cd C:\Users\cwinchester\Desktop\print | |
| mkdir %dateslug%-%slug% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # note: this doesn't actually work yet | |
| def numToAP(num): | |
| numstripped = int(str(num).replace('$','').replace(',','')) | |
| if numstripped < 10: | |
| apnums = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] | |
| return apnums[numstripped] | |
| elif numstripped > 999999: | |
| striplength = len(str(numstripped)) | |
| if striplength >= 7 and striplength <= 9: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: adapted from http://stackoverflow.com/a/10945887/1810071 | |
| @echo off | |
| for /f "skip=1" %%x in ('wmic os get localdatetime') do if not defined MyDate set MyDate=%%x | |
| for /f %%x in ('wmic path win32_localtime get /format:list ^| findstr "="') do set %%x | |
| set fmonth=00%Month% | |
| set fday=00%Day% | |
| set today=%Year%-%fmonth:~-2%-%fday:~-2% | |
| echo %today% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function toAp(num) { | |
| var numstripped = Number(num.toString().replace(/,|$|€|¥|£|%|(|)/g,'')); | |
| if ( isNaN(numstripped) ) { | |
| console.log("Not a number, dude."); | |
| } | |
| else { | |
| if (numstripped < 10) { | |
| var apnums = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]; | |
| return apnums[numstripped]; |