Skip to content

Instantly share code, notes, and snippets.

cinst googlechrome git notepadplusplus firefox 7zip atom vlc skype putty dropbox libreoffice silverlight winscp sourcetree opera winmerge itunes quicktime evernote steam 1password clipx
@h2ospace
h2ospace / gist:3907787
Created October 17, 2012 20:02
FuelPHP with git
presented by
http://mawatari.jp/archives/creating-a-fuelphp-application-repository-on-github
# FuelPHPをGitHubからcloneします(project_nameは任意で)
git clone git://github.com/fuel/fuel.git project_name
cd project_name
# Gitの管理ファイルは、FuelPHPのコアおよびパッケージ用になっていますので削除します
# .gitignoreは、そのまま流用できるので消す必要はありません
@h2ospace
h2ospace / gist:3974542
Created October 29, 2012 16:12
font-face
body {
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif;
}
@h2ospace
h2ospace / gist:4119397
Created November 20, 2012 17:23
Heteml PHP 5.3
AddHandler php5.3-script .php
@h2ospace
h2ospace / gist:4206274
Created December 4, 2012 17:05
FuelPHP config.php
ini_set('default_charset', 'UTF-8');
return array(
'language' => 'ja',
'locale' => 'ja_JP.utf8',
'default_timezone' => 'Asia/Tokyo',
'always_load' => array(
'packages' => array(
//'orm',
),
{
"color_scheme": "Packages/User/Solarized (light).tmTheme",
"font_face": "Source Code Pro",
"font_size": 14.0,
"ignored_packages":
[
"Vintage"
],
"open_files_in_new_window": false,
"theme": "Soda Light.sublime-theme",
mkdir -p ~/Dropbox/settings/Library/Application\ Support/
mv ~/Library/Application\ Support/Sublime\ Text\ 2/ ~/Dropbox/settings/Library/Application\ Support/
ln -s ~/Dropbox/settings/Library/Application\ Support/Sublime\ Text\ 2/ ~/Library/Application\ Support/Sublime\ Text\ 2
export LANG=ja_JP.UTF-8
PATH=~/bin:$PATH
# Prompt
PROMPT='%~# '
# History
HISTFILE=~/.histfile
HISTSZE=10000
chmod -R 777 administrator/components
chmod -R 777 administrator/language
chmod -R 777 administrator/manifests
chmod -R 777 administrator/modules
chmod -R 777 administrator/templates
chmod -R 777 components
chmod -R 777 images
chmod -R 777 language
chmod -R 777 libraries
chmod -R 777 media
@h2ospace
h2ospace / wp-config.php
Created February 5, 2013 04:08
WordPressのプラグインインストール時などに、FTPアカウントを求められた場合
define('FS_METHOD', 'direct');