This file contains 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
# 1) Configure below | |
# 2) pip install esipy Flask | |
# 3) FLASK_APP=tokenfetcher.py flask run | |
# 4) Wait a couple of seconds for the browser to open | |
import webbrowser | |
from esipy import App | |
from esipy import EsiClient | |
from esipy import EsiSecurity |
This file contains 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
import sqlite3 | |
import tldextract | |
history_domains = set() | |
cf_domains = None | |
print("Loading domains from Chrome browsing history...") | |
# Copy history from ~/Library/Application Support/Google/Chrome/Default/History | |
conn = sqlite3.connect('History') |
This file contains 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
defmodule Yay do | |
def list_to_map([], map) do | |
map | |
end | |
def list_to_map(list, map) do | |
[key, value] = Enum.take(list, 2) | |
list_to_map(tl(tl(list)), Map.put(map, key, value)) | |
end | |
end |
This file contains 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
-- ---------------------------- | |
-- Records of "api_reftype" | |
-- ---------------------------- | |
BEGIN; | |
INSERT INTO "api_reftype" VALUES ('117', ''); | |
INSERT INTO "api_reftype" VALUES ('10014', 'District Contract Collateral'); | |
INSERT INTO "api_reftype" VALUES ('10015', 'District Contract Collateral Refund'); | |
INSERT INTO "api_reftype" VALUES ('10016', 'District Contract Reward'); | |
INSERT INTO "api_reftype" VALUES ('10017', 'District Clone Transportation'); | |
INSERT INTO "api_reftype" VALUES ('10018', 'District Clone Transportation Refund'); |
This file contains 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
{ | |
"active_orders": 1533121, | |
"archived_orders": 6014880, | |
"history_messages": 4365, | |
"history_records": 166062, | |
"new_orders": 4365, | |
"old_orders": 5483, | |
"typestats": { | |
"29668": { | |
"ask_avg": 642649016.641, |
This file contains 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
- extends "base.haml" | |
- load cache | |
- load humanize | |
- block title | |
element43 - Station - Best Margins | |
- block content | |
%h1 | |
{{station.name}} | |
.row-fluid | |
.span12 |