- geta6 @masuilab 2013.09.30
This file contains 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
request = require 'request' | |
request 'http://google.co.jp', (err, head, body) -> | |
console.log body |
This file contains 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
{spawn} = require 'child_process' | |
unless process.env.__daemon | |
args = [].concat process.argv | |
args.shift() | |
args.shift() | |
process.env.__daemon = yes | |
child = spawn process.mainModule.filename, args, | |
stdio: 'ignore' | |
env: process.env |
This file contains 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 | |
TRY=3 | |
RESIZE=240 | |
DELAY=8 | |
BIN=`which imagesnap` | |
TMP=`mktemp -d` | |
DST=gifsnap.gif |
This file contains 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
Proxy = require 'node-proxy' | |
MethodMissing = -> | |
property = {} | |
handlers = | |
get: (rec, key) -> | |
return -> | |
if property[key] | |
property[key]() | |
else |
This file contains 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
{ | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Smyck/Smyck/Smyck.tmTheme", | |
"font_face": "PragmataPro", | |
"font_size": 11, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"hot_exit": true, | |
"rulers": [ 79 ], | |
"tab_size": 2, |
This guide presents a collection of best-practices and coding conventions for the [CoffeeScript][coffeescript] programming language.
This guide is intended to be community-driven, and contributions are highly encouraged.
Please note that this is a work-in-progress: there is much more that can be specified, and some of the guidelines that have been specified may not be deemed to be idiomatic by the community (in which case, these offending guidelines will be modified or removed, as appropriate).
This file contains 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
// | |
// AppDelegate.h | |
// iBlueBeacon | |
// | |
// Created by geta6 on 11/4/13. | |
// Copyright (c) 2013 geta6. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import <CoreBluetooth/CoreBluetooth.h> |
This file contains 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
# masuilab | |
## vimのコマンド | |
### 必須 | |
+ ESC コマンドモード終わる | |
- :w 保存 | |
* :q 終了 | |
* a カーソル直後 |