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
#!/usr/bin/env ruby | |
require "arduino_firmata" | |
arduino = ArduinoFirmata.connect "/dev/tty.usbmodemfa131", :nonblock_io => true | |
puts "firmata version #{arduino.version}" | |
loop do | |
arduino.digital_write 13, true |
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 | |
############################### | |
# リポジトリを最新にして自動ビルドする | |
############################### | |
############################### | |
# 自動ビルド設定 | |
############################### |
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 | |
# プロジェクトの場所 | |
PROJ_DIR="/Users/kashima/git/TelevisionGuideAuto" | |
# ${PROJ_DIR}/プロジェクトファイルの場所 | |
PROJ_FILE_PATH="app/TelevisionGuide/TelevisionGuide.xcodeproj" | |
# IPAファイルの出力先 | |
OUT_DIR="/Users/kashima/bin/hack_build" | |
# IPAの名前 |
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
Pasty+はコピー中のURLをまとめてChromeで開くことができます。 | |
1. Chromeの拡張を導入する | |
拡張はこちらからダウンロード: https://dl.dropboxusercontent.com/u/566932/Pasty%2B.zip | |
以下のURLの手順「ステップ 2: アプリをテストする」だけをやってChromeに導入してください。 | |
https://support.google.com/chrome/a/answer/2714278?hl=ja | |
するとアドレスバーの横に+マークのアイコンが表示されます。(画像参照) | |
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
set-option default-shell /bin/zsh | |
set-option -g prefix C-tunbind-key C-b | |
bind-key C-t send-prefix | |
# ウィンドウ・ペインの最初の番号を指定を1に。デフォルトだと0から | |
set -g base-index 1 | |
set -g pane-base-index 1set -g mouse-select-pane on# 256色表示 set -g default-terminal screen-256color | |
setw -g utf8 on | |
set -g status-utf8 on |
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
// | |
// ViewController.h | |
// iBeaconTester | |
// | |
// Created by Kashima Takumi on 2013/12/14. | |
// Copyright (c) 2013年 UNUUU FOUNDATION. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
// | |
// ViewController.h | |
// iBeaconPeripheralTester | |
// | |
// Created by Kashima Takumi on 2013/12/14. | |
// Copyright (c) 2013年 UNUUU FOUNDATION. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
<?php | |
// チャットワークのAPIの設定 | |
$baseurl = 'https://api.chatwork.com/v1/rooms'; | |
$room_id = 'ROOM_ID'; | |
$apikey = 'API_KEY'; | |
// 書き込むメッセージ | |
$message_file = 'message.txt'; |
