linux sysctl.conf backup

net.ipv4.ip_forward = 1net.ipv4.conf.all.send_redirects = 0net.core.rmem_max = 16777216net.core.wmem_max = 16777216net.ipv4.tcp_rmem = 4096 87380 16777216net.ipv4.tcp_wmem = 4096 65536 16777216net.core.netdev_max_backlog = 30000net.ipv4.ip_forward = 1net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 1net.ipv4.tcp_timestamps = 0net.ipv4.tcp_sack = 1net.ipv4.tcp_window_scaling = 1net.ipv4.tcp_fastopen = 1

2014/06/15 Jun · 1 min · 35 words · map[name:SCys uri:]

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....

2014/06/11 Jun · 1 min · 24 words · 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!...

2014/05/22 May · 1 min · 24 words · 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

2014/05/20 May · 1 min · 6 words · map[name:SCys uri:]

Python on Windows

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

2014/02/24 Feb · 1 min · word · map[name:SCys uri:]