上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 52 下一页
摘要: 按ESC再按“V”,进入visual模式 用键盘向左向右箭头选中要复制的文字,按两下"Y"键 再到要粘贴的地方,按“P”键即可。 转自: http://jingyan.baidu.com/article/84b4f565c6b9e560f6da3291.html 阅读全文
posted @ 2016-05-10 15:41 圆旭 阅读(1822) 评论(0) 推荐(0)
摘要: Chef 的简单介绍 Chef 主要分为三个部分 Chef Server、Workstation 以及 Chef Client。用户在 Workstation 上编写 Cookbook。然后,通过 knife 命令上传到 Chef Server。最后,在 Chef Client 上实施安装和部署工作 阅读全文
posted @ 2016-05-05 17:40 圆旭 阅读(1057) 评论(0) 推荐(0)
摘要: 网址: http://otranscribe.com/ 首先载入音频文件,支持 mp3, ogg, webm, wav (HTML5 无需将文件上传至服务器,可保护隐私),然后就可以边听边整理了。 通过快捷键控制播放: ESC: 播放/暂停 F1: 后退 2 秒 F2: 前进 2 秒 F3: 减速播 阅读全文
posted @ 2016-05-04 09:52 圆旭 阅读(1174) 评论(0) 推荐(0)
摘要: 首先:ftp user@ip 登录到远程主机 成功后,输入ls,如下: ftp> ls 可以得到远程主机的本地目录。 一:get命令(从远程主机下载文件到本机): ftp> get (remote-file) <输入要下载到本地的文件> (local-file) <输入要保存的名字> 回车即可 二: 阅读全文
posted @ 2016-04-29 19:20 圆旭 阅读(22011) 评论(0) 推荐(0)
摘要: 方法一: # ps aux | grep yum # kill -9 pid 方法二:可以通过执行rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了 解释: [root@localhost wangcheng]# yum list Existing lock 阅读全文
posted @ 2016-04-28 15:47 圆旭 阅读(3280) 评论(0) 推荐(0)
摘要: $this->modelsManager->createBuilder()->from('table')->where('a = "a"')->limit(1)->getPhql()from: https://github.com/phalcon/cphalcon/issues/2052 阅读全文
posted @ 2016-04-27 20:25 圆旭 阅读(262) 评论(0) 推荐(0)
摘要: 1> 下载VirtualBox的RHEL软件库配置文件: 2> 安装RPMForge. 首先从http://pkgs.repoforge.org/rpmforge-release/上下载相应的rpm文件,我下载的是rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm, 阅读全文
posted @ 2016-04-27 18:34 圆旭 阅读(1293) 评论(0) 推荐(0)
摘要: 一,安装服务器端 1,添加用户: 2,安装gnome桌面 3,安装vnc server: 4, 添加配置文件 5, reload systemd for changes.create vnc password, enable and start the service, Allow VNC serv 阅读全文
posted @ 2016-04-27 13:33 圆旭 阅读(371) 评论(0) 推荐(0)
摘要: 使用root账户用 visudo 命令来修改。转自: https://www.digitalocean.com/community/tutorials/how-to-edit-the-sudoers-file-on-ubuntu-and-centos 阅读全文
posted @ 2016-04-27 13:19 圆旭 阅读(1579) 评论(0) 推荐(0)
摘要: 比如一个 ArrayList 类,在添加一个元素的时候,它可能会有两步来完成:1. 在 Items[Size] 的位置存放此元素;2. 增大 Size 的值。 在单线程运行的情况下,如果 Size = 0,添加一个元素后,此元素在位置 0,而且 Size=1; 而如果是在多线程情况下,比如有两个线程 阅读全文
posted @ 2016-04-27 09:28 圆旭 阅读(153) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 52 下一页