更新: | 2024-05-20 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
[ | |
"about", | |
"ac", | |
"access", | |
"account", | |
"accounts", | |
"activate", | |
"ad", | |
"add", | |
"address", |
- 作成日: 2013/12/18
- 作者: 小川 雄大
下記のサイトを参考にしています:
- Fork from Docker cheat sheet
- 実際にコマンドを試したい場合は、すぐにDockerを試したい人のための基礎コマンドを参照
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
-
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
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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
// includes bindings for fetching/fetched | |
var PaginatedCollection = Backbone.Collection.extend({ | |
initialize: function() { | |
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
typeof(options) != 'undefined' || (options = {}); | |
this.page = 1; | |
typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
}, | |
fetch: function(options) { |
NewerOlder