
Linux
edison702
这个作者很懒,什么都没留下…
展开
-
如何从pastebin粘贴一段代码到putt…
从外部拷贝到putty: 在putty命令行下面点“shift"+ "insert" 从putty拷贝到外面:选中需要拷贝的内容,不需要点任何东西, 然后到外部,比如一个txt文件,点ctrl+v就行。原创 2012-11-05 11:06:26 · 658 阅读 · 0 评论 -
在Amazon EC2上通过linux shell命令删除postgres 数据库
之前在导入一个同样的ruby项目时, 数据库里面所有内容都出现了两次。 所以开始查如何删除之前的postgres 数据库。 shell下输入命令:sudo su #用来进入root用户su - postgres #psql #进入postgres数据库Linux 下的 postgres shell 命令大全: http://www.yol原创 2012-11-09 14:42:11 · 648 阅读 · 0 评论 -
命令行更新linux软件
Q. I have latest version of Ubuntu Linux. How do I update Ubuntu Linux for security and application fix or upgrades?A. Ubuntu Linux can be upgraded using GUI tools or using traditional command line原创 2012-11-27 10:24:22 · 503 阅读 · 0 评论 -
网页界面管理linux, 包括amazon ec2主机的工具- landscape
网址: https://landscape.canonical.com 如何使用: https://landscape.canonical.com/account/auspac-sources-pty-ptd/how-to-register原创 2012-11-27 09:05:29 · 532 阅读 · 0 评论 -
ubuntud下的vim插件(Ruby on rails)
增加一个很不错的Vim插件介绍文章: http://www.cnblogs.com/chijianqiang/archive/2012/11/06/vim-3.html (14-Nov-2012)增加一个不错的vim配置插件bundle安装工具 janus: https://github.com/carlhuda/janus自动缩进: 要把 .vimrc里的 s原创 2012-11-05 11:06:39 · 388 阅读 · 0 评论 -
我自己操作的一些Git, Vim命令
Git:$ git show-branch #显示 branch&git remote -v 显示所有remote的信息, 有时一个项目推送到heroku以后,在heroku删除这个app, 再次推送到heroku失败, 然后用这个命令查看,发现remote 的地址还是之前推送的地址, 所以要用 git remote rm heroku来删除之前的地址,重新推送。$ git原创 2012-11-05 11:06:58 · 562 阅读 · 0 评论