(2019/12/9現在)
- Githubが提供するCI/CD
- CircleCIとほぼ同じ事が出来るが2019/11/14に正式版になったことを発表したばかりでCacheなどBeta機能もある
- Linux/MacOS/Windowsの実行を提供
- 各OS共、2core CPU / 7GB RAM / 14GB SSD
i=0 ; for f in $(ls -1 *.JPG | sort -t'-' -k2h) | |
do | |
mv "$f" $(printf "out/%04d.jpg" $i) | |
$((i++)) > /dev/null | |
done |
require 'yaml' | |
def to_html hash, html='', prefix_key='' | |
hash.each do |key, value| | |
html = if value.is_a? String | |
html+"<tr><td>#{prefix_key[0..-1]+key}</td><td>#{value}</td></tr>\n" | |
else | |
to_html value, html, prefix_key+key+'.' | |
end | |
end |
require 'active_support/core_ext' | |
require 'yaml' | |
require "rexml/document" | |
# YAML→XML | |
open('ja.xml', 'w') do |f| | |
f.write YAML.load_file('ja.yml').to_xml | |
end | |
# XML→YAML |
RICOH THETAで撮った写真をPTP-IPで取得する - stoikheia(@3xv)の日記 http://d.hatena.ne.jp/stoikheia/20131201 | |
ここにあるサンプル、Socketが生書きなのでラッピングをこころみてる |
#nav-link-prime, | |
.nav-prime-1 .nav-logo-tagline, | |
.nav-right #nav-swmslot, | |
#PrimeMusicAdoptionUpsell, | |
#PrimePhotos, | |
.adcenterRowWrapper, | |
.billboardRowWrapper, | |
.displayAd, .issuance-banner, | |
.nav-link[href*='Prime'], .nav-link[href*='dmusic'], a[href*='prime'], a[href*='AC-student'], | |
input[value='exp-jp-timed'], input[value='scheduled-delivery-jp'], |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://simplewebrtc.com/latest.js"></script> | |
</head> | |
<body> | |
<div id="localVideo"></div> | |
<div id="remotesVideos"></div> | |
<script> | |
var webrtc = new WebRTC({ |
puts 'hello Ruby!' |
def em | |
EM.run do | |
EM::Iterator.new(0..10, 3).each(proc{ |num, iter| | |
(0..(rand(100))).inject(0){|sum,i| sum+=i} | |
puts num.inspect | |
iter.next | |
}, proc{|responses| | |
puts 'complete!' | |
EM.stop | |
}) |