码迷,mamicode.com
首页 >  
搜索关键字:git init    ( 57340个结果)
图片懒加载
页面初始化时,所有商品全是默认图片当屏幕向下滚动,超过下边框的所有图片都显示//图片懒加载(各分类:商品列表页)var waterfull = { init: function(col) { window.onscroll=this.throttle(this.isScroll...
分类:其他好文   时间:2014-06-18 13:22:53    阅读次数:240
Linux 下防火墙端口设置
方式1: /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #开启8011端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptab...
分类:系统相关   时间:2014-06-18 13:03:30    阅读次数:262
swift UIImage加载远程图片和圆角矩形
UIImage这个对象是swift中的图像类,可以使用UIImageView加载显示到View上。以下是UIImage的构造函数: init(named name: String!) -> UIImage // load from main bundle init(named name:...
分类:其他好文   时间:2014-06-18 12:49:16    阅读次数:244
学生管理系统报错(一)
1、错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-6-16 23:48:52 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded...
分类:其他好文   时间:2014-06-18 11:52:24    阅读次数:207
Git使用总结-so easy
一、Git的特性 Speed 速度(git是用c语言写的。一般都是提交到本地) Simple design Strong support for non-linear development (thousands of parallel branches)(强有力的支持非线性开发)  Fully distributed(分布式) Able to handle large projects...
分类:其他好文   时间:2014-06-17 21:42:13    阅读次数:272
git 命令1
初始化git仓库:$ cd $work$ git init所谓的 git 仓库,就是.git 隐藏目录。不过初始化后它还是空的。所在地方也即$work,也变成了工作树。两者关系:有选择地将工作树文档存储到 git 仓库中。接受形式:生成git仓库所能接受的数据格式将工作树下所有文档(包含子目录)生成...
分类:其他好文   时间:2014-06-17 21:00:46    阅读次数:186
Android源码是这样搞到的(图解)
Android学习到一定程度,就一定要多读代码多思考,Android源码就是很好的学习材料,本文就是把Android的源码下载下来。我们知道Android的源码是用Git这个分布式版本号控制工具管理的,下载起来比較麻烦,我们在这里用图解的方式一步一步来,你肯定能学会。第一步、安装VMWare我如.....
分类:移动开发   时间:2014-06-17 20:46:50    阅读次数:272
NSString和NSDate的转换
输入的日期字符串形如:@"1992-05-21 13:08:08"- (NSDate*)dateFromString:(NSString*)dateString{NSDateFormatter*dateFormatter = [[NSDateFormatter alloc]init];[dateFo...
分类:其他好文   时间:2014-06-17 16:00:25    阅读次数:131
iOS 测试用代码
//测试图片能否显示-(void)showMyimgview{ UIImageView *backgroundImg=[[UIImageView alloc]init]; backgroundImg.frame =CGRectMake(50, 200, 200, 100); b...
分类:移动开发   时间:2014-06-17 15:41:03    阅读次数:216
[数据结构与算法分析(Mark Allen Weiss)]不相交集 @ Python
最简单的不相交集的实现,来自MAW的《数据结构与算法分析》。代码:class DisjSet: def __init__(self, NumSets): self.S = [0 for i in range(NumSets+1)] def SetUnion(self, S,...
分类:编程语言   时间:2014-06-17 15:17:56    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!