- Debian testing (squeeze) の amb64 版 (i386 では成功しなかった)
- 「ebizori64 サーバ構築手順」実施済み
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 | |
# | |
# kansit | |
# | |
# Copyright (c) 2009 FURUHASHI Sadayuki | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 | |
require_once '/home/fivestar/projects/vendor/symfony-project.org/branches/1.4/lib/autoload/sfCoreAutoload.class.php'; | |
sfCoreAutoload::register(); | |
class ProjectConfiguration extends sfProjectConfiguration | |
{ | |
protected $annotationCache; | |
public function setup() |
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
#compdef up | |
segments=$(perl -le '$p=$ENV{PWD};$p =~ tr/\// /; print $p') | |
_arguments "1:first:($segments)" |
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
#!/bin/sh | |
PREFIX="from now" | |
MESSAGE="[${PREFIX}] `LANG=en date`" | |
if [ $# -eq 0 ] | |
then | |
git add -u | |
printf "${MESSAGE}\n\n%s" "`git diff --cached`" | git commit -F - | |
elif [ $1 != "--rebase" ] |
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
0. ローカルでdevelopブランチに変更をpushする | |
1. デプロイサーバでリポジトリをcloneする | |
2. デプロイサーバで `git daily release open` をする | |
- release-xxxxxxxx ブランチがdevelopをベースに作成される | |
3. ステージングサーバにデプロイする | |
4. ステージングサーバでテストする | |
----------修正がある場合------------ | |
5. ローカルで `git daily release sync` をする | |
- 2で作成したreleaseブランチがpullされる | |
6. releaseブランチに変更をコミットする |
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
" Shift + 矢印で visual modeがはじまる | |
nnoremap <S-Up> v<Up> | |
nnoremap <S-Down> v<Down> | |
nnoremap <S-Left> v<Left> | |
nnoremap <S-Right> v<Right> | |
" visual mode 中のShift + 矢印は範囲選択 | |
vnoremap <S-Up> k | |
vnoremap <S-Down> j | |
vnoremap <S-Left> h |
-
updateするときのお話。新規でcreate-projectするなら何も困らない
-
php composer.phar update
する前に以下をチェック -
composer.jsonの修正
-
http://symfony.com/blog/symfony-2-3-0-the-first-lts-is-now-available
-
キャッシュファイルは事前にrmしておく
-
icuが4.4以上でないと怒られるので、事前にインストールしているicuのバージョンをチェックしておくこと
-
composer.jsonでバージョン指定すれば回避可能 http://php-sql-gdgd.jugem.jp/?eid=104
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
/** | |
* Geohash | |
* | |
* @author Keisuke SATO | |
* @license MIT License | |
* | |
* # Based | |
* http://github.com/davetroy/geohash-js/blob/master/geohash.js | |
* Geohash library for Javascript |
OlderNewer