上一页 1 2 3 4 5 6 7 8 ··· 24 下一页
摘要: Jenkins: Change Workspaces and Build Directory Locations 转自: http://ingorichter.blogspot.jp/2012/02/jenkins-change-workspaces-and-build.html Have you 阅读全文
posted @ 2016-02-16 11:20 iTech 阅读(51259) 评论(1) 推荐(0) 编辑
摘要: 转自: https://github.com/kaiye/kaiye.github.com/issues/7 在掌握了基础的 Git 使用 之后,可能会遇到一些问题。以下是猫哥筛选总结的部分常见问题,分享给各位朋友,掌握了这些问题的中的要点之后,git 进阶也就完成了,它包含以下部分: 如何修改 o 阅读全文
posted @ 2016-02-14 13:05 iTech 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: 代码回滚:Reset、Checkout、Revert的选择 Zhongyi Tong edited this page on Dec 8, 2015 · 5 revisions Pages 19 Home 2.1 快速指南 2.2 创建代码仓库 2.3 保存你的更改 2.4 检查仓库状态 2.5 检 阅读全文
posted @ 2016-02-14 12:58 iTech 阅读(14482) 评论(1) 推荐(2) 编辑
摘要: 代码合并:Merge、Rebase的选择 Zhongyi Tong edited this page on Dec 7, 2015 · 3 revisions Pages 19 Home 2.1 快速指南 2.2 创建代码仓库 2.3 保存你的更改 2.4 检查仓库状态 2.5 检出之前的提交 2. 阅读全文
posted @ 2016-02-14 12:57 iTech 阅读(44073) 评论(1) 推荐(5) 编辑
摘要: BY 童仲毅(geeeeeeeeek@github) 这是一篇在原文(BY atlassian)基础上演绎的译文。除非另行注明,页面上所有内容采用知识共享-署名(CC BY 2.5 AU)协议共享。 多种多样的工作流使得在项目中实施Git时变得难以选择。这份教程提供了一个出发点,调查企业团队最常见的 阅读全文
posted @ 2016-02-14 12:54 iTech 阅读(3870) 评论(1) 推荐(1) 编辑
摘要: 转自:http://www.cnblogs.com/eshizhan/archive/2012/07/16/2592902.html0.接触Linux恐怕对SSH再熟悉不过了,还有scp,sftp各种方便的功能,一般的使用都需要ip:port(如果不是默认22的话),但有些情况比较特殊,就是想连接一... 阅读全文
posted @ 2015-06-12 17:59 iTech 阅读(6882) 评论(0) 推荐(0) 编辑
摘要: Many system administrators make a practice of using GNU Screen or tmux to manage jobs running in the terminal. If you have a long-running job that you... 阅读全文
posted @ 2015-05-28 12:22 iTech 阅读(864) 评论(0) 推荐(0) 编辑
摘要: Answer:When applying permissions to directories on Linux, the permission bits have different meanings than on regular files.The write bit allows the a... 阅读全文
posted @ 2015-05-27 17:26 iTech 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 1.Bitvise SSH Clienthttp://www.putty.org/Bitvise SSH Client is an SSH and SFTP client for Windows. It is developed and supported professionally by Bit... 阅读全文
posted @ 2015-05-27 10:10 iTech 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: 今天的文章里我们会讲到一些使用Linux命令行工具来发送带附件的电子邮件的方法。它有很多用处,比如在应用程序所在服务器上,使用电子邮件发送 一个文件过来,或者你可以在脚本中使用这些命令来做一些自动化操作。在本文的例子中,我们会使用foo.tar.gz文件作为附件。有不同的命令行工具可以发送邮件,这里... 阅读全文
posted @ 2015-05-26 12:05 iTech 阅读(3120) 评论(0) 推荐(0) 编辑
摘要: 一个好的备份最基本的目的就是为了能够从一些错误中恢复:人为的失误磁盘阵列或是硬盘故障文件系统崩溃数据中心被破坏等等。所以,我为大家罗列了一些开源的软件备份工具。当为一个企业选择备份工具的时候,你都考虑什么呢?确定你正在部署的软件具有下面的特性开源软件– 你务必要选择那些源码可以免费获得,并且可以修改... 阅读全文
posted @ 2015-05-26 09:08 iTech 阅读(3964) 评论(0) 推荐(0) 编辑
摘要: 20 Unix Command Line Tricks – Part Ihttp://www.cyberciti.biz/open-source/command-line-hacks/20-unix-command-line-tricks-part-i/Deleting a HUGE fileI h... 阅读全文
posted @ 2015-05-18 15:48 iTech 阅读(2587) 评论(0) 推荐(0) 编辑
摘要: 一 简明语法来自: http://maxiang.info/二 markdown 语法:https://github.com/rhiokim/haroopad/blob/develop/Syntax.md三 markdown工具总结:http://appinn.me/d/83四 windows ma... 阅读全文
posted @ 2014-06-21 14:39 iTech 阅读(20122) 评论(0) 推荐(2) 编辑
摘要: 简单的proxy之TinyHTTPProxy.py如果是在外企工作的话,可以访问美国的机器,这样就可以在美国的机器上为自己装个proxy,然后本地就可以很容易的使用proxy来上网了。TinyHTTPProxy.py :主页:http://www.voidtrance.net/2010/01/sim... 阅读全文
posted @ 2014-06-21 09:35 iTech 阅读(6353) 评论(0) 推荐(0) 编辑
摘要: #http://perlmaven.com/open-and-read-from-files#mode operand create truncate#read yes yes #append >> yes Case 1: Throw an exception if yo... 阅读全文
posted @ 2014-04-28 17:40 iTech 阅读(2360) 评论(1) 推荐(0) 编辑
摘要: 原文:http://answers.perforce.com/articles/KB_Article/How-To-Rollback-An-Integration当我们需要将一个branch上的代码修改集成到另一个branch的时候,我们需要执行命令p4 integ + p4 resolve + p4 submit来完成,通称我们称以上的操作为一次integration或merge。一 rollback integration/merge有的时候在我们做了p4 integ 来把代码从一个branch merge到了另一个branch,但是发现有错误,或者这个merge不需要了,这时我们将需要撤 阅读全文
posted @ 2014-04-12 12:44 iTech 阅读(4340) 评论(0) 推荐(0) 编辑
摘要: linux 常用命令,基础知识,常用工具。。。 阅读全文
posted @ 2014-04-12 11:52 iTech 阅读(7132) 评论(0) 推荐(2) 编辑
摘要: 转自:http://blog.charlee.li/perl-xml-simple/[Perl]用XML::Simple解析XML文件在Perl中解析XML的方法最常见的就是使用XML::DOM和 XML::Simple了。 XML::DOM过于庞大,而且解析结果是一个DOM树,操作也不方便。对于小型且不复杂的XML文件,XML::DOM真是杀鸡用牛刀。 这时就轮到轻便的XML::Simple上场了。XML::Simple如其名,真的很简单。假设XML内容如下: This is a test.那么只需这样写:use XML::Simple;use ... 阅读全文
posted @ 2014-03-19 20:39 iTech 阅读(9915) 评论(0) 推荐(1) 编辑
摘要: 转自:http://www.cnblogs.com/sixiweb/archive/2012/11/26/2789458.html安装tomcat7:tomcat7下载主页: http://tomcat.apache.org/download-70.cgi下载:(core: tar.gz)wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.47/bin/apache-tomcat-7.0.47.tar.gztar -zxvf apache-tomcat-7.0.47.tar.gzmv apache-tomcat-7.0.47 /u 阅读全文
posted @ 2014-01-12 13:20 iTech 阅读(7947) 评论(0) 推荐(0) 编辑
摘要: 1) 安装tomcat安装tomcat6: http://www.cnblogs.com/itech/p/3506011.html安装tomcat7: http://www.cnblogs.com/itech/p/3515846.html2) 安装jenkins下载jenkins,wgethttp://mirrors.jenkins-ci.org/war/latest/jenkins.war如果tomcat7以daemon运行,需要先设置jenkins_home:vim /etc/init.d/tomcat7 或者/usr/share/tomcat7/bin/startup.shexport 阅读全文
posted @ 2014-01-05 17:54 iTech 阅读(5398) 评论(0) 推荐(0) 编辑
摘要: 在centos中安装tomcat61)通过yum自动安装tomcat和dependencesroot@Centos_AAA ~]# yum install tomcat6[root@Centos_AAA ~]# service tomcat6 start[root@Centos_AAA ~]# chkconfig tomcat6 on[root@Centos_AAA ~]# yum install tomcat6-webapps[root@Centos_AAA webapps]# yum install tomcat6-admin-webapps如果访问http://192.168.0.120 阅读全文
posted @ 2014-01-05 16:35 iTech 阅读(6898) 评论(0) 推荐(0) 编辑
摘要: 需要sudo或root权限。翻译自: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions1)确保centos中的java为openjdk。如果java -version输出为java -versionjava version "1.5.0"gij (GNU libgcj) version 4.4.6 20110731 (Red Hat 4.4.6-3)则需要卸载java,安装openjdk版本yum remove java然后安装openjdk如下:y 阅读全文
posted @ 2014-01-04 15:27 iTech 阅读(4666) 评论(0) 推荐(0) 编辑
摘要: 在centos中安装jenkins1)安装目录pwd (/home/AAA)2)检查java是否安装[AAA@Centos_AAA jenkins]$ java -versionjava version "1.6.0_22"OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.41.1.10.4.el6-x86_64)OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)3)下载jenkinsmkdir -p jenkins/jenkins_homemkdir -p j 阅读全文
posted @ 2014-01-04 12:32 iTech 阅读(20842) 评论(2) 推荐(0) 编辑
摘要: 下载8000首儿歌的python的代码:#-*- coding: UTF-8 -*-from pyquery import PyQuery as pyfrom lxml import etreeimport urllibimport reimport osimport sysimport loggingdef format(filename): tuple=(' ','’','\'') for char in tuple: if (filename.find(char)!=-1): filename=filename.replace(ch 阅读全文
posted @ 2013-12-29 16:15 iTech 阅读(2791) 评论(2) 推荐(1) 编辑
摘要: 转自: http://www.tecmint.com/35-practical-examples-of-linux-find-command/35 Practical Examples of Linux Find CommandPart I: Basic Find Commands for Finding Files with NamesPart II: Find Files Based on their PermissionsPart III: Search Files Based On Owners and GroupsPart IV: Find Files and Directories 阅读全文
posted @ 2013-12-14 19:03 iTech 阅读(3319) 评论(0) 推荐(0) 编辑
摘要: 安装:yum -y install gcc automake autoconf libtool make安装g++:yum install gcc gcc-c++ 阅读全文
posted @ 2013-09-14 22:18 iTech 阅读(5039) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blogread.cn/it/article/5449?f=wb很久以前整理了篇将手机网站做成手机应用的JS框架。时隔一年多,很多新的技术已经出现,下面再来总结下还有哪些框架是适合面向手机设备的开发的。1、jQuery MobilejQuery Mobile 是 jQuery 在手机上和平板设备上的版本。jQuery Mobile 不仅会给主流移动平台带来jQuery核心库,而且会发布一个完整统一的jQuery移动UI框架。支持全球主流的移动平台。jQuery Mobile开发团队说:能开发这个项目,我们非常兴奋。移动Web太需要一个跨浏览器的框架,让开发人员开发出真正的移 阅读全文
posted @ 2013-07-27 21:46 iTech 阅读(39038) 评论(4) 推荐(2) 编辑
摘要: 来自:http://blog.csdn.net/tianlesoftware/article/details/6457487Linux是一个多用户,多任务的系统,可以同时运行多个用户的多个程序,就必然会产生很多的进程,而每个进程会有不同的状态。在下文将对进程的R、S、D、T、Z、X六种状态做个说明。PROCESS STATE CODESHere are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display 阅读全文
posted @ 2013-07-23 12:35 iTech 阅读(13272) 评论(0) 推荐(1) 编辑
摘要: 一 phonegapcordova:http://cordova.apache.org/phonegap:http://phonegap.comPhoneGap 是Cordova的一个开源的发布版本。phonegap有Adobe维护,可以很容易地使用Adobe的phonegap build service在云端打包多个平台的app。 使用phonegap build service,不需要在本地维护多个平台的SDK环境,只需要简单地将HTML,CSS,Javascript上传到phonegap build的云端,phonegap build自动地生产多个平台的app。phonegap buil 阅读全文
posted @ 2013-07-14 08:57 iTech 阅读(2370) 评论(0) 推荐(0) 编辑
摘要: 来自:http://www.bagualu.net/wordpress/?p=1628使用signal,能让你的程序功能更丰富。要在Linux下列出所有的signal, 利用kill -l即可。 下面是我机器上的输出(后面还有到64的没列出来):xuyang@xuyang-desktop:/$ kill -l1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP6) SIGABRT 7) SIGBUS 8 ) SIGFPE 9) SIGKILL 10) SIGUSR111) SIGSEGV 12) SIGUSR2 13) SIGPI... 阅读全文
posted @ 2013-07-09 17:34 iTech 阅读(1968) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 24 下一页