This file contains hidden or 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
// ==UserScript== | |
// @name YahooToeicTestSummarize | |
// @namespace jp.aya.eiya | |
// @description YahooのTOEICデイリーミニテスト(リーディング)から20問のランダム出題でテスト用紙を作成します。最初の問題を表示したときに、Summarizeするか聞かれます。OKすると、問題用紙を作成します。 | |
// @include http://stepup.yahoo.co.jp/english/toeictest/question.html?c=5&c1=1 | |
// ==/UserScript== | |
(function (){ | |
Array.prototype.shuffle = function(){ | |
var l = this.length; | |
var tmp = this.concat(); |
This file contains hidden or 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
import Data.List | |
import System.Random | |
randomInitNo :: Int | |
randomInitNo = 1 | |
data Cell = Cell { | |
position::(Int,Int), | |
east,west,south,north::Bool | |
} deriving Eq | |
instance Show (Cell) where |
This file contains hidden or 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
/*************************** | |
* GPARS Practice @aya_eiya * | |
****************************/ | |
import static groovyx.gpars.actor.Actors.actor | |
def d1 = new Date() | |
def decryptor = actor { | |
loop { | |
react { message-> |
This file contains hidden or 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
package personal.ayaeiya.minos | |
import scala.util.Random | |
import scala.xml._ | |
import scala.collection.mutable.ListMap | |
/***************** | |
* Setting Object * | |
******************/ | |
object Setting{ |
This file contains hidden or 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
<html> | |
<head> | |
<script> | |
WithAttributre = true; | |
//================================== | |
// Here is for non attributes xml = | |
//================================== | |
show = function (v){alert(v);return v;} |
This file contains hidden or 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
package personal.ayaeiya.scala.sample | |
import scala.xml._ | |
case class ListEndDummy{} | |
case class MapEndDummy{} | |
object Main{ | |
def main(args:Array[String]) = { | |
def toXml(list:List[Any]):Elem = { |
NewerOlder