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
# -*- coding: utf-8 -*- | |
def AheGaoDoublePeace(text) | |
str = text | |
str = str.gsub(/(気持|きも)ちいい/,'ぎも゛ぢい゛い゛ぃ') | |
str = str.gsub(/(大好|だいす)き/,'らいしゅきいぃっ') | |
str = str.gsub(/(ミルク|みるく|牛乳)/,'ちんぽミルク') | |
str = str.gsub(/お(願|ねが)い/,'お願いぃぃぃっっっ゙') | |
str = str.gsub(/ぁ/,'ぁぁ゛ぁ゛') | |
str = str.gsub(/あ/,'ぁあああ あぉ') |
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
class A { | |
class B | |
def f(b: B) = println("Got my B!") | |
} | |
val a1 = new A | |
println(a1) | |
val a2 = new A | |
println(a2) |
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
class A { | |
class B | |
def f(b: B) = println("Got my B!") | |
} | |
val a1 = new A | |
println(a1) | |
val a2 = new A | |
println(a2) |
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
#! /bin/sh | |
function usage() { | |
echo "Usage : ${0} [option]" | |
echo "" | |
echo " アプリケーション実行ショートカット" | |
echo "e emacs" | |
echo "a activity monitor" | |
echo "g google chrome" | |
echo "" |
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
var http = require('http'); | |
var fs = require('fs'); | |
var url = require('url'); | |
var qs = require('querystring'); | |
var jade = require('jade'); | |
var index = fs.readFileSync('./index.jade', 'utf8'); | |
var style = fs.readFileSync('./style.css', 'utf8'); | |
var server = http.createServer(); |
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
doctype | |
html | |
head | |
meta(charset="utf-8") | |
title サンプル | |
link(rel="stylesheet" href="style.css") | |
body | |
h1= title | |
p= msg + '(' + form.myname + ',' + form.mail + ',' + form.age + ')' | |
form(method='post' ,action='/') |
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
var http = require('http'); | |
var fs = require('fs'); | |
var url = require('url'); | |
var qs = require('querystring'); | |
var jade = require('jade'); | |
var index = fs.readFileSync('./index.jade', 'utf8'); | |
var style = fs.readFileSync('./style.css', 'utf8'); | |
var datas = []; |
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 aout = System.IO.File.ReadAllBytes "regs.out" | |
let read16 (a:byte[]) b = | |
(int a.[b]) ||| ((int a.[b + 1]) <<< 8) | |
let tsize = read16 aout 2 | |
let dsize = read16 aout 4 | |
let mem = Array.zeroCreate<byte> 0x10000 | |
mem.[0 .. tsize + dsize - 1] <- aout.[16 .. 16 + tsize + dsize - 1] | |
let mutable ip = 0 | |
let show len dis = | |
let bin = [ for b in mem.[ip .. ip + len - 1] -> sprintf "%02x" b ] |
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
doctype html | |
html | |
head | |
title= title | |
link(rel='stylesheet', href='/stylesheets/style.css') | |
body | |
block content |
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 models; | |
import java.util.Data; | |
import java.util.List; | |
import javax.persistence.*; | |
import javax.validation.*; | |
import play.db.ebean.*; | |
import play.data.validation.*; |
OlderNewer