码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
转:开源知识库
原文来自于:https://code.csdn.net/openkb工具软件POS系统相关 (3)开源SIP项目 (9)OA办公 (22)文档管理 (21)计算机辅助设计 (15)地理信息系统GIS (15)金融及财务系统 (7)教学科研相关 (27)邮件客户端 (13)即时通信及语音工具 (62)...
分类:其他好文   时间:2014-09-29 00:04:55    阅读次数:379
Learning JavaScript Design Patterns The Module Pattern
The Module PatternModulesModules are an integral piece of any robust application's architecture and typically help in keeping the units of code for a ...
分类:编程语言   时间:2014-09-28 23:04:55    阅读次数:275
C# Meta Programming - Let Your Code Generate Code - Introduction of The Text Template Transformation Toolkit(T4)
using System;public static class GreaterTest{ public static of( left, right) {) .MakeGenericType(type).IsAssignableFrom(intf) || ...
分类:其他好文   时间:2014-09-28 20:31:35    阅读次数:264
Python 练习册,每天一个小程序
Python 练习册,每天一个小程序 说明: Python 练习册,每天一个小程序。注:将 Python 换成其他语言,大多数题目也试用不会出现诸如「打印九九乘法表」、「打印水仙花」之类的题目欢迎大家 Pull Request 出题目,贴代码(Gist、Blog皆可):-) Talk is cheap. Show me the code.--Linus Torvalds...
分类:编程语言   时间:2014-09-28 20:26:25    阅读次数:264
.NET工具集合
工具(1) 代码分析.NET Memory Profiler -http://memprofiler.com/ANTS Profiler -http://www.red-gate.com/code_profiling.htmdotTrace Profiler -http://www.jetbrain...
分类:Web程序   时间:2014-09-28 20:23:35    阅读次数:259
Phpthink入门基础大全(CURD部分)
[ad code=1 align=center] $data[1]['name'] = ‘阳光雨' $data[1]['email'] = 'sccscc@vip.qq.com' $User>addAll($data)'sccscc@vip.qq.com' $array['phone'] =...
分类:Web程序   时间:2014-09-28 19:21:14    阅读次数:313
POJ 1780 Code(欧拉通路)
输入n(1#include #include #include #include #include #include #include #include using namespace std;#define MP make_pair#define ll long long#define inf 0...
分类:其他好文   时间:2014-09-28 17:47:53    阅读次数:177
自定义位数生成激活码
Random random = new Random(~unchecked((int)DateTime.Now.Ticks));private string CreateAndCheckCode(Random random, string code, int length) // code 激活码前...
分类:其他好文   时间:2014-09-28 17:33:53    阅读次数:247
C# Meta Programming - Let Your Code Generate Code - 利用反射重写自动的ToString()
我们在写一些Model的时候,经常会重写ToString,为了在控制台中进行打印或者更好的单元测试。但是,如果Model的字段非常多的时候,如此简单的重复劳动经常会变成一件令人头痛的事情,因为大家都不想重复劳动,或者这种事情应该交给初级程序员或者毕业生去做。看如下:public class Cust...
分类:其他好文   时间:2014-09-28 12:48:02    阅读次数:228
BZOJ 2819 Nim 树链剖分
题目大意:两个小人在树上玩Nim游戏,问有没有必胜策略。 思路:尼姆游戏:如果所有石子的异或值为0就是必败局面。异或有如下性质:x ^ y ^ z = x ^ (y ^ z),所以就可以进行树链剖分了。题目中还好心提醒有30%的点会使dfs爆栈。。第一次写不用dfs的树链剖分,扒的别人的代码,有些丑陋。 CODE: #include #include #inclu...
分类:其他好文   时间:2014-09-28 10:35:41    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!