Instantly share code, notes, and snippets.

View embed_xml.as
import flash.utils.ByteArray;
[Embed(source="../../test-data/expected-values/values.xml", mimeType="application/octet-stream")]
private static const TestData:Class;
//get test XML data
var ba:ByteArray = new TestData() as ByteArray;
testXML= new XML(ba.readUTFBytes(ba.length));
View ConnectivityTest.as
[Embed(source="../../test-data/expected-values/values.xml", mimeType="application/octet-stream")]
private static const TestData:Class;
//get test XML data
var ba:ByteArray = new TestData() as ByteArray;
testXML= new XML(ba.readUTFBytes(ba.length));
View sky-config-mac.xml
<define>
<name>CONFIG::debugging</name>
<value>false</value>
</define>
View TestMonster.mxml
<mx:Script>
<![CDATA[
// Import the debugger
import nl.demonsters.debugger.MonsterDebugger;
// Variable to hold the debugger
private var debugger:MonsterDebugger;
private function onInit():void
{
// Init the debugger
debugger = new MonsterDebugger(this);
View .xmodmap
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Caps_Lock = Escape
View config
[branch "master"]
remote = origin
merge = refs/heads/master
[push]
default = matching
View config
[branch "master"]
remote = origin
merge = refs/heads/master
[push]
default = matching
View config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git@github.com:bigfish/html5tags.git
fetch = +refs/heads/*:refs/remotes/origin/*
View view_states.html
<link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css"/>
<script src="ext/adapter/ext/ext-base-debug-w-comments.js" type="text/javascript" charset="utf-8"></script>
<script src="ext/ext-all-debug-w-comments.js" type="text/javascript" charset="utf-8"></script>
<script src="view_states.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
Ext.BLANK_IMAGE_URL = "ext/resources/images/default/s.gif";
</script>