This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install mysql2 -- --with-mysql-config=/usr/local/mysql-5.6.16-osx10.7-x86_64/bin/mysql_config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem uninstall libv8 | |
gem install therubyracer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install package: | |
ApacheConf.tmLanguage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install xfonts-wqy | |
apt-get install xfonts-intl-chinese | |
以及字体大全 | |
http://blog.coolaj86.com/articles/how-to-get-more-fonts-on-ubuntu.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf xxx.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装mysql2 gem遇到的坑: | |
apt-get install libmysqlclient-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActiveRecord::Base.logger = Logger.new STDOUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
参考文章: | |
https://www.digitalocean.com/community/tutorials/how-to-use-logstash-and-kibana-to-centralize-and-visualize-logs-on-ubuntu-14-04 | |
logstash | |
http://logstash.net/ | |
logstash-forwarder | |
https://github.com/elasticsearch/logstash-forwarder | |
在接收log的服务器上安装logstash,简称ServerA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync | |
xrandr --addmode VGA-0 "1280x1024_60.00" | |
xrandr --output VGA-0 --mode 1280x1024_60.00 | |
xrandr --output VGA-0 --left-of DVI-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install nokogiri -- --with-xml2-include=/Users/frankelma/github/homebrew/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/Users/frankelma/github/homebrew/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/Users/frankelma/github/homebrew/Cellar/libxslt/1.1.26 | |
gem install nokogiri -- --with-xml2-include=/Users/frankelma/github/homebrew/Cellar/libxml2/2.7.8/include/libxml2 | |
--with-xml2-lib=/Users/frankelma/github/homebrew/Cellar/libxml2/2.7.8/lib | |
--with-xslt-dir=/Users/frankelma/github/homebrew/Cellar/libxslt/1.1.26 |
OlderNewer