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
falcon スコープ | |
=============== | |
対象範囲 | |
--------------- | |
- 売上登録 | |
- 請求締 | |
- 請求登録 | |
- 入金登録 | |
- 原価登録 |
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
select id, substr(subject, 1, 15), category_id, project_id, created_on from issues order by updated_on; | |
select issues.id, substr(subject, 1, 15), category_id, project_id, created_on | |
FROM `issues` INNER JOIN issue_statuses ist on ist.id = issues.status_id WHERE (1 = 1 | |
and (issues.assigned_to_id = 3 | |
and issues.start_date < '2013-02-11 00:00:00' | |
and ist.is_closed != 1)) | |
; |
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
git pull について | |
http://dxd8.com/archives/218/ | |
------ | |
O-Show 2011-04-08 05:20 | |
こんにちは。 | |
git config branch.ブランチ名.mergeoptions “–no-ff” | |
で常にファストフォワードではないマージを行うことについて一つ。 |
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
ActiveRecordHelper | |
module ActiveRecordHelper | |
def flatten_conditions(conditions, op = "and") | |
return nil if conditions.empty? | |
ps = [] | |
condition = conditions.collect do |c| | |
next if c.size < 1 | |
ps += c[1..(c.size)] | |
"( #{c[0]} )" |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>GVim</appname> | |
<equal>org.vim.MacVim</equal> | |
</appdef> | |
<item> | |
<name>My GVim Hack</name> | |
<appendix>Change ESC to ESC + KANA</appendix> |
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
#To install ruby-debug on Ubuntu ruby-1.9.3 you need to download from http://rubyforge.org/frs/?group_id=8883 | |
linecache19-0.5.13.gem | |
ruby_core_source-0.1.5.gem | |
ruby-debug19-0.11.6.gem | |
ruby-debug-base19-0.11.26.gem | |
#Then in your console | |
export RVM_SRC=/your/path/to/ruby-1.9.3 |
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
[submodule "bundle/vim-pathogen"] | |
path = bundle/vim-pathogen | |
url = git://github.com/tpope/vim-pathogen.git | |
[submodule "bundle/minibufexpl.vim"] | |
path = bundle/minibufexpl.vim | |
url = git://github.com/fholgado/minibufexpl.vim.git | |
[submodule "bundle/eregex.vim"] | |
path = bundle/eregex.vim | |
url = git://github.com/othree/eregex.vim | |
[submodule "bundle/vim-mru"] |
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
# update | |
sudo port -d selfupdate | |
sudo port -d sync | |
sudo port upgrade outdated | |
# install | |
sudo port installed | |
sudo port search <module> | |
sudo port install <module @version> | |
sudo port variants <module> |
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
// ==UserScript== | |
// @name G+ FormatDate | |
// @author suVene | |
// @version 0.1.0 | |
// @namespace https://gist.github.com/raw/1115074/3a9327ed58907df0db1b755361875fedac87e682/G+.FormatDate.user.js | |
// @description formate date for post date | |
// @include https://plus.google.com/* | |
// @match https://plus.google.com/* | |
// ==/UserScript== |