RVM是Ruby Version Manager的缩写,是一个命令行工具,它可以让你轻松地安装,管理和使用多个版本的Ruby.不同的rails项目使用等ruby和rails版本不一样的时候,可以使用RVM自由切换。安装RVMInstall RVM (development version)-安装ruby开发版\curl -sSL https://get.rvm.io | bashInstall RV...
分类:
其他好文 时间:
2016-01-13 17:53:04
阅读次数:
151
function objxy(n){ var o=document.getElementById(n),x=0,y=0,w=o.offsetWidth,h=o.offsetHeight if(o.getBoundingClientRect) { x=o.get...
分类:
其他好文 时间:
2016-01-13 17:21:02
阅读次数:
162
通过wget获取安装包: wgethttp://download.redis.io/redis-stable.tar.gz解压到当前目录: tarxzfredis-stable.tar.gz安装gcc环境: sudo apt-get install gccmake MALLOC=libcsudo.....
分类:
系统相关 时间:
2016-01-13 15:56:03
阅读次数:
207
转载自:http://www.dotblogs.com.tw/rainmaker/archive/2012/02/22/69811.aspx解决方案:在调用用户控件的窗体里面添加一下代码:protected override CreateParams CreateParams{ get ...
ubuntu下安装hexo博客 一 安装git sudo apt-get install git 二 安装nodejs 官网下载linux安装包.tar.gz文件解压 tar zxvf 这样变可以切到该文件下执行node npm如果要在任意目录可以访问的话,需要将node 所在的目录...
分类:
系统相关 时间:
2016-01-13 10:53:06
阅读次数:
215
1》 下载php源代码 #wget http://cn2.php.net/get/php-5.4.30.tar.gz/from/this/mirror 官网5.2的版本号貌似没提供 为了php-5.2.13-fpm php-5.2.13.tar.gz兼容 去我百度分享地址下载 http://pan....
分类:
Web程序 时间:
2016-01-13 10:51:31
阅读次数:
207
在ubuntu14下安装了Qt的安装包:qt-opensource-linux-x86-5.5.1.run以为 装完安装包后就能直接用了,结果总提示qmake未配置之类的错误,导致编译不了。后来网上查查,发现还需要安装其它的一些开发环境:sudo apt-get install build-esse...
分类:
系统相关 时间:
2016-01-13 09:23:31
阅读次数:
275
apt-get update 出现 这种错误Reading package lists... DoneW: There is no public key available for the following key IDs:7638D0442B90D010W: There is no public...
分类:
其他好文 时间:
2016-01-13 09:21:37
阅读次数:
161
ubuntu 下rar解压工具安装方法: 压缩功能 安装 sudo apt-get install rar卸载 sudo apt-get remove rar解压功能安装 sudo apt-get install unrar卸载 sudo apt-get remove unrarubuntu 下ra...
分类:
系统相关 时间:
2016-01-13 00:43:21
阅读次数:
242
一个实体多个引用的情况我们来考虑一下下面的情况: 1 public class Lodging 2 { 3 public int LodgingId { get; set; } 4 public string Name { get; set; } 5 ...
分类:
其他好文 时间:
2016-01-13 00:36:37
阅读次数:
303