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
server { | |
listen 80; | |
server_name example.com; | |
access_log /path/to/access.log main; | |
error_log /path/to/error.log; | |
root /path/to/kohana/web; | |
location / { | |
index index.php; | |
if (-f $request_filename) { |
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
[varnish-3.0] | |
name=Varnish 3.0 for Enterprise Linux 6 - $basearch | |
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el6/$basearch | |
enabled=1 | |
gpgcheck=0 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH |
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
# Check for status of man pages | |
# http://code.google.com/p/redis/issues/detail?id=202 | |
Name: redis | |
Version: 2.6.13 | |
Release: 1%{?dist} | |
Summary: A persistent key-value database | |
Group: Applications/Databases | |
License: BSD |
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
# Mac は $6$ に対応していないので使用不可 | |
python -c 'import crypt; print crypt.crypt("PASSWORD", "$6$random_salt")'; |
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
nkf -s -Lw --overwrite FILE |
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
wget http://repo.webtatic.com/yum/centos/5/x86_64/php-bcmath-5.3.27-2.w5.x86_64.rpm ttp://repo.webtatic.com/yum/centos/5/x86_64/php-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-cli-5.3.27-2.w5.x86_ | |
64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-common-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-devel-5.3.27-2.w5.x86_64.rpm http:/ | |
/repo.webtatic.com/yum/centos/5/x86_64/php-eaccelerator-0.9.6.1-1.1.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-embedded-5.3.27-2.w5.x86_64.rpm http:// | |
repo.webtatic.com/yum/centos/5/x86_64/php-fpm-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-gd-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/y | |
um/centos/5/x86_64/php-imap-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-intl-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_ | |
64/php-ldap-5.3.27-2.w5.x86_64.rpm http://repo.webtatic.com/yum/centos/5/x86_64/php-mbstring-5.3.27-2.w5.x86_64.rpm |
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
wget http://centos.alt.ru/repository/centos/6/x86_64/php-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-bcmath-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-cli-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-common-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-dba-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-devel-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-eaccelerator-1.0-0.7.git42067ac.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-eaccelerator-httpd-1.0-0.7.git42067ac.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-embedded-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-enchant-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-fpm-5.3.26-1.el6.x86_64.rpm http://centos.alt.ru/repository/centos/6/x86_64/php-gd-5.3.26-1.el6.x86_64.rpm htt |
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
<?php | |
/* | |
* How to use: | |
* | |
* $str = Csv::array_to_csv_str($csv_rows); | |
* $str = Csv::convert_encoding($str); | |
* Csv::download($str, 'filename'); | |
*/ |
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
# svn switch {svn,http?s}://path/to/trunk | |
# svn switch {svn,http?s}://path/to/branches/example-branch |
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
ps | grep PROCESS | grep -v grep | |
ps | grep PROCES[S] |
OlderNewer