Quantcast
Channel: tipshare.info
Browsing latest articles
Browse All 10 View Live

gitでsubmoduleのoriginを変更する

gitでsubmoduleのoriginを変更する 1.ローカルリポジトリのsubmodule内の.git/configを編集しoriginを変更 2.ローカルリポジトリの.gitmodulesを編集し、1と2をcommit 3.リモートリポジトリへpush 4.各リポジトリ内で以下を実行 https://gist.github.com/1167084 #git

View Article


Using Query Strings by CakePHP2.0 P...

Using Query Strings by CakePHP2.0 Pagination https://gist.github.com/1133729 #CakePHP2.0

View Article


リモートブランチの削除 (delete remote branch)

リモートブランチの削除 (delete remote branch) http://gist.github.com/1218435 #git

View Article

CakePHP2.0 Formヘルパーがデフォルトで出力されるタグをカ...

CakePHP2.0 Formヘルパーがデフォルトで出力されるタグをカスタマイズしたい場合 loadConfig()はHelperからHtmlHelperに移動しました。詳しくはこちらを御覧ください。 http://hiromi2424.lv9.org/translate/cakephp20/20-new-features vi ./app/Controller/AppController.php...

View Article

リモートのバージョン管理がsubversionでもgitを使おう

リモートのバージョン管理がsubversionでもgitを使おうプロジェクトのバージョン管理がSubversionだったとしてもgit svnコマンドでローカルではgitで管理が可能です。 :git clone git svn clone http://exxample.com/svn/foo -T trunk -b branches -t tags :git...

View Article


ビールが飲みたくなった場合

ビールが飲みたくなった場合 twitterで #cake_beer をつけて叫ぶと常時何人か釣れます。 https://twitter.com/#!/search/%23cake_beer

View Article

vimのyankを異なるプロセス間でコピペする

vimのyankを異なるプロセス間でコピペする yanktmp.vimをダウンロードする http://www.vim.org/scripts/script.php?script_id=1598 ~/.vim/pluginへ置く ~/.vimrcを編集 map sy :call YanktmpYank() map sp :call YanktmpPaste_p() map sP :call...

View Article

CakePHP2.0でエラー時のレイアウトを変更する

CakePHP2.0でエラー時のレイアウトを変更する app/Config/core.phpに下記を追加 https://gist.github.com/1437767 app/Lib/Error/AppExceptionRenderer.phpに下記を追加 https://gist.github.com/1437768...

View Article


CakePHP2.0でKtaiLibraryを使いたい

CakePHP2.0でKtaiLibraryを使いたい CakePHP2.0でKtaiLibraryを動かすためのメモです。まずは、エンコードの処理。 https://gist.github.com/1625037 他でもハマったらまたメモします。 #cakephp2.0

View Article


Mac OS X Lion以降でターミナルでmakeが出来なくなっていた。

Mac OS X Lion以降でターミナルでmakeが出来なくなっていた。対処方法 Xcode.appを立ち上げ、「Preferences」>「Downloads」>「Components」から「Command Line...

View Article
Browsing latest articles
Browse All 10 View Live