Skip to content

Instantly share code, notes, and snippets.

View geta6's full-sized avatar

geta6 geta6

View GitHub Profile
request = require 'request'
request 'http://google.co.jp', (err, head, body) ->
console.log body
{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

〼ヰ研2回目

  • geta6 @masuilab 2013.09.30

glideのテーマ増やした

黒い

glideをさくらから撤退した

@geta6
geta6 / gifsnap
Last active December 24, 2015 15:39 — forked from shokai/.gitignore
#!/bin/sh
TRY=3
RESIZE=240
DELAY=8
BIN=`which imagesnap`
TMP=`mktemp -d`
DST=gifsnap.gif
@geta6
geta6 / method-missing.coffee
Last active December 24, 2015 19:28
npm i node-proxy
Proxy = require 'node-proxy'
MethodMissing = ->
property = {}
handlers =
get: (rec, key) ->
return ->
if property[key]
property[key]()
else
@geta6
geta6 / 131028.md
Last active December 26, 2015 18:09

wineで♥️

Mon Oct 28 @masuilab

background

wine

  • wineの1.6を試した
  • インストールがめっちゃ簡単
{
"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,

CoffeeScript Style Guide

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).

Inspiration

//
// 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>
# masuilab
## vimのコマンド
### 必須
+ ESC コマンドモード終わる
- :w 保存
* :q 終了
* a カーソル直後