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
Glyphicons | |
http://glyphicons.com/ | |
・基本的なCSSが入っているが、サイトに合わせてカスタマイズしないといけない。 | |
lessがついている | |
・用途に応じて選べるようにフォントファイルが分かれている | |
(レギュラー・ハーフ・ソーシャル・ファイルタイプ・・・) | |
・基本的なフォントセットは無料で使えるが、 | |
数が限られるので使うなら有料版を買っておいたほうがいい。 | |
一度買っておけば、未来永劫に渡り追加フォントのダウンロードがタダでできるらしい。 | |
・バイナリをダウンロードできるので自分でカスタムアイコンが作れる(.ai, .psd) |
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
CentOS 5.8 | |
ある程度Linux環境に慣れている人を想定していますので、 | |
コマンドベースの説明中心です。 | |
##### Python のインストール | |
## yum でmakeに必要なツール類をインストールしておく | |
yum -y groupinstall 'Development Tools' | |
yum -y install openssl-devel* ncurses-devel* zlib*.x86_64 | |
yum -y install bzip2 bzip2-devel bzip2-libs | |
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
##### repo ファイルを作成 | |
vi /etc/yum.repos.d/10gen.repo | |
## 以下を記述 | |
## 64bitOSの場合 | |
[10gen] | |
name=10gen Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 | |
gpgcheck=0 | |
enabled=1 | |
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
#============================================================================== | |
## | |
## Django S3 settings (ubuntu) | |
## | |
#============================================================================== | |
#### install boto using PYPI | |
sudo pip install boto | |
#### install django-storage for Django | |
pip install django-storages |
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
### bucket policy | |
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "PublicReadForGetBucketObjects", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>memcached</string> | |
<key>ProgramArguments</key> | |
<array> |
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
#============================================================================== | |
## | |
## ntp setup (Ubuntu) | |
## | |
#============================================================================== | |
##### install for ntp | |
apt-get install ntp | |
##### disallow UTC | |
vi /etc/default/rcS |
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
#============================================================================== | |
## | |
## locale setting (Ubuntu) | |
## | |
## | |
#============================================================================== | |
##### genarate locale | |
## the superuser | |
locale-gen ja_JP.UTF-8 | |
dpkg-reconfigure locales |
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 使い方 | |
## | |
#============================================================================== | |
##### 再帰的ダウンロード | |
wget -r -k http://xxx.com | |
## HTML や CSS 中のリンクをローカルを指すように変更する | |
wget -k http://xxx.com |
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
# 導入済み証明書確認 | |
keytool -v -list -keystore $JAVA_HOME/jre/lib/security/cacerts | |
パスワード:changeit | |
#証明書のインポート | |
keytool -import -alias joe -file jcertfile.cer | |
keytool -import -alias cacert -keystore $JAVA_HOME/jre/lib/security/cacerts -file dvint.crt | |
デフォルトキーストアの証明書一覧表示 | |
keytool -list -v -storepass changeit -keystore ¥ |
OlderNewer