-
左のエリアのアレ切り替え
Cmd + [0-7] -
右のエリアのアレ切り替え
Cmd + Option + [0-2] -
右のエリアのアレ切り替えその二
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
print "\n".join([("fizz" if i%3<1 else "")+("buzz" if i%5<1 else "") for i in range(1,31)]) |
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
(use srfi-1) | |
(define (f n) | |
(for-each print | |
(map | |
(lambda (x) (cond ((= (modulo x 15) 0) "FizzBuzz") | |
((= (modulo x 5) 0) "Buzz") | |
((= (modulo x 3) 0) "Fizz") | |
(else x))) | |
(iota n 1)))) | |
(f 100) |
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
DIST_DIR = ../js | |
BASE_DIR = . | |
BASE_FILES = store.js\ | |
models.js\ | |
collection.js\ | |
router.js\ | |
views.js | |
INDEX_MODULES = ${BASE_DIR}/index_header.js\ | |
${BASE_FILES}\ |
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
@interface UIImage(OpenCVUtility) | |
- (cv::Mat)cvMat; | |
@end | |
@implementation UIImage (OpenCVUtility) | |
-(cv::Mat)CVMat | |
{ | |
CGColorSpaceRef colorSpace = CGImageGetColorSpace(self.CGImage); | |
CGFloat cols = self.size.width; | |
CGFloat rows = self.size.height; |
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
cd /path/to/openFrameworks/addons/ | |
git clone https://github.com/gameoverhack/ofxOpenNI.git | |
cd ofxOpenNI | |
git checkout master | |
cd .. |
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
get 'index' |
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
require 'active_support/core_ext' | |
require 'open-uri' | |
hash = Hash.from_xml open('http://hoge.com/ext/data.xml').read | |
json = hash.to_json |
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
MyEngine::Engine.routes.draw do | |
get "hoge/index" | |
end |
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
cd <Project Directory> | |
git submodule add git://github.com/jverkoey/nimbus.git | |
cd nimbus | |
git submodule init | |
git submodule update |
OlderNewer