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
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 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 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 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 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
autoload -U compinit | |
compinit | |
zstyle ':completion:*:default' menu select=1 | |
# when tmux down | |
if [ "$TMUX" = "" ]; then | |
# tmux wake up!!! | |
tmux; | |
fi |
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
set-option default-shell /bin/zsh | |
set-option -g prefix C-t | |
unbind C-b | |
bind C-t send-prefix | |
# ウィンドウ・ペインの最初の番号を指定を1に。デフォルトだと0から | |
set -g base-index 1 | |
set -g pane-base-index 1set -g mouse-select-pane on |
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
<?php | |
/** | |
* WordpressのXMLから使われている画像をダウンロードする | |
* | |
* $argv[1] -> WordpressでエクスポートしたXML | |
* $argv[2] -> ダウンロードした画像の保存場所 | |
*/ | |
$xml_file_path = $argv[1]; | |
$image_dir_path = $argv[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
# -*- encoding: utf-8 -*- | |
require 'rqrcode' | |
require 'rqrcode_png' | |
require 'chunky_png' | |
qr = RQRCode::QRCode.new('Hello, world', :size => 3, :level => :h) | |
png = qr.to_img | |
png.resize(200, 200).save('qrcode.png') |
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 "Circle.h" | |
Circle::Circle(float x, float y, float r) | |
{ | |
_x = x; | |
_y = y; | |
_r = r; | |
_color.r = ofRandom(255); | |
_color.g = ofRandom(255); |
OlderNewer