I could also have called this "wildcard .NET mapping in IIS Express from web.config."I'm sure that, like, everyone out there but me has figured this o...
分类:
其他好文 时间:
2014-07-26 13:58:34
阅读次数:
239
题意什么的很普通的 就是比较2个字符串 balabala的主要是加深下字符串的处理 这题很容易细节不处理好WA的----我一开始 TLE 惊呆了 touch me 1 #include 2 #include 3 using namespace std; 4 5 const int siz...
分类:
其他好文 时间:
2014-07-26 01:52:46
阅读次数:
162
原文:http://baoz.me/446252 码农周刊如何让 Python 代码运行得更快?作者给出了 18 条 Python 代码性能优化小贴士,简单明了,拿来即用。http://infiniteloop.in/blog/quick-python-performance-optimizatio...
分类:
编程语言 时间:
2014-07-26 01:44:36
阅读次数:
648
cf分要高涨了。。。这题 就是个裸体啊 只要读懂题意 现在还是喜欢多做些英文的题目... touch me做这题的时候 突然发现 自己对V的遍历顺序为什么在完全背包是顺序 和在01背包是逆序懂了好多.... 1 #include 2 #include 3 using namespac...
分类:
其他好文 时间:
2014-07-25 14:26:41
阅读次数:
281
Ext版本4.2覆盖方法:Ext.override(Ext.grid.plugin.RowExpander,{
setCmp:function(grid){
varme=this,
rowBodyTpl,
features;
console.log(‘我是盖子。。‘);
me.callParent(arguments);
me.recordsExpanded={};
me.rowBodyTpl=Ext.XTemplate.getTpl(me,‘rowBodyTpl‘);
rowB..
分类:
其他好文 时间:
2014-07-24 23:55:54
阅读次数:
630
前几天因为python给我带来了兴奋写了一篇文章叫做《The beauty of python 1》,今天则是因为一个小错误而写下此文。
也是缘由于我的工作,问题是这样的:
我有一个文档,里面存储了一行信息
商品分类#该分类的商品数
商品分类是不会出现#(所以我保存时候用了#作为分隔符),而商品总是从1到商品数n编号,我得到这个商品数之后,就可以遍历调用操作函数(简单记为fun吧)。
理...
分类:
编程语言 时间:
2014-07-24 23:21:19
阅读次数:
299
To import the library to Android Studio, there is two methods that can (or cannot) work. The first one worked for me, but when I tried the second, it ...
分类:
移动开发 时间:
2014-07-24 22:42:13
阅读次数:
284
解决IE apk变成zip:Android 手机应用程序文件下载服务器 配置解决方法 APK文件其实是zip格式,但后缀名被修改为apk,通过UnZip解压后,可以看到Dex文件,Dex是Dalvik VM executes的全称,即Android Dalvik执行程序,并非Java ME的字节码而...
分类:
移动开发 时间:
2014-07-24 21:25:10
阅读次数:
296
开启或关闭长链接支持,参考:http://leeon.me/a/php-memcached短链实验场景测试代码:1.phpsetOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true);$mc->addServers(array( array(...
分类:
Web程序 时间:
2014-07-24 17:02:45
阅读次数:
224
Imports SystemImports System.Runtime.InteropServicesPublic Class DllInvoke Public Sub New(ByVal DLLPath As String) Me.hLib = DllInvoke.LoadL...