码迷,mamicode.com
首页 >  
搜索关键字:git init    ( 57340个结果)
Linux双网(联通/电信)双IP原路返回路由设置
# 配置ip# /etc/iproute2/rt_tables增加2个路由表200 telecom201 unicom# /etc/rc.local添加原路返回路由(可以将以下内容写入/etc/init.d/networking脚本中)ip route flush table telecomip r...
分类:移动开发   时间:2014-07-22 22:44:33    阅读次数:240
Git 的优点
1. 快速如果你每移动一下鼠标都要等待五秒,是不是很受不了?版本控制也是一样的,每一个命令多那么几秒钟,一天下来也会浪费你不少时间。Git的操作非常快速,你可以把时间用在别的更有意义的地方。2. 离线工作在没有网络的情况下如何工作?如果你用SVN或者CVS的话就很麻烦。而Git可以让你在本地做所有操...
分类:其他好文   时间:2014-07-22 22:44:13    阅读次数:178
Servlet相关接口和Servlet的生命周期
创建一个Servlet类最直接的方式是实现javax.servlet.Servlet接口,Servlet接口的定义如下,其中定义了5个方法,Servlet的生命周期就是通过这几个方法体现的: 1 public interface Servlet { 2 public void init(Se...
分类:其他好文   时间:2014-07-22 22:40:34    阅读次数:231
添加nginx为系统服务(service nginx start/stop/restart)
1、在/etc/init.d/目录下编写脚本,名为nginx #!/bin/sh  #  # nginx - this script starts and stops the nginx daemon  #  # chkconfig:   - 85 15  # description: Nginx is an HTTP(S) server, HTTP(S) reverse \  ...
分类:其他好文   时间:2014-07-22 22:39:13    阅读次数:321
测试一下
###这里写markdown文档```phpdefine('IN_ECS', true);require(dirname(__FILE__) . '/includes/init.php');require(ROOT_PATH . 'includes/lib_license.php');require...
分类:其他好文   时间:2014-07-22 22:37:14    阅读次数:214
平时的笔记01
# -*- coding: cp936 -*-from PyQt4 import QtGui,QtCoreimport sysclass MianWindow(QtGui.QMainWindow): def __init__(self,parent=None): QtGui.QM...
分类:其他好文   时间:2014-07-22 22:36:13    阅读次数:219
AMovableLabel例子
#!/us/bin/envpythonfromPyQt4importQtCore,QtGuiclassAMovableLabel(QtGui.QLabel):def__init__(self,parent=None):super(AMovableLabel,self).__init__(parent...
分类:其他好文   时间:2014-07-22 22:35:35    阅读次数:184
iframe笔记及获取根目录的方法
iframe外面的js不能调用里面的dom,只能通过调用里面的js方法来调用。     iframe外面的js调用里面的js方法:通过iframe的name.里面的js方法名调用。     初始化外面的jq: $(function(){ outiframe.init(); ); outiframe = { init : function(){ //方法内容,如调用i...
分类:其他好文   时间:2014-07-22 17:47:51    阅读次数:184
【DataStructure】 Five methods to init the List in java
Do you know how to init list in other way except for new object? The following will give you serveral tips. If having other great idea, you are welcome to share.  import java.util.ArrayList; import j...
分类:编程语言   时间:2014-07-22 14:37:43    阅读次数:211
OpenStack 中的neutron-server启动过程
neutron-server是neutron的核心组件之一,负责直接接收外部请求,然后调用后端相应plugin进行处理。 其核心启动过程代码主要在neutron.server包中。 __init__.py文件中包括一个main()函数,是WSGI服务器开始的模块,并且通过调用serve_wsgi来创建一个NeutronApiService的实例。然后通过eventlet的greenpool...
分类:其他好文   时间:2014-07-22 14:15:44    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!