GitHub

BI

superset

https://github.com/apache/incubator-superset
image.png
前端画图展示使用的是 D3.js. D3 有一个非常好的在线 JS 代码 notebook https://observablehq.com/. 后端使用 Python.
可以连接的数据库列表如下, 更多请看文档 https://superset.incubator.apache.org/docs/databases/installing-database-drivers

Database PyPI package Connection String
CockroachDB pip install cockroachdb cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable
Elasticsearch pip install sqlalchemy-exasol elasticsearch+http://{user}:{password}@{host}:9200/
Google Sheets pip install gsheetsdb gsheets://
MySQL pip install mysqlclient mysql://<UserName>:<DBPassword>@<Database Host>/<Database Name>
Oracle pip install cx_Oracle oracle://
PostgreSQL pip install psycopg2 postgresql:://<UserName>:<DBPassword>@<Database Host>/<Database Name>

PS: 想到一个和数据库有关的趣事, 云厂商把低价值的裸机预装上数据库软件, 通过卖数据库的方式提高数倍价格. 相当于没有做什么事情就获得这数倍价格的免费蛋糕

一个示例.
image.png

SQL LAB

BI 都有个很有趣的执行 SQL 语句的面板, 除了快速获得想要的数据之外, 你甚至可以练习 SQL 语句.
image.png

redash

https://github.com/getredash/redash
image.png
老样子, 我们找到一个替代品, 与 superset 不同, 使用纯 JS 代码写就. 简单体验了下, 各方面都简陋了一点, 看来有时候还是可以用星星数判断选型的.
2020-09-17 Weekly - 图5

Transfer

Send

https://github.com/mozilla/send
image.png
Mozilla 现在关停了这个服务因为滥用等原因, 不过我们还是能从中学到很多, 包括对 OSS 的使用和分发. 对文件的加密和浏览器支持等. 甚至可以复用部署它,
下面给一个 docker 部署的方法的摘要.
在当前目录 docker-compose up to run a full testable stack.

Environment variables:
Name Description
PORT Port the server will listen on (defaults to 1443).
S3_BUCKET The S3 bucket name.
REDIS_HOST Host name of the Redis server.
SENTRY_CLIENT Sentry Client ID
SENTRY_DSN Sentry DSN
MAX_FILE_SIZE in bytes (defaults to 2147483648)
NODE_ENV “production”
BASE_URL The HTTPS URL where traffic will be served (e.g. [https://send.firefox.com](https://send.firefox.com))

Example:
  1. $ docker run --net=host -e 'NODE_ENV=production' \
  2. -e 'S3_BUCKET=testpilot-p2p-dev' \
  3. -e 'REDIS_HOST=dyf9s2r4vo3.bolxr4.0001.usw2.cache.amazonaws.com' \
  4. -e 'SENTRY_CLIENT=https://51e23d7263e348a7a3b90a5357c61cb2@sentry.prod.mozaws.net/168' \
  5. -e 'SENTRY_DSN=https://51e23d7263e348a7a3b90a5357c61cb2:65e23d7263e348a7a3b90a5357c61c44@sentry.prod.mozaws.net/168' \
  6. -e 'BASE_URL=https://send.firefox.com' \
  7. mozilla/send:latest

croc

https://github.com/schollz/croc
croc 作者的博客, 介绍 croc → ✨Link
用于任意两个电脑之间跨平台传输多文件等数据, 通过中继发现, 点对点加密传输. 而且极简!!
image.png
image.png
这个作者还有很多有趣的小工具, 而且 star 数往往在数千左右, 从博客扒了点自我介绍, 生物物理学家, 佩服.
Zackary Scholl, Ph.D. is a biophysicist interested in the mechanisms of protein folding and studies them with theory and experiment at the single-molecule level.
_


Subscribe - Contribute - 订阅