## About Me
- 09年底至今,主要工作内容:基于Django的Web开发,从0.96版本到1.7,向Django及相关社区贡献了50+ commits
- 期间涉猎了javascript, golang, clojure等开发语言,对nginx, tornado, nodejs等工具的异步模型有一定了解
- 熟悉Linux下开发,了解部署,但之前未接触过Django的服务部署调优
#!/bin/sh | |
# | |
# redis Startup script for Redis Server | |
# | |
# chkconfig: - 90 10 | |
# description: Redis is an open source, advanced key-value store. | |
# | |
# processname: redis-server | |
# config: /etc/redis.conf | |
# pidfile: /var/run/redis.pid |
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
sudo yum -y install jenkins | |
sudo yum -y install java-1.7.0-openjdk.x86_64 | |
# Login as the jenkins user and specify shell explicity, | |
# since the default shell is /bin/false for most | |
# jenkins installations. | |
sudo su jenkins -s /bin/bash |
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"database/sql/driver" | |
"errors" | |
"fmt" | |
"github.com/jmoiron/sqlx" | |
_ "github.com/mattn/go-sqlite3" |
First install brew if you don't have it and XCode if you don't have them already. Also get pip if you don't have it. | |
Get the 10.9 GFortran from http://coudert.name/software/gfortran-4.8.2-Mavericks.dmg | |
(http://gcc.gnu.org/wiki/GFortranBinaries) | |
brew install readline | |
brew install zeromq | |
sudo pip install ipython pyzmq tornado pygments jinja2 | |
#optional python -c 'from IPython.external import mathjax; mathjax.install_mathjax()' |