码迷,mamicode.com
首页 >  
搜索关键字:other    ( 5856个结果
二维凸包 Graham 算法
三点以下的情况就不写了 Python: import math class Point( object ): def __init__( self, x, y ): self.x = x self.y = y def __cmp__( self, other ): if self.y < other.y:...
分类:其他好文   时间:2014-09-13 00:50:24    阅读次数:409
Redis实践之 配置文件解析
本文原创自 http://blog.csdn.net/voipmaker  转载注明出处。 要掌握redis的用法,配置文件的重要参数必须掌握,下面是笔者对各个参数的学习笔记,同时会针对特殊参数的使用场景做简短说明。 include /path/to/other.conf  解释:include和c里面的include概念类似,可以把redis的的参数分散到其他文件,当运行多个redis...
分类:其他好文   时间:2014-09-12 23:33:04    阅读次数:396
凸包 Graham 算法
import math class Point( object ): def __init__( self, x, y ): self.x = x self.y = y def __cmp__( self, other ): if self.y < other.y: return -1...
分类:其他好文   时间:2014-09-12 15:13:23    阅读次数:190
Python 多级排序
class C( object ): def __init__( self, x1, x2, x3 ): self.x1 = x1 self.x2 = x2 self.x3 = x3 def __cmp__( self, other ): if self.x1 < other.x1: ...
分类:编程语言   时间:2014-09-12 13:35:03    阅读次数:201
the (plasma) cutters have specialized functionalities that is distinct than other CNC machineries
eastwood's versa cut plasma cutter The machine is able to create clean, mini laser engraver for sale and sharp cuts as its torch head are computer con...
分类:其他好文   时间:2014-09-12 10:08:03    阅读次数:278
[Java coding] leetcode notes
Start from Difficulty 1:1, Remove specified elem from unsorted array: 2 pointers, one is to iterate all the elements in the array, the other is to inc...
分类:编程语言   时间:2014-09-11 23:46:42    阅读次数:250
iOS 集成 Cordova(phoneGap ) 注意事项
(一)集成步骤      1、直接拖拽project 文件到父级文件(不能直接拖文件夹)      2、修改Other Linker Flags 中的引用 (根据自动生成的项目,复制成一样的即可)      3、主项目 Build Phases 中添加target 和 link binary with Libraries (二)头文件找不到解决方案      ...
分类:移动开发   时间:2014-09-11 19:29:32    阅读次数:204
sublime text ctags插件使用
1.将其他项目的tag加入我们项目的.tag文件中,实现函数跳转:ctags -R -f "your-tag-file-path" -a "other-project-path" --languages=C但是这个方法比较笨,因为你一旦rebuild tags,就会覆盖掉原先的.tag文件,你又得重...
分类:其他好文   时间:2014-09-11 15:12:02    阅读次数:195
Leetcode: N-Queens
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.这是一道NP的题目,解题套路与Sudoku Solver类似,类...
分类:其他好文   时间:2014-09-11 11:05:21    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!