Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥

Andrew Sullivan sllvn

🔥
View GitHub Profile
View scrape_tweets.sh
#!/usr/bin/env bash
script_name='scrape_tweets'
log () {
timestamp=`date '+%c'`
echo "${script_name} (${task_id}) [${timestamp}] - $1"
}
datestr=`date '+%Y%m%d_%H%M%S'`
View keybase.md

Keybase proof

I hereby claim:

  • I am sllvn on github.
  • I am licyeus (https://keybase.io/licyeus) on keybase.
  • I have a public key ASD5G_LH91sMzRZcCszMtmd9631XPPMOUORVs1OhTh1A0wo

To claim this, I am signing this object:

@sllvn
sllvn / rcw_43.06.220.md
Last active Apr 2, 2017
WA leg bill diff
View rcw_43.06.220.md

RCW 43.06.220

State of emergency—Powers of governor pursuant to proclamation.

  1. The governor, after proclaiming a state of emergency and prior to terminating such, may, in the area described by the proclamation, issue an order prohibiting:
    1. Any person being on the public streets, or in the public parks, or at any other public place during the hours declared by the governor to be a period of curfew;
    2. Any number of persons, as designated by the governor, from assembling or gathering on the public streets, parks, or other open areas of this state, either public or private;
    3. The manufacture, transfer, use, possession, or transportation of a molotov cocktail or any other device, instrument, or object designed to explode or produce uncontained combustion;
    4. The transporting, possessing, or using of gasoline, kerosene, or combustible, flammable, or explosive liquids or materials in a glass or uncapped container of any kind except in connection with the normal operation of motor vehicles,
View keybase.md

Keybase proof

I hereby claim:

  • I am licyeus on github.
  • I am licyeus (https://keybase.io/licyeus) on keybase.
  • I have a public key whose fingerprint is 67EF 7C45 4FE0 92C6 0C61 A6EF 1CFE 75C8 0B55 A680

To claim this, I am signing this object:

View basketballcourts.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View coworking.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sllvn
sllvn / gist:6179326
Created Aug 7, 2013
seattle coworking
View gist:6179326
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-122.316955,
View gist:5570644
// Languages: name (local), name_en, name_fr, name_es, name_de
@name: '[name_en]';
// Common Colors //
@water: #c3e6ff;
@park: #cec;
Map {
background-color:#fff;
}
View gist:5021145
$($($('ul')[1]).find('li')[1]).append('<p>Direction: <strong>Southbound</strong> | <a href="#">Northbound</a></p><p>Next hour of arrivals:</p><table><tr><td style="padding-right: 20px;"><strong>900 S</strong></td><td style="padding-right: 10px;">10:06</td><td style="padding-right: 10px;">10:21</td><td style="padding-right: 10px;">10:36</td><td>10:51</td></tr><tr><td><strong>1300 S</strong></td><td>10:08</td><td>10:23</td><td>10:38</td><td>10:53</td></tr><tr><td><strong>2100 S</strong></td><td>10:11</td><td>10:26</td><td>10:41</td><td>10:56</td></tr></table>')
View sort_routes.rb
unsorted = %w{11 17 2 200 201 205 209 21 213 217 218 220 223 227 228 232 240 248 2X 3 307 313 320 33 35 354 35M 39 41 45 451 453 454 455 456 460 461 462 463 47 470 471 472 473 477 500 501 509 513 516 517 519 520 523 525 527 534 54 550 6 603 604 606 608 612 613 616 62 625 626 627 630 640 645 667 670 675 701 703 704 72 750 805 806 807 809 811 821 822 830 831 832 833 834 836 842 850 853 862 880 9 901 902 919 920 951 952 954 960 962 990 992 F400 F401 F514 F518 F546 F547 F556 F570 F578 F590 F618 F628 F638 F868 F94}
sorted = %w{2 2X 3 6 9 11 17 21 33 35 35M 39 41 45 47 54 62 72 200 201 205 209 213 217 218 220 223 227 228 232 240 248 307 313 320 354 451 453 454 455 456 460 461 462 463 470 471 472 473 477 500 501 509 513 516 517 519 520 523 525 527 534 550 603 604 606 608 612 613 616 625 626 627 630 640 645 667 670 675 701 703 704 750 805 806 807 809 811 821 822 830 831 832 833 834 836 842 850 853 862 880 901 902 919 920 951 952 954 960 962 990 992 F400 F401 F514 F518 F546 F547 F556 F570 F578 F590 F618 F628 F638 F868