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
#!/usr/bin/env python | |
import plotly | |
import plotly.graph_objs as go | |
import re | |
import sys | |
import json | |
import math | |
from clickhouse_driver import Client | |
from itertools import combinations |
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
class Sparkline extends React.Component { | |
constructor(props) { | |
super(props); | |
console.log(props) | |
this.state = { | |
values: props.values, | |
width: props.width, | |
height: props.height, | |
} | |
} |
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
""" | |
The mixpanel package allows you to easily track events and | |
update people properties from your python application. | |
The Mixpanel class is the primary class for tracking events and | |
sending people analytics updates. | |
The Consumer and BufferedConsumer classes allow callers to | |
customize the IO characteristics of their tracking. | |
""" |
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
""" | |
The mixpanel package allows you to easily track events and | |
update people properties from your python application. | |
The Mixpanel class is the primary class for tracking events and | |
sending people analytics updates. | |
The Consumer and BufferedConsumer classes allow callers to | |
customize the IO characteristics of their tracking. | |
""" |
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
""" | |
The mixpanel package allows you to easily track events and | |
update people properties from your python application. | |
The Mixpanel class is the primary class for tracking events and | |
sending people analytics updates. | |
The Consumer and BufferedConsumer classes allow callers to | |
customize the IO characteristics of their tracking. | |
""" |
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
""" | |
The mixpanel package allows you to easily track events and | |
update people properties from your python application. | |
The Mixpanel class is the primary class for tracking events and | |
sending people analytics updates. | |
The Consumer and BufferedConsumer classes allow callers to | |
customize the IO characteristics of their tracking. | |
""" |
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
#!/usr/bin/python | |
import datetime | |
import json | |
import os | |
import subprocess | |
import urllib2 | |
""" | |
Sets your mac desktop background to be a recent picture of the earth from space | |
""" |
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
python -c 'print "\n".join(["P R E S T E L"[:13-abs(x)].rjust(13-abs(x)/2) for x in range(-12,13,4)])' |
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
A | B | C | 1 | 2 | 3 | |
---|---|---|---|---|---|---|
Z | Y | X | 1 | 2 | 3 |
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
#define _BSD_SOURCE | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <stdint.h> | |
#include <unistd.h> | |
/* |
NewerOlder