Skip to content

Instantly share code, notes, and snippets.

li.zhang zhangli2946

Block or report user

Report or block zhangli2946

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View WindowsScriptLock.py
class SingletonLock(object):
"""docstring for SingletonLock"""
LOCK_EX = win32con.LOCKFILE_EXCLUSIVE_LOCK
LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY
_overlapped = pywintypes.OVERLAPPED()
def __init__(self, lockfile,flag):
super(SingletonLock, self).__init__()
self._lockfile_ = open(lockfile,"w")
self._hfile_ = win32file._get_osfhandle(self._lockfile_.fileno())
View gist:8a4c53485b60d9669c9d59d2f5685c0d
第1步,安装Linux-headers
sudo apt-get update
sudo apt-cache search linux-headers-$(uname -r)
sudo apt-get install linux-headers-$(uname -r)
第2步,下载TL-WN725N 2.0的驱动,编译安装
git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu
make && make install
View spf
#!/usr/bin/expect
set ADDR [lindex $argv 0]
set timeout 3
spawn ssh root@$ADDR
expect {
"yes/no" { send "yes\r";exp_continue }
"password:" { send "t92vUtZ*By#xw!uH\r"}
}
send "ssh-keygen\r"
send "\r"
View 7589.json
{
"__inputs": [
{
"name": "DS_PROMETHEUS_WH211",
"label": "Prometheus",
"description": "kafka_exporter",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
View 9963.json
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "EMQ Exporter",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
View gist:08f3a1b39fd8b82f1668483eae4649e5
{
"__inputs": [
{
"name": "DS_PROMETHEUS_111",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
View markdown
# Prometheus 监控部署指南
## 1 JMX Exporter
### 1.1 安装 jmx_agent
- 下载
- jmx_prometheus_javaagent-0.9.jar
View tmp
# IoTDB 初步调研报告
> **官方介绍** :
>
> IoTDB 是专为*时序数据*设计的数据管理引擎
> 组件功能涵盖了: *数据采集*、*数据分析*、*数据存储* 三个方面
> 其 结构轻量、性能强劲、使用简单 且与 Hadoop、spark 高度集成
> 因而能满足工业 IoT (海量存储、高速写入、复杂分析) 场景使用
## 架构图
View med.md
只计算C0的相关数值(5≤C0≤200 筛查要求)

(所有数据要求全部具备性别、孕周、age day,出生体重)每一项要统计人数

1、计算所有C0的平均值、SD。

2、统计C0孕周<28周、28周≤X<31周、31周≤X<33周、33周≤X<35周,35周≤X<37周,37周≤X<39周,39周≤X<41周,41周≤X<43周,≥43周,分别统计以上分类的C0的平均值,标准差,最小值、0.5%分位数值、2.5%分位数值、25%分位数值、中位数、75%分位数值、97.5%分位数值、99.5%分位数值、最大值、P值。

3、C0出生体重  <1000g,1000g≤X<1500g,1500g≤X<2000g、2000g≤X<2500g、2500g≤X<3000g,3000g≤X<3500g,3500g≤X<4001g,≥4001g的C0的平均值,标准差,最小值、0.5%分位数值、2.5%分位数值、25%分位数值、中位数、75%分位数值、97.5%分位数值、99.5%分位数值、最大值、P值。
View gist:aa43e3ab6689b3977bfe0a20e42ad530
- 工作总结
- 业绩
- 研究任务
- IoTDB 调研
- 输出状态
- 从孵化状态、开发进度、理论成果等多方面进行了初步调研
- 在分享交流会上进行了展示交流
- 个人体会
- 孵化器项目有好有坏,全面评估可以减少踩坑
- 开发任务
You can’t perform that action at this time.