码迷,mamicode.com
首页 > 其他好文
Git 代码管理常用命令
1) 远程仓库相关命令检出仓库:$ git clone git://github.com/jquery/jquery.git查看远程仓库:$ git remote -v添加远程仓库:$ git remote add [name] [url]删除远程仓库:$ git remote rm [name]修...
分类:其他好文   时间:2015-07-31 16:09:09    阅读次数:101
GCC编译过程
GCC的编译流程分为四个步骤,分别为:· 预处理(Pre-Processing)· 编译(Compiling)· 汇编(Assembling)· 链接(Linking)
分类:其他好文   时间:2015-07-31 16:08:09    阅读次数:133
串口中断的问题
关于串口中断 void?uart(void)?interrupt?4?using?3? { ?unsigned?char???i,j; 、 ? ?EA=0;? ?i=SBUF; ?RI=0; ????//接收中断标志位 ?????????if((i==0x5b)||(i==0xfa)) ?{ ...
分类:其他好文   时间:2015-07-31 15:05:20    阅读次数:108
lua的面向对象编程
首先我们去了解一下类,一个类就是一个创建对象的模具,实际上,lua中不存在类这个概念,我们都是去模拟类。在lua中,要表示一个类,只需创建一个专用作其它对象的原型。我们在lua的面相对象,就是使用t...
分类:其他好文   时间:2015-07-31 15:06:49    阅读次数:135
apktool反编译
Apktool?反编译 1.下载apktools.tar.bz2,将其解压后的目录添加到系统path环境变量中 进入DOS,先输入apktool看反编译工具安装是否成功 2.进行反编译 进入DOS,进入到要反编译的apk文件目录输入命令 apktool??...
分类:其他好文   时间:2015-07-31 15:03:55    阅读次数:169
tornado实现文件下载
class SpockDataIntegrationDownloadHandler(tornado.web.RequestHandler): def post(self): selectname = self.get_argument(‘selectname‘) json_string = {} """ 将请求参...
分类:其他好文   时间:2015-07-31 15:04:45    阅读次数:590
go的接口实现
OOP实例: // OOP project main.go package main import ( "fmt" ) type people interface { Count(a int, b int) int Max(a int, b int) int } type abc struct { } func (ab abc) Count(a int, b int) int { ...
分类:其他好文   时间:2015-07-31 15:02:16    阅读次数:114
go的读写操作
读写操作: // hello project main.go /* 从文件中读取数据,然后进行排序,再把排序后的数据写入到新文件中 */ package main import ( "fmt" //使用fmt包中的Println()函数 "bufio" "io" "os" "strconv" "sort" ) func readValues(infile string) (val...
分类:其他好文   时间:2015-07-31 15:04:28    阅读次数:103
HDOJ GCD Again 1787【欧拉函数】
GCD Again Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2625    Accepted Submission(s): 1099 Problem Description Do you have spent so...
分类:其他好文   时间:2015-07-31 15:03:23    阅读次数:124
Framework启动过程浅析
浅显的总结一下Framework启动大概过程...
分类:其他好文   时间:2015-07-31 15:01:34    阅读次数:162
MVVM中写代码的模块区域划分
之前使用MVVM的方式一段时间 + 前天认真的划分设计文档中的模块 = 一种想要强烈的现在使用MVVM的方式...
分类:其他好文   时间:2015-07-31 15:04:23    阅读次数:101
广搜简单题
Catch That Cow题目传送:POJ - 3278 - Catch That Cow题解:点击即传送迷宫问题题目传送:POJ - 3984 - 迷宫问题DFS也可以,见另一个题解AC代码(BFS):#include #include #include #include #include #include ...
分类:其他好文   时间:2015-07-31 15:03:41    阅读次数:136
Solr 文章集成
Solr 文章集成搜索 输入solr的query需要自行做分词,Solr 使用自定义 Query Parser http://blog.chenlb.com/2010/08/solr-use-custom-query-parser.html...
分类:其他好文   时间:2015-07-31 15:01:13    阅读次数:175
POJ 2362:Square 觉得这才算深度搜索
Square Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 21821   Accepted: 7624 Description Given a set of sticks of various lengths, is it possible to join ...
分类:其他好文   时间:2015-07-31 15:01:23    阅读次数:181
poj1125 Stockbroker Grapevine 最短路 dijkstral + 优先队列
// poj1125 Stockbroker Grapevine 最短路 dijkstral + 优先队列 // // 一个模板吧,留着纪念 #include #include #include #include #include using namespace std; typedef pair P; const int MAX_N = 108; const i...
分类:其他好文   时间:2015-07-31 14:58:41    阅读次数:88
RPG游戏
这次代码完全使用c++的特点写的游戏,什么封装,多态,继承等等。遇到过问题,也遇到过快乐。一开始写的时候挺辛苦的。完全没有头绪。而且封装的权限问题把人的头都弄大了。不过当完成后心里无比激动,也是蛮拼了(PS:感谢与我合作的小伙伴,给了我非常多的灵感)              感觉做的最成功的就是地图类了,因为它完美的将所有东西都联系在一起,变成一个整体。 源文件: #include...
分类:其他好文   时间:2015-07-31 15:00:23    阅读次数:299
error LNK2026 module unsafe for SAFESEH image
error LNK2026 module unsafe for SAFESEH image...
分类:其他好文   时间:2015-07-31 14:58:22    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!