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 animationName = 'Elric_Jump_Down'; | |
import com.adobe.images.PNGEncoder; | |
import com.adobe.serialization.json.JSON; | |
import com.hurlant.util.Base64; | |
import org.aszip.zip.ASZip; | |
import org.aszip.compression.CompressionMethod; | |
import org.aszip.saving.Method; | |
var console = {log: trace}; |
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
function submitData(url, method, data) { | |
var $form = $('<form></form>') | |
.attr('action', url) | |
.attr('method', method) | |
.appendTo('body'); | |
for (var i in data) { | |
if (!data.hasOwnProperty(i)) continue; | |
$('<input type="hidden"/>') | |
.attr('name', 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
import com.adobe.images.PNGEncoder; | |
import com.adobe.serialization.json.JSON; | |
import com.hurlant.util.Base64; | |
var frames = {}; | |
var children = []; | |
function enterFrameHandler (e:Event):void { | |
if (frames[currentFrame]) { | |
System.setClipboard(JSON.encode(children)); |
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
[{"data":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAACvCAYAAACiubO3AAAGdElEQVR42u2da1ITQRDHcwOP4BE8AlWW8vKBAsGPVClkswkYBSTmJUfgCByBI3gEjuARcoS4g64Om93sPLp7umfZqqnK1/xquvvfj5lptSL9ttLTtfXj5HYz7R+2mvjtXlxebXTSxfpxd7F+1L1q1J9vD4dP2uPZzVa3/wdA0yDcAxhNf74+GfwH0CQIf3bA9O7d2beHAJoCQQE4GE1/7V2OFv/8QJMgfBjOnikA7e+TxWbSWwag1qf0MGoAmROcH4xni1f9z+UAsvXyOF2L2gcoAG8HZ5UA4obwF8DuxXAlALWef+o/jRDA7EYB2B+Oyx1hYUULQK0HgqgpENqj2XUOYEkQVfmDo+7PaAAcjCaHOYBSQRQ7BB1ApSCqhJBciwewP/mxkwNYKYiqlnS1qIshtbZ7p3YApKvF3cnkqQ6gThBFKZRUSpwDeH9+6QRAtFDK1OAgB2AqiKLSCLoZKEdoKogqIsNcvBmYCqKoNIJuBjaCqNopdm/EmoESRL4ARGqE3AycBFHlTkgGIs3ASRBJ1wh/+wRzH0EkXiMcjKdX+S6ABCBGIyhnmAOAhpD5gztxVSKTWmF0GuG+X6DtAmgIIsKjrgwbCaE9mq3pANTa+XIO7BOYh0fVNitCgA6P6x+TZyLqhZgQRAij4oJUipk/+CVCGGFCYBseV+0Cm26S6DK7LozKVvThsSiPsSGwDI9FYVRcqpgadfZYJoyKC1otciyY3FFCYJc9VgkjTMnMLjyWyWN0tcgpMqwSRsX15vNXOAhcGrB1wghVLXIJj/pYDTUEMcIITShxSZzq5DEmBBaRwWUXgKpFDpHBZReAqsXQkaE4XmO6fKZQ2EUG24iAIZRE6QIUCKEjg406xNMIyW1ohzgPDiFkZDDNFKuWz2Savl4cJTvsM0V0tRiq2WJSNVq1wGaTQkaGutohlVAKJpeL |
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
{ "instance1" : { "data" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAACvCAYAAACiubO3AAAHOklEQVR42u2dy49VRRDG71/n+4WvlRo36sDoII8ZBCUiysYRNDEIiTGiaKJgMNHBBTjEhSPGxBeJGoeIRomviGwUlq09ybnpezjnnq6qr7qrz6GTSmYxq1+6qr569Lkj19NzZvWs27X/gDt5+tPO/x31EcDbJ066ax9c7655YMYdfm9pWBD+vXzZ7X/nmLt+ZnYNwOAgeAC7Xn7F3fTwxjGAQUHwAOZf3O9u2zw/AWAwEDyA2Wf3ujsWto/jwKAg/PTrb2sA7nrscXfdQxuuAODtxMrp/kLwAO7fvcfdvWOnu3F2rhGAt6+/X+0nhCoGeAC3bNzcCqDXECoAt2/dNhWAt9//utA/CF4HeAB3btvRGAjrFnNGJQLwFgqiwUA4tPTBGEBdELXZ1sV9/YHw0edfjAE0CaLeQwgBtAmiNjvw1pHyIXz27XdjANMEUZvFqEXTEEIx5O2GDY+QAMSqRbMQ/rx4cQJAlyCSCCWzEHxJXAFYt2WBBSBWKJmEcHzlkzGAWEEk0QjmIIRu4ANhrCBqsnVzm8qEELpBrCCSagRTEEI3oAiiNlt89bWyIIRu4AWRFABFI5iBULkBRxC12bEPl8uBELoBRxBJNUJ2CL5DVLkBVxBJNUJ2CEeXT41vARIARSNkheCDYQUADWFm9zNlQAi7RDG9Qi2NkA2CrxDDW4CGQEmP2SCEynCQEL459+MEAG+3ProFCoGSHrNA8GOzOgR0evzh51/sQgj7hZoQqCcZhFAY1Q2pFO/9X3qbhRAKI00I1PSYDMK0W0CZJiHb7MkhhMKoyXKmxyQQ6vJYGwI1PSaBUBdGdfPN1FzVYxIITcKobmi1yDmqEKplilQQqNWjOoQ2YaQpmTnpURVCkzzWVouczKAGYZowqtvNc5tgEGIHsOoQuoSRplrkpEcVCOFaTW |
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
typedef enum { | |
FLScreenCornerTopLeft = 0, | |
FLScreenCornerTopRight, | |
FLScreenCornerBottomLeft, | |
FLScreenCornerBottomRight | |
} FLScreenCorner; | |
CGPoint FLGetPositionFromScreenCorner(CGPoint offset, FLScreenCorner corner, CGSize windowSize) | |
{ | |
if (corner == FLScreenCornerBottomLeft) |
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
--- | |
# Game Scene | |
Variables: | |
- Player: | |
- If PlayerGender = Male: Elric | |
- Else: Amy | |
Speakers: | |
- Elric: |
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
Function.prototype.stackify = function () { | |
var fn = this; | |
return function () { | |
fn = fn.toString(); | |
var fns = fn.substring(fn.indexOf("{") + 1, fn.lastIndexOf("}")).split('\n'); | |
fns.forEach(function (fn_str) { | |
fn = function() { | |
eval(fn_str); | |
}; | |
setTimeout(function () { |
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
1. Editor | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
Javascript 132 2280 4250 9462 | |
HTML 33 0 0 585 | |
------------------------------------------------------------------------------- | |
SUM: 165 2280 4250 10047 | |
------------------------------------------------------------------------------- |
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
/** | |
* Gets the immediate adjacent element node to this node. In order of priority, | |
* this would return a next sibling, previous sibling or the parent node. | |
* The returned node has two properties set on it: | |
* * relationship: either of 'previousSibling', 'nextSibling' or 'parentNode'. | |
* * proximity: the distance between this node and the nearest element node. | |
* (the number of non-element nodes in between plus one.) | |
* | |
* @return {jQuery} Returns a jquery object containing the adjacent node. | |
*/ |