上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
摘要: http://my.oschina.net/u/1446273/blog/306053http://blog.sina.com.cn/s/blog_5d406a1b0101jlgn.htmlhttp://www.ubuntukylin.com/ukylin/forum.php?mod=viewthr... 阅读全文
posted @ 2014-11-13 22:43 KoMiles 阅读(366) 评论(0) 推荐(0) 编辑
摘要: \t水平制表(跳到下一个tab位置)\r回车(将当前位置移到本行开头)\n换行(将当前位置移到下一行行开头) 阅读全文
posted @ 2014-11-11 21:06 KoMiles 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/webzhangnan/p/3221410.html【移动光标】 Ctrl+A 标移到行首。它在多数文本编辑器和 Mozilla 的 URL 字段内可以使用。Ctrl+E 把光标移到行尾。它在多数文本编辑器和 Mozilla 的 URL 字段内都... 阅读全文
posted @ 2014-11-07 09:34 KoMiles 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: root@komiles-VirtualBox:/etc/apache2/sites-available# service apache2 restart* Restarting web server apache2 apache2: Could not reliably determine th... 阅读全文
posted @ 2014-11-04 23:10 KoMiles 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 转自:http://yangfutao2000.blog.163.com/blog/static/12162588201151635856858/先安装服务器端:apt-get install memcached;再安装客户端 :apt-get install php5-memcache配置php.... 阅读全文
posted @ 2014-11-04 11:08 KoMiles 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-11-04 10:45 KoMiles 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://doodlebobbers.com/vagrant-error-your-vm-has-become-inaccessible/If you’ve deleted a virtual machine file still referenced by one of your p... 阅读全文
posted @ 2014-11-03 11:24 KoMiles 阅读(3196) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.tianzhigang.com/article.asp?id=280PHP的数据类型转换属于强制转换,允许转换的PHP数据类型有:(int)、(integer):转换成整形(float)、(double)、(real):转换成浮点型(string):转换成字符串(bool... 阅读全文
posted @ 2014-10-27 17:46 KoMiles 阅读(158892) 评论(0) 推荐(5) 编辑
摘要: 转自:http://blog.csdn.net/love__coder/article/details/66591031,安装NERDTree插件 先下载,官网:http://www.vim.org/scripts/script.php?script_id=1658 解压缩之后,把plugi... 阅读全文
posted @ 2014-10-25 20:40 KoMiles 阅读(48443) 评论(0) 推荐(1) 编辑
摘要: 转自:http://blog.sina.com.cn/s/blog_610997850100mwv8.html今天碰到个问题要用phpmyadmin导入1G的数据,但是在怎么都导入不了,用命令行就可以轻松搞定了。用mysql source命令可以导入比较大的文件。mysql>use dbtest;m... 阅读全文
posted @ 2014-10-20 16:03 KoMiles 阅读(86804) 评论(0) 推荐(2) 编辑
摘要: 转自:http://www.cnblogs.com/afant/archive/2009/03/11/1408745.html:s/^.*$/\L&/100##将100行内的小写转换成大写vi/vim 中可以使用 :s 命令来替换字符串。:s/vivian/sky/ 替换当前行第一个 vivian ... 阅读全文
posted @ 2014-10-10 15:41 KoMiles 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: 名称svn move — 移动一个文件或目录。概要svn move SRC DST描述这个命令移动文件或目录到你的工作拷贝或者是版本库。提示这个命令同svn copy加一个svn delete等同。注意Subversion不支持在工作拷贝和URL之间拷贝,此外,你只可以一个版本库内移动文件—Subv... 阅读全文
posted @ 2014-10-10 15:34 KoMiles 阅读(15325) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/cnblogsfans/archive/2010/03/21/1690838.htmlsvn 命令共同的选项--targets list 读取list并将其解释为一个将要操作的参数列表--non-recurisive, –N 只操作单个目录,不处理... 阅读全文
posted @ 2014-10-10 15:17 KoMiles 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 1. file.tar.gzgzip -dc file.tar.gz | tar tvf -2. file.tar.bz2bzip2 -dc file.tar.bz2 |tar tvf -3. file.tartar tvf file.tar 阅读全文
posted @ 2014-10-09 15:04 KoMiles 阅读(44962) 评论(0) 推荐(1) 编辑
摘要: 文件转自:http://www.2cto.com/os/201303/197829.htmlls按时间排序输出文件列表首先,ls --help查看ls相关的与时间排序相关的参数:> ls --help|grep -E "time|sort"如果不指定 -cftuSUX 或 --sort 任何一个选项... 阅读全文
posted @ 2014-10-09 11:59 KoMiles 阅读(3621) 评论(0) 推荐(0) 编辑
摘要: http://php.net/manual/en/function.strtr.php "-", "hello" => "hi", "hi" => "hello");echo strtr("hi all, I said hello", $trans);?>The above example will... 阅读全文
posted @ 2014-10-08 15:45 KoMiles 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 在em_twitter表中增加一个字段。1,添加一个字段isImportantalter table em_twitter add isImprotant int(4) not null default 0;2,把字段isImprotant 改成isImportantalter table em_t... 阅读全文
posted @ 2014-10-02 20:44 KoMiles 阅读(317) 评论(0) 推荐(0) 编辑
摘要: haomeiv配置log_format www.haomeiv.com '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' ... 阅读全文
posted @ 2014-10-02 20:39 KoMiles 阅读(16966) 评论(0) 推荐(0) 编辑
摘要: rewrite ^/(post|record|sort|author|page)-([0-9]+)\.html$ /index.php?$1=$2;rewrite ^/tag-(.+)\.html$ /index.php?tag=$1;把index.html 强制转换到index.php页面rewr... 阅读全文
posted @ 2014-10-02 20:35 KoMiles 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.76ku.cn/articles/archives/317rewite.在server块下,会优先执行rewrite部分,然后才会去匹配location块server中的rewrite break和last没什么区别,都会去匹配location,所以没必要用last再发起... 阅读全文
posted @ 2014-10-02 20:33 KoMiles 阅读(1317) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页