- ユーザーの調査を始める準備
- ユーザー調査と分析
- 競争相手の調査
$ which mysqld
/usr/local/bin/mysqld
$ mysqld --verbose --help | grep -A 1 'Default options'
2016-01-03 11:12:54 4947 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive
2016-01-03 11:12:54 4947 [Note] Plugin 'FEDERATED' is disabled.
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/local/etc/my.cnf ~/.my.cnf
2016-01-03 11:12:54 4947 [Note] Binlog end
Creates an object (or multiple objects) and saves it to the database, if validations pass. The resulting object is returned whether the object was saved successfully to the database or not.
http://api.rubyonrails.org/classes/ActiveRecord/Persistence/ClassMethods.html#method-i-create
The resulting object is returned whether the object was saved successfully to the database or not. (再掲)
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
# http://kakasi.namazu.org/index.html.ja | |
wget http://kakasi.namazu.org/stable/kakasi-2.3.6.tar.gz | |
gzip -dc kakasi-2.3.6.tar.gz | tar xvf - | |
cd kakasi-2.3.6 | |
./configure | |
make | |
sudo make install |
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
$ screen -ls | |
There are screens on: | |
11119.pts-8.ip-10-10-10-10 (Attached) | |
11520.pts-1.ip-10-10-10-20 (Detached) | |
2 Sockets in /var/run/screen/S-foobar-user. | |
$ screen -r 11119.pts-8.ip-10-10-10-10 | |
There is a screen on: | |
11119.pts-8.ip-10-10-10-10 (Attached) | |
There is no screen to be resumed matching 11119.pts-1.ip-10-10-10-10. |
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
scope :written_about, ->(theme) { where("name like ?", "%#{theme}%")} |
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
#!/usr/bin/env ruby | |
require 'benchmark' | |
ary = [] | |
1000.times { | |
ary << {:bar => rand(1000)} | |
} | |
n = 500 |
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
exit! |
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
git clone git://github.com/imathis/octopress.git octopress | |
cd octopress |
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
$ brew search redis | |
hiredis redis redis1310 redis24 | |
homebrew/nginx/redis2-nginx-module homebrew/php/php54-redis homebrew/php/php56-redis | |
homebrew/php/php53-redis homebrew/php/php55-redis | |
$ brew install redis | |
$ brew install hiredis |