Ruby MIrror

进来在安装Gitlib的时候,用到了ruby。可是发现国外的官方的ruby安装源,简直就是考验耐性!Google了下,发现了好东西: ruby.taobao.org快速入门:如何使用?$ gem sources –remove https://rubygems.org/$ gem sources -a https://ruby.taobao.org/$ gem sources -l*** CURRENT SOURCES ***https://ruby.taobao.org# 请确保只有 ruby.taobao.org$ gem install rails如果你是用 Bundle (Rails 项目)source ‘https://ruby.taobao.org/'gem ‘rails’, ‘4.1.0’...

<span title='2014-06-11 19:25:00 +0000 UTC'>2014/06/11 Jun</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;27 words&nbsp;·&nbsp;map[name:SCys uri:]

HTTP proxy with sslocal

setup sslocal config.json listen localhost 1080 port install polipo add next line into etc/polipo/config: service polipo restart int console use: export http_proxy=http://localhost ok! ex:https://github.com/clowwindy/shadowsocks/wiki/Convert-Shadowsocks-into-an-HTTP-proxy

<span title='2014-05-22 20:56:00 +0000 UTC'>2014/05/22 May</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;24 words&nbsp;·&nbsp;map[name:SCys uri:]

Wordpress 3.9 with Postgresql

change wp-include/wp-db.php找到所有的use_mysqli的赋值修改为true2. 添加一个函数给 pg4wp/driver_postgresql.php参考如下:1. http://wordpress.org/support/topic/not-working-with-392. http://blog.csdn.net/raptor/article/details/25636601

<span title='2014-05-20 04:06:00 +0000 UTC'>2014/05/20 May</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;6 words&nbsp;·&nbsp;map[name:SCys uri:]

Python on Windows

支持库的安装包的下载页面:http://www.lfd.uci.edu/~gohlke/pythonlibs提供近乎所有流行的包现在急于tornado和psycopg2的开发,直接可以在windows通过IDE快速编程,再到linux进行调试

<span title='2014-02-24 07:11:00 +0000 UTC'>2014/02/24 Feb</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;word&nbsp;·&nbsp;map[name:SCys uri:]

Virtualbox USB设备启动

Virtualbox 不直接支持USB启动,需要经过一道转换:1. 创建USB映射:sudo VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk /dev/sdc替换/dev/sdc为需要的USB设备启动项目2. 确认自己用户在disk组(即是/dev/sdc拥有组)sudo gpasswd -a scys disk3. 加载第一步创建的usb.vmdk到vbox虚拟机中,启动就OK。

<span title='2013-12-27 22:01:00 +0000 UTC'>2013/12/27 Dec</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;16 words&nbsp;·&nbsp;map[name:SCys uri:]