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
var hsl2Rgb = function(h, s, l){ | |
var r, g, b; | |
if(s == 0){ | |
r = g = b = l; | |
}else{ | |
var hue2rgb = function(p, q, t){ | |
if(t < 0) t += 1; |
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
Command Line Tools 入れる | |
Homebrew 入れる | |
nodebrew & npm 入れる | |
Node v0.10系とv0.11系の最新を入れる | |
LiveReloadX, Forever, LiveScript, CoffeeScript, Gulp, ws を -g で入れる | |
rbenv & gem 入れる | |
Rubyの最新を入れる | |
mikutter も入れる | |
MacUIM 入れる |
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
3Dkirieji.ttf | |
CP Font.ttf | |
GN-KillGothic.ttf | |
Nishiki-teki.ttf | |
PixelMplus10-Regular.ttf | |
TanukiMagic.ttf | |
geba-b1.500+m0.003.ttf | |
hakidame.TTF | |
haranyan.ttf | |
ibaraji.ttf |
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
# Command Line Tools 入れる | |
xcode-select --install | |
xcodebuild -license | |
# Homebrew 入れる | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
brew upgrade |
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
var get = exports.get = function(name, key, fs, path){ | |
fs = fs ? fs : require('fs'); | |
path = path ? path : require('path'); | |
var file = path.resolve(__dirname, name + '.json') | |
if(!fs.existsSync(file)){ | |
console.error('File', file,'does not exist.'); | |
return null; |
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
#include "MPU6050_6Axis_MotionApps20.h" | |
Serial pc(USBTX, USBRX); | |
MPU6050 mpu; | |
bool dmpReady = false; // set true if DMP init was successful | |
uint8_t mpuIntStatus; // holds actual interrupt status byte from MPU | |
uint8_t devStatus; // return status after each device operation (0 = success, !0 = error) | |
uint16_t packetSize; // expected DMP packet size (default is 42 bytes) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>写真から商品判別するくん</title> | |
<style> | |
table, th, td { | |
border: 1px solid black; |
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
class Boy😃 | |
def initialize(name) | |
@📛 = name | |
end | |
def ✋() | |
puts "Hi, my name is " + @📛 | |
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
var Command = require('../lib/command.js'); | |
var delay = function(tweet){ | |
return tweet.text.length / 2 * 1000; //ms | |
}; | |
var destroy = new Command(function(oauth, tweet, CONFIG){ | |
var id = tweet.id_str; |
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
LANG=ja_JP.UTF-8 | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # ふつうの | |
PATH=$HOME/.nodebrew/current/bin:$PATH # nodebrewの | |
PATH=/usr/local/opt/coreutils/libexec/gnubin:$PATH # gnubinの | |
PATH=/usr/local/opt/llvm/bin:$PATH #llvmの | |
HISTFILE=~/.zsh_history | |
HISTSIZE=1000000 | |
SAVEHIST=1000000 |