LiuDongdong

爱好由来落笔难,一诗千改心始安。

Configpy

When develop the server applications, you could encounter a problem for managing the configuration. This issue can be encountered in every place where configuration management is needed as well as server applications. 1. built-in data structure .1. Constant config.py # config.py DATABASE_CONFIG = { 'host': 'localhost', 'dbname': 'company', 'user': 'user', 'password': 'password', 'port': 3306 } main.py import pymysql import config def connect_db(dbname): if dbname != config.DATABASE_CONFIG['dbname']: raise ValueError("Couldn't not find

Matlabdraw

1. Matlab 绘图 1.1. Plot 函数 x=-pi:pi/10:pi; %以pi/10为步长 y=tan(sin(x))-sin(tan(x)); %求出各点上的函数值 plot(x,y,'--rs',... %绘制红色的虚线,且每个转折点上用正方形表示。 'LineWidth',2,... % 设置线宽为2 'MarkerEdgeColor','k',...% 设置标记点边框

BLEProject

https://github.com/neXenio/BLE-Indoor-Positioning android 蓝牙音频数据传输实例demo: https://github.com/androidthings/sample-bluetooth-audio

EnvInstall

首先必须安装Java JDK (Java JDK下载、安装和环境变量配置,传送阵:点击开始传送) 去Android Studio的中文社区(官网)下载最新

Step Counter

随着人们生活水平的提高,生活方式和生活环境的改变,人们对健康体育锻炼越来越重视。大量研究表明, 运动能够减少慢性疾病的发生。快速准确地监测人体
0%