摘要: django动态局部刷新 阅读全文
posted @ 2014-09-09 20:21 蛮大人 阅读(23087) 评论(2) 推荐(2) 编辑
摘要: 公司开发C++是使用vs2008,编译的时候使用联合编译IncreBuild进行编译;在vs2008中使用visual assistx,如果代码太长,滚动的时候偶尔会出现页面乱码,而且有时候虚函数互相定位也有问题,没有vs2013使用方便,但是在vs2013中又不能直接编译,所有寻思做个插件解决编译... 阅读全文
posted @ 2014-08-25 10:35 蛮大人 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: 公司的mantis系统使用的时候,用户提交的文件列表为HTML内嵌的XML,但是公司二次开发mantis的时候,html中的js代码只针对ie平台对xml进行解析,导致chrome无法正常显列表。最近刚学会做chrome扩展,所有做了一个扩展把无法显示的内容显示出来。这个扩展只做2个动作1、解析... 阅读全文
posted @ 2014-08-25 10:19 蛮大人 阅读(505) 评论(0) 推荐(0) 编辑
摘要: chrome 扩展屏蔽百度贴吧某些人的发言我比较喜欢看电影,所以会经常去百度电影票房吧看帖子,但是有些人不知道出于什么目的,在每个帖子中都会发布同样的内容,严重干扰正常的看帖,如果下面这位:每个帖子都能看到它,心里很不爽,发条呼吁版主封账号,没有用。刚好最近看了一点javascript的东西,突然就... 阅读全文
posted @ 2014-08-23 18:03 蛮大人 阅读(657) 评论(1) 推荐(0) 编辑
摘要: 使用CMakeLists.txt生成DLL 定义的exort字段会将全部大写变成大小写混合,例如-NECONFIG_EXPORT 在生成的工程中会变为-NeConfig_EXPORT 阅读全文
posted @ 2014-08-06 15:24 蛮大人 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 1 dictnum ={'零':0,'一':1,'二':2,'三':3,'四':4,'五':5,'六':6,'七':7,'八':8,'九':9,'十':10,'百':12,'千':13,'万':14,'亿':18,'两':2, 2 '壹':1,'贰':2,'叁':3,'肆':4. 阅读全文
posted @ 2014-06-04 10:53 蛮大人 阅读(3191) 评论(0) 推荐(1) 编辑
摘要: 1 private void SetTableLayout()2 {3 this.tableLayoutPanel1.ColumnStyles[0] = 4 new System.Windows.Forms.Co... 阅读全文
posted @ 2014-05-05 20:04 蛮大人 阅读(6624) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 int Fun(const string& str,int iLen) 7 { 8 int count = 0; 9 for (int i = 0; i > iLen >> iNum;27 28 multimap mapval;29 for (int i = 0; i > str;33 mapval.insert(make_pair(Fun(str,iLen), str));34 }35 for... 阅读全文
posted @ 2014-03-28 15:43 蛮大人 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 悲剧,poj讨论区所以的测试数据都测试通过了,提交后还是不正确#include #include #include #include using namespace std;struct Object{ int ID; int Level; int Price; map Replace;public: Object(int id,int level,int price):ID(id),Level(level),Price(price) { }};struct PriceRoute{ int Price; int Target; vector Route; int Max; int Min; s 阅读全文
posted @ 2013-10-13 15:08 蛮大人 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int m,n; 7 vector warMap; 8 9 map LineStatus; 10 int EndData; 11 struct KeyVal 12 { 13 int key; 14 int val; 15 public: 16 KeyVal(int k,int v):key(k),val(v) 17 { 18 19 } 20 }; 21 struct KeyVec 22 ... 阅读全文
posted @ 2013-10-11 21:46 蛮大人 阅读(218) 评论(0) 推荐(0) 编辑