加载中
ffmpeg使用总结

使用ffmpeg采集摄像头和麦克风和桌面

2018/03/19 14:10
9.8K
win10安装caffe

实在是编译不动,最后只能用官方已经编译好的二进制文件

rust常用网址

官网 官方论坛 cargo搜索第三方包 中文在线聊天频道

2017/11/02 11:11
238
golang管理http代理

说明 由于使用go的自带的net/http库并结合http代理使用时会遇到too many open files和too many open connections这样的错误,导致无法创建新的连接,其原因是没有释放已用过的连接,本文只是...

2017/10/16 14:56
428
python多进程启动和退出管理

启动多个子进程来来处理一个大的任务队列

sqlalchemy使用总结(一)-执行原始sql语句

使用sqlalchemy管理连接池,执行参数绑定方式的原始sql语句,提高运行效率,并防止sql注入。

2017/08/27 15:44
2.1W
sqlite3使用总结

参考文档 官方文档 操作总结 准备工作,引用包,并建立连接 import sqlite3 db_conn = sqlite3.connect('example.db') 建表 db_conn.execute(r''' CREATE TABLE stocks ( uuid text...

2017/08/27 00:28
851
使用Rustup搭建开发环境

说明 rustup是官方推荐的工具,可以方便的搭建环境,方便切换nightly和stable版本,并可以使用国内的镜像地址加速安装 参考 https://www.rust-lang.org/en-US/other-installers.html https:...

2017/06/08 09:26
2.9K
代码片段1

定时关闭windows网络 import os import time from datetime import datetime, timedelta import logging import random if __name__ == '__main__': logging.basicConfig(format='%(a...

2017/05/23 09:19
90
排序算法练习

#include <iostream> #include <iterator> #include <algorithm> #include <cstdlib> #include <vector> #include <cassert> std::vector<int> generateIntList(int size = 10) {   std::ve...

2017/05/19 17:43
109
加减乘除科学计算

#include<iostream> #include<stack> #include <string> #include <vector> //判断 new_op > old_op bool CompareOp(const std::string& new_op, const std::string& old_op) {   if (new_...

2017/05/17 17:22
43
CMAKE使用总结

参考文档 CMake Practice.pdf 最简单的例子 目录结构 . ├── CMakeLists.txt └── main.cpp main.cpp #include <iostream> int main() { std::cout <<"Hello World" << std::endl; ...

2017/05/16 16:40
3K
tornado总结10-日志配置

tornado源代码分析 打开site-packages/tornado/log.py,最开头的注释文档说明了tornado的日志模块是直接和logging模块集成的 """Logging support for Tornado. Tornado uses three logger s...

tornado总结8-代码片段

总结一些自己认为有用的代码片段

2016/05/20 17:17
154

没有更多内容

加载失败,请刷新页面

返回顶部
顶部