node.jsのライブラリのインストールを行なっていた場合別途インストールは不要。
make install以降はroot又はsudoで実施。
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
[ | |
{ "keys": ["ctrl+shift+n"], "command": "new_window" }, | |
{ "keys": ["ctrl+shift+w"], "command": "close_window" }, | |
{ "keys": ["ctrl+o"], "command": "prompt_open_file" }, | |
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file" }, | |
{ "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} }, | |
{ "keys": ["ctrl+n"], "command": "new_file" }, | |
{ "keys": ["ctrl+s"], "command": "save" }, | |
{ "keys": ["ctrl+shift+s"], "command": "prompt_save_as" }, | |
{ "keys": ["ctrl+f4"], "command": "close_file" }, |
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
vmstat 1 | awk '{print strftime("%H:%M:%S"), $0}{fflush()}' |
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 | |
# | |
# node.js | |
# | |
# chkconfig: - 80 20 | |
# description: node application server | |
# processname: node | |
# Source function library. | |
. /etc/rc.d/init.d/functions |
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
module.exports = function(redis) { | |
var async = require('async') | |
, lib = require('../lib') | |
, utils = lib.utils | |
, Validator = lib.Validator; | |
var User = require('klass')(function (o) { | |
this.id = o.id || ""; | |
this.password = o.password || ""; |
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
package #{@base_package}.client.dto.#{@meta_id}; | |
import java.io.Serializable; | |
<?rb if @group.fields.select{|field| (field.type != "String") && (field.multi) }.size != 0 ?> | |
import java.util.List; | |
import java.util.ArrayList; | |
<?rb end ?> | |
import org.apache.commons.lang.StringUtils; |
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="insertHOGEData" parameterClass="hoge.hoge.hoge.hoge.HOGEData"resultClass="java.lang.Integer"> | |
insert into hogetable(id,field1,field2,field3) values (default,#field1#,#field2#,#field3#) RETURNING id | |
</select> |
NewerOlder