ujihisa
自分のRuby力を測定
images = "images" | |
Dir.mkdir images unless File.exist? images | |
horesasu = Jigokuno::Misawa.new | |
horesasu.each { |meigen| | |
open("%s/%s.gif" % [images, meigen], "w") { |gif| | |
gif.puts open(meigen.image).read | |
} | |
sleep 5 |
This project was moved to https://github.com/tdtds/kindlizer |
# Japanise strings go here for Rails i18n | |
ja: | |
backlogs_story_tracker: "ストーリーのトラッカー" | |
backlogs_task_tracker: "タスクのトラッカー" | |
backlogs_card_specification: "Label types for card printing" | |
backlogs_sprints: "スプリント" | |
field_story_points: "ストーリーポイント" | |
remaining_story_points: "残りストーリーポイント" | |
field_remaining_hours: "残り時間" | |
button_edit_wiki: "Wikiページの編集" |
require 'open-uri' | |
begin | |
open('http://onlineshop.mb.softbank.jp/ols/html/model/ipad/') | |
`say "iPad2 online shop page opened!"` | |
rescue Exception => e | |
unless e.to_s =~ /^403/ | |
`say "iPad2 online shop status changed #{e}"` | |
end | |
end |
javascript:(function() {var date=(new Date()); location.href='http://ja.wikipedia.org/wiki/'+(date.getMonth()+1)+'月'+date.getDate()+'日#.E8.A8.98.E5.BF.B5.E6.97.A5.E3.83.BB.E5.B9.B4.E4.B8.AD.E8.A1.8C.E4.BA.8B';})() |
#! /your/favourite/path/to/ruby | |
# -*- coding: utf-8 -*- | |
# Copyright (c) 2013 Urabe, Shyouhei | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
// | |
// API.m | |
// Ingress | |
// | |
// Created by Alex Studnicka on 10.01.13. | |
// Copyright (c) 2013 A&A Code. All rights reserved. | |
// | |
#import "API.h" |
#!/usr/bin/env ruby | |
file = File.open("index.html", "r:iso-2022-jp:UTF-8") | |
content = file.read | |
all_html = <<HTML | |
<html> | |
<head> | |
<meta http-requiv="Content-Type" content="text/html;charset=utf-8"> | |
<meta name="Author" content="Aoki Minero"> |