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
* https://github.com/yandex/ClickHouse | |
### Drivers e conncetors | |
* https://github.com/yandex/clickhouse-jdbc | |
* https://github.com/DmitryBe/clickhouse-spark-connector | |
### UI | |
* https://github.com/smi2/tabix.ui |
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 pandas as pd | |
pd.set_option('display.float_format', lambda x: '%.3f' % x) |
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
%pyspark | |
import os | |
import matplotlib.pyplot as plt; plt.rcdefaults() | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import StringIO | |
import matplotlib |
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
#!/bin/bash | |
# works with a file called VERSION in the current directory, | |
# the contents of which should be a semantic version number | |
# such as "1.2.3" | |
# this script will display the current version, automatically | |
# suggest a "minor" version update, and ask for input to use | |
# the suggestion, or a newly entered value. |
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
# The API enforces the following rate limits per API key on usage: | |
# | |
# Allows one simultaneous request | |
# 60 requests/minute | |
# 150 requests/hour | |
# 1000 requests/day | |
# The API will return a 429 response code when a rate limit is exceeded. | |
# You should reduce your rate of requests and retry throttled requests after the | |
# specified time. |
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
Sys.setenv(SPARK_HOME = "/usr/local/spark-1.5.2/") | |
library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"))) |
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
# The API enforces the following rate limits per API key on usage: | |
# | |
# Allows one simultaneous request | |
# 60 requests/minute | |
# 150 requests/hour | |
# 1000 requests/day | |
# The API will return a 429 response code when a rate limit is exceeded. | |
# You should reduce your rate of requests and retry throttled requests after the | |
# specified time. |
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
module Realtime | |
class PusherWrapper | |
attr_reader :socket | |
def initialize | |
Pusher.app_id = '<<app ID>>' | |
Pusher.key = '<<app key>>' | |
Pusher.secret = '<<secret key>>' |