Skip to content

Instantly share code, notes, and snippets.

class CodedException < Exception
attr_accessor :code
def initialize(code, msg='')
super msg
@code = code
end
end
class Range
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8;">
<style>
div {
font-weight:bold;
line-height:1.0;
float:left;
position:absolute;
-webkit-transform-origin:0 0;}
昨日、松江のRuby World Conference 2010行ったんです。RWC2010。
そしたらなんか言ってることがめちゃくちゃ偏ってて聞いてられないんです。
で、よく見たらなんかスライド出てて
「期間、予算の都合からJavaに関しては実際に物を作ってのデータとりを行わず、
 論理的な見積り値の算出にとどめた。見積り値の算出は富士通のファンクションスケール法」
とか書いてあるんです。
もうね、アホかと。馬鹿かと。
お前らな、自社基準の想像上の生産性と比較して検証とかいってんじゃねーよ、ボケが。
論理的な見積り値だよ、論理的な見積り値。
なんかWeb初心者いるし。HTMLやJSに苦戦か。たいへんだな。
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Hello Wave">
<Require feature="wave" />
<Require feature="dynamic-height" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<script type="text/javascript">
gadgets.util.registerOnLoadHandler(function(){
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Minimessage Gadget" height="30">
<Require feature="wave" />
<Require feature="dynamic-height" />
<Require feature="minimessage" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<input id="message" />
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Minimessage Gadget" height="100">
<Require feature="wave" />
<Require feature="minimessage" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<input id="message" />
<button onclick="showMessage()">Show</button>
(let ((sum 0) (nums (string->list "123")))
(while (pair? nums)
(set! sum (+ sum (- (char->integer (pop! nums)) (char->integer #\0)))))
(print sum))
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Wave Gadget Title" height="200">
<Require feature="wave" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<style>
td { width:50px; }
td { height:50px; }
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Wave Gadget Title" height="200">
<Require feature="wave" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<style>
td {
width:50px;
@technohippy
technohippy / wave gadget
Created December 12, 2009 06:43
complex sample
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Attendance Book Gadget" height="100">
<Require feature="wave" />
<Require feature="dynamic-height" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<style>
div.corner, div.date, div.participant, div.choice {