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
plugin 'rails_on_gae', :git => 'git://github.com/technohippy/rails_on_gae.git' | |
rake 'gae:init' |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
<Puni> | |
<Pressure>10.000000</Pressure> | |
<Dumping>0.985000</Dumping> | |
<RootWidth>2.000000</RootWidth> | |
<RootOffset>0.000000</RootOffset> | |
<TopMargin>0.000000</TopMargin> | |
<LeftMargin>0.000000</LeftMargin> | |
<PressureRates size="31"> | |
<Rate>1.000000</Rate> |
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
ProtoCommand = Class.create(); | |
ProtoCommand.all = $A(); | |
ProtoCommand.resetAllStatus = function() { | |
ProtoCommand.all.each(function(cmd) {cmd.resetStatus();}); | |
}; | |
ProtoCommand.keys = { | |
f1:112, f2:113, f3:114, f4:115, f5:116, | |
f6:117, f7:118, f8:119, f9:120, f10:121, | |
left:37, up:38,right:39, down:40, | |
enter:13, esc:27, |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="My First Gadget" height="50"> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<script> | |
function test() { | |
alert(gadgets.io.encodeValues({key1:"値1", key2:"値2"})); | |
var fps = gadgets.util.getFeatureParameters(); |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="My Second Gadget" height="50" /> | |
<Content> | |
<![CDATA[ | |
<script> | |
function showValue() { | |
gadgets.io.makeRequest('http://www.google.com', function(req) { | |
var msg = ''; | |
for (var k in req) { |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="My Second Gadget" height="500" /> | |
<Content> | |
<![CDATA[ | |
<div id="results" /> | |
<style> | |
div.tweet { | |
list-style-type: none; | |
border: 1px green solid; |
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
<?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 { |
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
<?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; |
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
<?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; } |
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
(let ((sum 0) (nums (string->list "123"))) | |
(while (pair? nums) | |
(set! sum (+ sum (- (char->integer (pop! nums)) (char->integer #\0))))) | |
(print sum)) |
OlderNewer