摘要: 发送ajax请求 阅读全文
posted @ 2015-09-10 16:07 helloweworld 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 点击新增元素 阅读全文
posted @ 2015-09-10 13:08 helloweworld 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 绑定点击事件 方法二, 建议方法一 绑定点击事件 阅读全文
posted @ 2015-09-10 12:50 helloweworld 阅读(2640) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-09-10 12:34 helloweworld 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 改配置, 设为只有一个work线程.1. 查看所有线程的bt状态(每个线程运行到何处了)thread apply all bt2. 根据1中的信息, 找到work线程, attach上去thread 3. 设置断点b 4. 运行到断点c然后是客户端发送请求5. 下一步n 阅读全文
posted @ 2015-04-27 21:29 helloweworld 阅读(293) 评论(0) 推荐(0) 编辑
摘要: http://chenrongya.blog.163.com/blog/static/8747419620143185103297/注意 sudo apt-get update刷新 阅读全文
posted @ 2015-04-21 10:24 helloweworld 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 方法1:gdb --args ./main -i main.conf方法2:(1) gdb ./main(2) r -i main.conf方法3:(1) gdb ./main(2) set args -i main.conf 阅读全文
posted @ 2015-03-27 21:43 helloweworld 阅读(2357) 评论(0) 推荐(0) 编辑
摘要: 代码一. select设置默认显示内容&&获取下拉框显示内容.HTML JS$(function() { /**** 设置下拉框显示内容 ****/ $scope.option_array = [ {"key" : "hello", "value" : 1}, ... 阅读全文
posted @ 2015-01-23 23:08 helloweworld 阅读(4969) 评论(0) 推荐(0) 编辑
摘要: package test_namespace;message ChildMsg { message GrandSonMsg { optional string grandson = 1; } repeated GrandSonMsg grandson_msg ... 阅读全文
posted @ 2015-01-08 17:43 helloweworld 阅读(1381) 评论(0) 推荐(0) 编辑
摘要: 普通字段package test_namespace;message FatherMsg { repeated string father = 1; }#include #include #include #include "test.pb.h"using namespace std;i... 阅读全文
posted @ 2015-01-08 17:16 helloweworld 阅读(889) 评论(0) 推荐(0) 编辑