码迷,mamicode.com
首页 >  
搜索关键字:git init    ( 57340个结果)
理解start_kernel中函数语句的作用
asmlinkage void __init start_kernel(void) {     char * command_line;     extern const struct kernel_param __start___param[], __stop___param[];     /*这两个变量为地址指针,指向内核启动参数处理相关结构体段在内存中的位置(虚拟地址)。    ...
分类:其他好文   时间:2014-09-12 15:07:03    阅读次数:541
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
IDEA GIT连接Git@OSC
Git介绍请关注 廖雪峰的官方网站查看说明或是在Oschina中查看帮助 IDEA配置: 首先安装git for windows推荐使用这个:http://msysgit.github.io/ 可以在任何目录 右键——git bash 弹出对应路径的 git 命令行窗口 而且启动速度比较快 在Int...
分类:其他好文   时间:2014-09-12 13:22:33    阅读次数:502
[转]Android Logo 之 android 开机logo initlogo.rle
initlogo.rle的制作initlogo.rle的调用initlogo.rle定义的位置system/core/init/init.h1 #define INIT_IMAGE_FILE "/initlogo.rle" 从定义中可以知道,initlogo.rle存放位置在根目录下,如果图片名字不...
分类:移动开发   时间:2014-09-12 11:44:53    阅读次数:250
gitlab 启动参考
第一步 启动gitlabbundle exec rails s -e production第二步 启动redis/etc/init.d/redis startchkconfig redis on如果不启动redis 创建项目的时候不成功
分类:其他好文   时间:2014-09-12 10:11:13    阅读次数:197
PyQt挖地雷游戏学习笔记(3)
这个程序使用了Python有特色的语法套路。先看第一个。 main.py里的class MainWindow的函数init()中,有这样的语句: self.scene.setMap((conf.w, conf.h), conf.mines) 这里的变量conf,定义在config.py中,由以下语句引入的: from config import * 这里的conf.w和conf.h是...
分类:其他好文   时间:2014-09-12 06:45:53    阅读次数:241
python中将普通对象作为 字典类(dict) 使用
目前我知道的有两种方法: 1 定义的类继承dict类 例如 class A(dict): pass a = A() a['name'] = 12 2 给自定义的类添加  __setitem__() __getitem__()方法class A: def __init__(self, cfg={}): self.cfg = cfg def __setitem__(self, k...
分类:编程语言   时间:2014-09-12 00:00:22    阅读次数:263
cocos2dx用裁剪区域CCClippingNode实现滚动字幕
要实现文字在一定区域里滚动,首先用CCClippingNode做出一个剪裁区域,在这个区域内文字可以显示,出了这个区域之后文字就看不到。 bool TestLayer::init() { CCSize size = CCDirector::sharedDirector()->getVisibleSize(); //创建要显示的文字 text = CCLabelTTF::cr...
分类:其他好文   时间:2014-09-11 22:29:32    阅读次数:189
MEANIO
sudo npm install -g bowersudo npm install -g meaniosudo bower cache clean --allow-rootsudo mean init myAppcd myApp && sudo npm installsudo bower insta...
分类:其他好文   时间:2014-09-11 20:45:32    阅读次数:206
git使用具体介绍
1. Git概念1.1. Git库中由三部分组成 Git 仓库就是那个.git 文件夹,当中存放的是我们所提交的文档索引内容,Git 可基于文档索引内容对其所管理的文档进行内容追踪,从而实现文档的版本号控制。.git文件夹位于工作文件夹内。1) 工作文件夹:用户本地的文件夹;2) Index(索引)...
分类:其他好文   时间:2014-09-11 20:43:52    阅读次数:125
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!