This file contains hidden or 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 hoge:String = [ | |
"hoge", | |
"foo", | |
"bar" | |
].join(""); |
This file contains hidden or 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 oShell = WScript.CreateObject("WScript.Shell"); | |
oShell.AppActivate("FlashDevelop"); | |
WScript.Sleep(100); | |
oShell.SendKeys("{F5}"); |
This file contains hidden or 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
@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 |
This file contains hidden or 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 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';})() |
This file contains hidden or 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 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; | |
} |
This file contains hidden or 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
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 = { |
This file contains hidden or 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
if (currentLabel.match(new RegExp("^(" + [A, B, C].join("|") + ")$"))) { | |
} |
This file contains hidden or 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
(((new Date).getMonth() + 1) + 100).toString().substr(1, 2); |
This file contains hidden or 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
switch (true) { | |
case (a < b): | |
break; | |
} |
This file contains hidden or 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 doc = fl.getDocumentDOM(); | |
var l = doc.library.getSelectedItems(); | |
for (var i in l) { | |
fl.trace(l[i]); | |
} |
OlderNewer