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
| #!/bin/sh | |
| vector=$1 | |
| border=$2 | |
| /usr/bin/gnuplot <<EOF | |
| ismin(x) = (x<min)?min=x:0 | |
| ismax(x) = (x>max)?max=x:0 | |
| grabx(x)=(x<x0)?x0=x:(x>x1)?x1=x:0 |
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
| # coding: utf-8 | |
| require 'mechanize' | |
| require 'pp' | |
| agent = Mechanize.new | |
| page = agent.get('http://www.fos.kuis.kyoto-u.ac.jp/~t-sekiym/classes/isle4/testcases.html') | |
| number = 1 |
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
| # coding: utf-8 | |
| require 'watir' | |
| require 'pp' | |
| # !!! EDIT HERE !!! | |
| userid = '' | |
| password = '' | |
| language = 'ja' # 'ja' or 'en' | |
| topic_id = |
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
| # coding: utf-8 | |
| # 日本語でやった人の日本語のデータと、 | |
| # 英語でやった人の英語のデータを取得する | |
| # データは打ち込んだ文(表示されてるやつ)と | |
| # 折り返し翻訳されたものの2つ | |
| # language = 'ja' | |
| # $ ruby langrid.rb > ja | |
| # language = 'en' |
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
| ;;; red | |
| ;; (defconst color1 "#FF6699") | |
| ;; (defconst color3 "#CDC0B0") | |
| ;; (defconst color2 "#FF0066") | |
| ;; (defconst color4 "#CDC0B0") | |
| ;;; green | |
| ;; (defconst color1 "#66FF99") | |
| ;; (defconst color3 "#E1FFCC") ;; active mode-line | |
| ;; (defconst color2 "#00FF66") |
NewerOlder