# list
$ git tag -l
ver0.1.0
ver0.1.1
# create tag
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
// TODO refactor ここが原因で落ちる | |
std::string Handler::receive(const int &client_sd) { | |
char buf[RCV_BUF_SIZE]; | |
// readで落ちる? | |
if (read(client_sd, buf, RCV_BUF_SIZE) < 0) { | |
Logger::error() << "read()"; | |
} | |
std::string str(buf); |
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/bash | |
### Shell script for https://github.com/rkaneko/cpp-template . | |
### | |
### @author rkaneko | |
### @createAt 2014/07/12 | |
# see if arg exists or not. | |
# arg0: some arg | |
existArg1() |
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/bash | |
cat <<_EOT_ | |
# executing script name. Naming starting point is directory which call this scrip. | |
$0: $0 | |
# parent directory of executing script. | |
`dirname $0`: `dirname $0` | |
# name of executing script. |
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
(function () { | |
"use strict"; | |
kintone.events.on('app.record.index.show', function(event) { | |
var fields = ['レコード番号', '作成者', 'Some_field_id']; | |
var query = "some_query"; | |
var params = { | |
fields: fields, | |
app: event.appId |
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
(function () { | |
"use strict"; | |
kintone.events.on('app.record.edit.show', function(event) { | |
var record = event.record; | |
record['here_is_field_id']['disabled'] = true; | |
return event; | |
}); | |
})(); |
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
/** | |
* Getting started kintone JavaScript customization . | |
* | |
* @author rkaneko | |
* @createdAt 2014/06/23 | |
*/ | |
(function () { | |
"use strict"; | |
kintone.events.on('app.record.index.show', function(event) { |
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
" get OS CR | |
function! s:get_carriage_ret() | |
:let l:cr = '' | |
if has('mac') | |
:let cr = '\r' | |
elseif has('win32') | |
:let cr = '\r\n' | |
elseif has('unix') | |
:let cr = '\n' | |
else |