会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
77
下一页
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
阅读(233)
评论(0)
推荐(0)
2017年9月27日
mongodb 脚本操作
摘要: MO='mongo'$MO << EOFuse testdbdb.dropDatabase()show dbsexit;EOF
阅读全文
posted @ 2017-09-27 17:01 ahuo
阅读(412)
评论(0)
推荐(0)
mongodb 备份与恢复
摘要: mongodump -h dbhost -d dbname -o dbdirectory mongorestore -h dbhost -d dbname --directoryperdb dbdirectory
阅读全文
posted @ 2017-09-27 17:00 ahuo
阅读(193)
评论(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
阅读(140)
评论(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
阅读(332)
评论(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
阅读(227)
评论(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
阅读(273)
评论(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
阅读(819)
评论(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
阅读(545)
评论(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
阅读(1158)
评论(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
阅读(284)
评论(1)
推荐(0)
ack-grep 代码全文搜索
摘要: 安装 ubuntu下要安装ack-grep,因为在debian系中,ack这个名字被其他的软件占用了。 sudo apt-get install ack-grep 特点 大家都说自己的东西好,因此ack官网列出了这工具的5大卖点: 速度非常快,因为它只搜索有意义的东西。 更友好的搜索,忽略那些不是你
阅读全文
posted @ 2017-06-30 10:16 ahuo
阅读(2006)
评论(0)
推荐(0)
2017年6月23日
JDK配置 linux
摘要: 在启动终端并输入 gedit /etc/profile 在末尾添加一下配置,保存并退出 #set jdk environment export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_21 export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOM
阅读全文
posted @ 2017-06-23 16:33 ahuo
阅读(219)
评论(0)
推荐(0)
2017年6月12日
IDA修改游戏
摘要: 用GM找到机器码 基址 400000 偏移是401940-400000 = 0x1940 UE去到D40位置修改
阅读全文
posted @ 2017-06-12 09:59 ahuo
阅读(1288)
评论(1)
推荐(0)
2017年6月1日
curl 访问https问题
摘要: curl -k 不验证证书
阅读全文
posted @ 2017-06-01 10:23 ahuo
阅读(742)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
77
下一页
公告