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
import processing.core.*; | |
public class JiyuuRakka extends PApplet{ | |
Ball b1; | |
public void setup(){ | |
size(200, 200); | |
b1 = new Ball(random(width), random(0,20)); | |
b1.setHeight(height); | |
} |
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
import processing.core.*; | |
public class JiyuuRakka extends PApplet{ | |
final int MAX = 100; | |
int idx = 0; | |
Ball[] balls; | |
static final long serialVersionUID = 100; | |
float startx, starty | |
, endx, endy; | |
boolean isDragged = false; |
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
// ==UserScript== | |
// @name Open 2ch in 2chbbsreader | |
// @namespace http://swdyh.yu.to/ | |
// @description loading next page and inserting into current page. | |
// @include http://www.google.co.jp/search* | |
// ==/UserScript== | |
// | |
// auther: masaakif | |
// version: 0.0.1 2009-01-14T09:52:07+09:00 | |
// |
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
/* For Youtube demo, Please see below. | |
http://jp.youtube.com/watch?v=8vXg_EUqFY0 | |
*/ | |
import processing.core.*; | |
import JMyron.*; | |
import MyObjects.Ball; | |
import ProcessingUtils.ColorUtil; | |
public class PopBall extends PApplet{ | |
JMyron m; |
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
/* Autopagerize JSON data for cuffsncollars.co.uk */ | |
/* cuffsncollars.co.uk */ | |
{ | |
url: '^http://www\.cuffsncollars\.co\.uk/.+', | |
nextLink: '//td[@class="body"]/a[contains(self::*, "Next")]', | |
pageElement: '//td[@background="/site_images/search_bg.gif"]/..', | |
exampleUrl: 'http://www.cuffsncollars.co.uk/novelty_cufflinks_and_gift_items.asp?page=2', | |
}, |
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
//action-coding で実行 | |
//MDIE Ver 0.2.5.3 | |
main(); | |
function main(){ | |
var i; | |
var opt = ""; | |
//メインループ | |
for(i=0;i<FolderView.Count;i++){ |
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
# | |
# test2.rb | |
# my 2nd sample of Processing + action-coding | |
# Pops up circle + rect on the window randomly position, color. | |
# Then it flows down to bottom. | |
# | |
$ss = [] | |
def setup | |
size 200, 200 |
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
" vim:set ts=8 sts=2 sw=2 tw=0: | |
" | |
" Last Change: 05-Feb-2009. | |
" Maintainer: masaakif | |
" source $VIM/fujiwara_rc | |
set guifont=BDF_M+:h7.5:cSHIFTJIS | |
map "s :set guifont=BDF_M+:h7.5:cSHIFTJIS<CR> |
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 shell = new ActiveXObject("WScript.Shell"); | |
var driveLetter = FolderView.Path.substr(0,1).toLowerCase(); | |
var cmdline = 'cmd.exe /k'; | |
if (driveLetter == "c") { | |
cmdline += ' "cd ' + FolderView.Path + '"'; | |
} | |
else { | |
cmdline += ' "cd ' + FolderView.Path + ' && ' + driveLetter + ':"'; | |
} |
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
// ==UserScript== | |
// @name Youku Add Direct Link | |
// @namespace http://gist.github.com/xxxxx | |
// @description Add direct links to movie files from Youku | |
// @include http://*.youku.com/* | |
// ==/UserScript== | |
// Version 200909?? | |
var DEBUG=true; |