Skip to content

Instantly share code, notes, and snippets.

var hoge:String = [
"hoge",
"foo",
"bar"
].join("");
var oShell = WScript.CreateObject("WScript.Shell");
oShell.AppActivate("FlashDevelop");
WScript.Sleep(100);
oShell.SendKeys("{F5}");
@echo off
cls
echo.start
attrib -r -h ._* /s /d
del ._* /s
attrib -r -h .DS_Store /s /d
del .DS_Store /s
echo.done
pause
// ==UserScript==
// @name Dokodemo Ikemen Clock
// @namespace http://kaihatsubu.com/
// @description display ikemen clock anywhere
// @include http://*
// @include https://*
// ==/UserScript==
(function() {
function initialize() {
(function(){var d = new Date();var t = d.getHours() * 60 + d.getMinutes();if(t < 1000){t='0'+t}; var url='http://orega.tv/images/m' + t + '.jpg';var e = document.createElement("img");e.src=url;document.body.appendChild(e);e.style.position = 'absolute';e.style.top = '0px';e.style.left = '0px';})()
var selection = fl.getDocumentDOM().selection;
if (selection.length === 2) {
var temp = {};
temp.x = selection[0].x;
temp.y = selection[0].y;
selection[0].x = selection[1].x;
selection[0].y = selection[1].y;
selection[1].x = temp.x;
selection[1].y = temp.y;
}
function repeat(num, dur, func, args) {
var cnt = 0;
var timer = setInterval(function () {
if (cnt++ < num) {
func.apply(rv, args);
} else {
clearInterval(timer);
}
}, dur);
var rv = {
if (currentLabel.match(new RegExp("^(" + [A, B, C].join("|") + ")$"))) {
}
(((new Date).getMonth() + 1) + 100).toString().substr(1, 2);
switch (true) {
case (a < b):
break;
}
var doc = fl.getDocumentDOM();
var l = doc.library.getSelectedItems();
for (var i in l) {
fl.trace(l[i]);
}