I hereby claim:
- I am cinaglia on github.
- I am cinaglia (https://keybase.io/cinaglia) on keybase.
- I have a public key ASAzWVQyMAllME3hYtOBLvT7JPRKHT7XuPey9SpX4Jw_bAo
To claim this, I am signing this object:
{ | |
"public_keys": [ | |
{ | |
"key_identifier": "dev", | |
"key": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbheZKeU4vhEfMaQBVeSXpitsX2kw1b5k\nwPmCX7xB8cfhs4TcdqIB7T6XX7/bRsamc+aujJyPo7xi7vvOrMpHnmZBfyYDiidK\ndgJeC5zVI5d9gUezUSVM0rYd+JFoVgfe\n-----END PUBLIC KEY-----", | |
"is_current": true | |
} | |
] | |
} |
-- Check if table exists. If it does, compare schemas. | |
-- If schema is equal, then perform updates | |
-- If schema is different, CREATE OR REPLACE | |
-- Store schema for comparison | |
CREATE OR REPLACE TABLE `temp.users_schema` AS | |
SELECT * FROM EXTERNAL_QUERY( | |
'bigquery-exploration-278323.us.bigquery-exploration', | |
'DESCRIBE users;' |
<TableHead | |
activeKey={currentKey} | |
direction={currentDirection} | |
onSort={({ key, direction }) => { console.log(key, direction); }} | |
> | |
<TableHead.Item>Id</TableHead.Item> | |
<TableHead.Sortable key="type">Type</TableHead.Sortable> | |
<TableHead.Sortable key="slug">Slug</TableHead.Sortable> | |
<TableHead.Item>Name</TableHead.Item> | |
<TableHead.Item>URL</TableHead.Item> |
const hourConvert = require('hour-convert') | |
const dayToInteger = day => | |
Number.isInteger(day) | |
? day | |
: { | |
Monday: 0, | |
Tuesday: 1, | |
Wednesday: 2, | |
Thursday: 3, |
import argparse | |
import collections | |
import logging | |
import logging.config | |
import pkg_resources | |
import sys | |
import tempfile | |
import time | |
from bs4 import BeautifulSoup |
I hereby claim:
To claim this, I am signing this object:
# -*- coding: utf-8 -*- | |
import itertools | |
import random | |
import scrapy | |
import queries | |
from .utils import extract_player_id_and_slug, extract_and_strip | |
import React, { Component } from 'react'; | |
import './App.css'; | |
const noop = () => {}; | |
const Personalization = ({ items, onChange }) => ( | |
<select onChange={ (e) => onChange(e.target.value) }> | |
<option value="" disabled>Personalize</option> | |
{ items.map(({ key, name }) => | |
<option value={key} key={key}>{name}</option>) } |
;(function(document) { | |
'use strict'; | |
var script = document.createElement('script'), | |
scripts = document.getElementsByTagName('script'), | |
scoutIndex = scripts.length - 1, | |
fScript = scripts[0], | |
style = document.createElement('link'), | |
head = document.getElementsByTagName('head')[0], | |
domain, |
# https://github.com/cmheisel/pywatch | |
import sys, os | |
from watcher import Watcher | |
args = sys.argv[:] | |
def respawn(): | |
print 'Re-spawning %s' % ' '.join(args) | |
args.insert(0, sys.executable) | |
os.execv(sys.executable, args) |