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
@charset "UTF-8"; | |
/* | |
* Softbox CSS Framework 0.05 | |
* | |
* Copyright(C) 2009 Masashi Iizuka | |
* Dual licensed under the MIT and GPL licenses | |
* | |
* compile with rcss(http://gist.github.com/130588) | |
* */ |
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
vbell off | |
startup_message off | |
# gmail unread num | |
backtick 0 0 300 ruby ${HOME}/.screen/gmail.rb | |
# checkpad updated num | |
backtick 1 0 600 ruby ${HOME}/.screen/checkpad.rb | |
caption always "%{= wk} %-w%{=bu dr} %n %t %{-}%+w %= %{= gw} checkpad:%1` %{= mw} gmail:%0` " |
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
/* File.open {{{ | |
object File { | |
import java.io.{BufferedReader, FileReader} | |
def open(path:String)(f:BufferedReader => Unit){ | |
var br:BufferedReader = null; | |
try { | |
br = new BufferedReader(new FileReader(path)) | |
f(br) | |
} catch { | |
case e:Exception => e.printStackTrace() |
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
val ahoNum = Array( | |
"ぜ~ろ", "い~ち", "にぃ~", "さぁ~ん", | |
"よぉ~ん", "ごぉ~", "ろぉ~く", "ななぁ~", | |
"はぁ~ち", "きゅ~ぅ", "じゅ~ぅ" | |
) | |
class NabeInt(i:Int){ | |
def から(j:Int):List[Int] = (i to j).toList | |
} |
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
object BrainFuck { | |
abstract class BF | |
case class UpDown(i:Int) extends BF | |
case object Next extends BF | |
case object Prev extends BF | |
case object Out extends BF | |
case class Start(i:Int) extends BF | |
case class End(i:Int) extends BF | |
def parse(s:String):List[BF] = { |
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"?> | |
<project name="scala-module" default="build" basedir="."> | |
<property environment="env"/> | |
<property name="scala.home" value="${env.SCALA_HOME}" /> | |
<property name="source.dir" value="${basedir}" /> | |
<property name="build.dir" value="${basedir}" /> | |
<target name="init"> | |
<property name="scala-library.jar" value="${scala.home}/lib/scala-library.jar" /> | |
<property name="commons-codec-1.4.jar" value="${scala.home}/lib/commons-codec-1.4.jar" /> |
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
(define-namespace Predef <scala.Predef>) | |
(require 'srfi-1) | |
; =let1 {{{ | |
(define-syntax let1 | |
(syntax-rules () | |
((_ var expr1 expr2 ...) | |
(let ((var expr1)) expr2 ...) | |
) |
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
package com.uo.liquidz | |
import scala.util.DynamicVariable | |
import scala.xml.{NodeBuffer, Elem} | |
object SimpleView { | |
type KeyParam = Symbol | |
type Params = Map[KeyParam, String] | |
val data = new DynamicVariable[Params](null) |
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
/* osaifu */ | |
{ | |
"pageElement":"id(\"result_view\")", | |
"url":"^http://search\\.osaifu\\.com/", | |
"nextLink":"//span[@class=\"next\"]/a" | |
}, |
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
package com.uo.liquidz; | |
import org.apache.tools.ant.*; | |
import org.apache.tools.ant.types.*; | |
import java.io.*; | |
import java.util.*; | |
public class Kawac extends Task { | |
private List fsl = new LinkedList(); | |
private String srcdir = "."; |