- CLI/CUI
- 見積り
- アジャイル開発 ( アジャイルサムライ )
- CUIで業務改善
- 練習あるのみ
- 常にスクリプティング
puts $stdin.each_line.map { |l| $1 if l =~ /^rspec \.\/(.+):[0-9]+ # (.+)$/ }.uniq.compact.sort |
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'base64' | |
require 'mime/types' | |
require 'open-uri' | |
path = ARGV[0] | |
data_type = MIME::Types.type_for(path).first.to_s | |
data_str = Base64.encode64(open(path).read).gsub(/\n/,"") |
int incomingByte = 0; | |
int ledPin = 13; //ardunioのLEDは13番ピン | |
void setup() { | |
Serial.begin(9600); | |
pinMode(ledPin, OUTPUT); | |
} | |
void loop() { | |
if (Serial.available() > 0) { |