Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name fldr_show_fc2_images.user.js
// @namespace http://d.hatena.ne.jp/os0x/
// @description Make fc2 images viewable on LDR/Fastladder
// @include http://reader.livedoor.com/reader/
// @include http://reader.livedoor.com/public/*
// @include http://fastladder.com/reader/
// ==/UserScript==
// via http://gist.github.com/48621
@bebraw
bebraw / gameengines.md
Created January 6, 2011 18:07
List of JS game engines. You can find a wikified version at https://github.com/bebraw/jswiki/wiki/Game-Engines. Feel free to modify that. I sync it here every once in a while.

IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.

This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].

Name Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 453 GPL2, MIT Classic Repro no API github Intended for making classic arcade-style games in JS+HTML5
AllBinary Platform Platform Dependent AllBinary 2D/2.5D/3D n
@tyuki39
tyuki39 / HowToGetProjectSpecificEnvironmentVariables.groovysh
Created February 27, 2011 08:25
Jenkinsでプロジェクト固有の環境変数を取得する方法
// プラクティスとして良いかどうかは別として、他のプロジェクト固有の環境変数を得る方法
// 以下は groovy plugin の Execute system Groovy script の中で使用して
// TEST プロジェクトの WORKSPACE 環境変数の情報を得る例
def jobname = "TEST"
def envname = "WORKSPACE"
def job = hudson.model.Hudson.instance.getItem(jobname)
def envVars= job.lastBuild.properties.get("envVars")
println envVars[envname]
@motemen
motemen / cool.txt
Created April 20, 2011 11:38
魔法少女まどか☆マギカ 最終回放送スケジュール
_人人人人人人人人人人人人人人人人人人人人人人人人人人_
>  魔法少女まどか☆マギカ 最終回放送スケジュール  <
 ̄^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄
2011/04/21
26:00 27:00 28:00 29:00
|-----------|-----------|-----------|
MBS (関西) |-------111111222222----|-----------|
TBS (関東) |-------:---000000111111222222------|
: : : :
@iseebi
iseebi / ConnectionInformation.cs
Created June 27, 2011 15:01
EbiSoft.EbIRC.IRC.IRCClient in Siverlight for Windows Phone
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
@teramako
teramako / gyazoCapture.js
Created July 18, 2011 22:13
[Firefox]Gyazoにキャプチャ画像を送るライブラリ
/**
* @fileoverview Gyazo にキャプチャ画像をアップロードするライブラリ
* @author teramako teramako.at.gmail.com
* @license MPL 1.1
* @requires Firefox, Chrome特権
* @example
* // 表示画面のキャプチャを 3/4 スケールで撮る
* var win = gBrowser.mCurrentBrowser.contentWindow;
* var file = createCaptureFile(win, win.scrollX, win.scrollY, win.innerWidth, win.innerHeight, 0.75);
* uploadGyazo(file, function callback (url) {
@makamaka
makamaka / gist:1161799
Created August 22, 2011 06:36
YAPC::Asia Tokyo 2011 上司の説得が必要な方へ

この文章は http://www.adobe.com/jp/joc/max2011/cyb/index.html (Adobe MAX 2011 : 上司の説得が必要な方へ)一般向けテンプレートが元ネタです。ネタを活かしきれていないですがご容赦を。(下記テンプレの文責はmakamakaに帰しますが、実際に使用した結果の責任は負いかねます)

#上司の説得が必要な方へ

「YAPC::Asia Tokyo 2011に参加したいが、上司が首を縦に激しく振ってくれない」という方のために、YAPC::Asiaに参加するメリットをアピールするための文章テンプレートを用意しました。ぜひ、カスタマイズしてご利用ください。っていうか、そのまま使うのはおやめください。

@naoya
naoya / about.ejs
Created November 1, 2011 15:16
jquery-pjax example
<div class="hero-unit">
<h1>About me</h1>
<p>...</p>
</div>
@kishida
kishida / MiniParser.scala
Created November 7, 2011 19:23
Mini parser with parser combinators of scala.
package miniparser
import scala.util.parsing.combinator.RegexParsers
import scala.collection.mutable.Map
object Main {
def main(args: Array[String]): Unit = {
val expr = """
def mod(x, y) ={
@tily
tily / scaling_isomorphic_javascript_code.ja.markdown
Last active May 1, 2023 09:03
サバクラ両方で動く JavaScript の大規模開発を行うために

サバクラ両方で動く JavaScript の大規模開発を行うために

原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)

考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。

過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。