码迷,mamicode.com
首页 >  
搜索关键字:abc    ( 8006个结果
git 两个中心仓库上的分支 merge
首先在一个中心仓库里面增加另外一个仓库的全部分支。 命令: git remote add Cangku2 https://github.com/abc/abc.git git fetch 这之后在使用 git branch -r 就能看到另外一个中心库的全部分支。 下一步就可以执行merge操作。...
分类:其他好文   时间:2014-12-15 07:51:43    阅读次数:134
poj2406 Power Strings
DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think...
分类:其他好文   时间:2014-12-14 21:14:42    阅读次数:152
find结合rm删除大量文件
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明http://navarro.blogbus.com/logs/31502374.html例:删除/home/raven下,包括子目录里所有名为abc.txt的文件:find /home/raven -name abc.txt | xa...
分类:其他好文   时间:2014-12-13 23:06:32    阅读次数:283
linux使用mail发邮件
默认的mail不能对外发邮件,修改/etc/mail.rc,增加以下内容:setfrom=report3@163.comsetsmtp=smtp.163.comsetsmtp-auth-user=report3setsmtp-auth-password=passwordsetsmtp-auth=login测试:echo"mailbody"|mail-s"subject"abc@qq.commail-s"mailsubject"abc@qq.com<yourb..
分类:系统相关   时间:2014-12-13 18:09:54    阅读次数:172
ajax提交 的编码小结
今天用ajax的post方法提交数据给webservice,由于有email的缘故发现,注册方法调用总是报错,打开报文一看提交的 发现@符号被变成了%40 , abc@126.com 即abc%40126.com.开始我还以为他没有编码.后来百度搜索发现. 他默认是进过urlencode编码.为什么...
分类:Web程序   时间:2014-12-12 23:28:57    阅读次数:244
Leetcode: Valid Number
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:其他好文   时间:2014-12-12 14:33:25    阅读次数:156
Longest Substring Without Repeating Characters -- leetcode
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:其他好文   时间:2014-12-12 11:49:07    阅读次数:132
Linux cron 计划任务日志跟踪
场景:  需要在系统的cron中启动一个计划任务,跑的是一个shell脚本,脚本中大致意思是切换至         abc用户执行一个php文件(例如: /data/soft/auto.php),那么现在问题来了,脚本的内         容如下:            1 2 3 4 #!/bin/bash ...
分类:系统相关   时间:2014-12-12 11:43:11    阅读次数:187
mysql 增加用户
mysql 增加用户3、增加用户:(注意:和上面不同,下面的因为是MYSQL环境中的命令,所以后面都带一个分号作为命令结束符) 格式:grant select on 数据库.* to 用户名@登录主机 identified by “密码” 第一种:增加一个用户test1密码为abc,让他可以在任何....
分类:数据库   时间:2014-12-12 11:39:37    阅读次数:235
Linux cron 计划任务日志跟踪
场景:需要在系统的cron中启动一个计划任务,跑的是一个shell脚本,脚本中大致意思是切换至abc用户执行一个php文件(例如:/data/soft/auto.php),那么现在问题来了,脚本的内容如下:#!/bin/bash sudo-uabc/data/soft/auto.php echo‘>>>autosuccess!!!’你会神奇的..
分类:系统相关   时间:2014-12-12 01:25:57    阅读次数:306
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!