会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
78
下一页
2017年11月2日
mongodb centos7上的安装
摘要: 1,下载安装包 下载mongoDB的安装文件地址:https://www.mongodb.org/downloads#production 选择Linux 64-bit legacy 版本,下载到目标服务器上。解压文件tar -zxvf mongodb-linux-x86_64-3.0.2.tgz进
阅读全文
posted @ 2017-11-02 14:14 ahuo
阅读(204)
评论(0)
推荐(0)
2017年11月1日
nginx 413 500报错
摘要: 采用nginx作反向代理,出现了一个诡异的问题,小文件可以提交,大文件会报500内部错误。这个是什么原因导致的呢? 查wiki可知,上传文件大小相关的有三个配置 client_body_buffer_size 配置请求体缓存区大小, 不配的话, client_body_temp_path 设置临时文
阅读全文
posted @ 2017-11-01 10:23 ahuo
阅读(403)
评论(0)
推荐(0)
2017年10月12日
parity 钱包
摘要: 数据快照路径 C:\Users\admin\AppData\Local\Parity\Ethereum\chains\ethereum\db\906a34e69aec8c0d\snapshot\restoration\db
阅读全文
posted @ 2017-10-12 15:01 ahuo
阅读(205)
评论(0)
推荐(0)
2017年10月10日
mongodb常用查询
摘要: mongosql说明 db.users.find() select * from users 从user表中查询所有数据 db.users.find({“username” : “joe”, “age” : 27}) select * from users where “username” = “j
阅读全文
posted @ 2017-10-10 17:07 ahuo
阅读(594)
评论(0)
推荐(0)
2017年9月29日
actuator监控
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org
阅读全文
posted @ 2017-09-29 10:34 ahuo
阅读(253)
评论(0)
推荐(0)
2017年9月27日
mongodb 脚本操作
摘要: MO='mongo'$MO << EOFuse testdbdb.dropDatabase()show dbsexit;EOF
阅读全文
posted @ 2017-09-27 17:01 ahuo
阅读(427)
评论(0)
推荐(0)
mongodb 备份与恢复
摘要: mongodump -h dbhost -d dbname -o dbdirectory mongorestore -h dbhost -d dbname --directoryperdb dbdirectory
阅读全文
posted @ 2017-09-27 17:00 ahuo
阅读(215)
评论(0)
推荐(0)
2017年9月15日
mybatis insert 返回主键
摘要: <insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="db.TbuserWithBLOBs"> record.getId()就是新的ID
阅读全文
posted @ 2017-09-15 17:33 ahuo
阅读(154)
评论(0)
推荐(0)
2017年9月13日
MyBatis
摘要: Tbuser record = new Tbuser(); TbuserWithBLOBs bloBs = tbuserMapper.selectByPrimaryKey((long) 34); bloBs.setCardid("00000"); tbuserMapper.updateByPrimaryKeyWithBLOBs(bloBs); ...
阅读全文
posted @ 2017-09-13 10:13 ahuo
阅读(353)
评论(0)
推荐(0)
2017年9月11日
spring post 图片
摘要: @RequestMapping(value = "/post",method = RequestMethod.POST) @ResponseBody String GPost(@RequestParam("img1") MultipartFile[] img1,@RequestParam("img2") MultipartFile[] img2) throws IOExcept...
阅读全文
posted @ 2017-09-11 17:37 ahuo
阅读(238)
评论(0)
推荐(0)
2017年9月7日
spring boot
摘要: 端口修改 java -jar demo.jar --server.port=8011 或 src\main\resources\application.properties server.port=8011 资源 优先级顺序为:META/resources > resources > static
阅读全文
posted @ 2017-09-07 09:52 ahuo
阅读(288)
评论(0)
推荐(0)
2017年8月4日
linux 调用栈打印
摘要: NDK开发的代码打印方式 #include <utils/CallStack.h> extern "C" void dumping_callstack(void);void dumping_callstack(void){ android::CallStack stack;stack.update(
阅读全文
posted @ 2017-08-04 17:59 ahuo
阅读(837)
评论(0)
推荐(0)
2017年8月2日
sys.usb.config webcam
摘要: setprop persist.sys.usb.config webcamecho 0 > /sys/devices/virtual/android_usb/android0/enableecho "webcam" > /sys/class/android_usb/android0/function
阅读全文
posted @ 2017-08-02 16:29 ahuo
阅读(562)
评论(0)
推荐(0)
2017年7月13日
linux find 10天内改动过的文件
摘要: find . -name "*.h" -mtime -10 -type f -print find . -regex ".*\.\(c\|h\)" -mtime -10 -type f -print
阅读全文
posted @ 2017-07-13 11:07 ahuo
阅读(1170)
评论(0)
推荐(0)
2017年6月30日
内核调试日志打印宏
摘要: #define KERN_EMERG "<0>" /* system is unusable */#define KERN_ALERT "<1>" /* action must be taken immediately */#define KERN_CRIT "<2>" /* critical co
阅读全文
posted @ 2017-06-30 11:14 ahuo
阅读(304)
评论(1)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
78
下一页
公告