Skip to content

Instantly share code, notes, and snippets.

Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml. The 'secure' attribute is only permitted in HTTPS and socket policy files. See http://www.adobe.com/go/strict_policy_files for details.
Error: Error #1023: Stack overflow occurred.
at global$init()[C:\Users\dmoore\Documents\_Production\Flex Unit 4\GIT\FlexUnit4\src\org\flexunit\experimental\theories\internals\ParameterizedAssertionError.as:34]
at org.flexunit.experimental.runners.statements::TheoryAnchor/http://www.adobe.com/2009/flexunit/classInternal::reportParameterizedError()[C:\Users\dmoore\Documents\_Production\Flex Unit 4\GIT\FlexUnit4\src\org\flexunit\experimental\runners\statements\TheoryAnchor.as:178]
at org.flexunit.experimental.runners.statements::MethodCompleteWithParamsStatement/evaluate()[C:\Users\dmoore\Documents\_Production\Flex Unit 4\GIT\FlexUnit4\src\org\flexunit\experimental\runners\statements\MethodCompleteWithParamsStatement.as:100]
at org.flexunit.internals.runners.statem
marr@ares:~/Downloads/lukebayes-asunit-e2af845/as3$ rake
(in /Users/marr/Downloads/lukebayes-asunit-e2af845/as3)
Created zip archive at: bin/asunit3.2.8.zip
>> Execute: mxmlc -default-size 1000 600 -output=bin/AsUnitRunner.swf -source-path+=src -source-path+=test test/AsUnitRunner.as
rake aborted!
Permission denied - /Users/marr/Library/Sprouts/cache/0.7/sprout-flex3sdk-tool-3.5.1/archive/bin/mxmlc
(See full trace by running task with --trace)
david-marrs-macbook-pro:tinytlf dave$ ant -v clean package
Apache Ant version 1.7.1 compiled on April 8 2010
Buildfile: build.xml
Detected Java version: 1.6 in: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Detected OS: Mac OS X
parsing buildfile /Users/dave/Desktop/Code/as3/tinytlf/build.xml with URI = file:/Users/dave/Desktop/Code/as3/tinytlf/build.xml
Project base dir set to: /Users/dave/Desktop/Code/as3/tinytlf
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
[property] Loading Environment env.
[property] Loading /Users/dave/Desktop/Code/as3/tinytlf/build.properties
#!/bin/bash
git fetch $GIT_REPO
git branch tmp $(cut -b-40 .git/FETCH_HEAD)
git tag -a -m "Last fetch" newlast tmp
git rebase --onto master last tmp
git branch -M tmp master
git svn dcommit
mv .git/refs/tags/newlast .git/refs/tags/last
git fetch $GIT_REPO
git checkout FETCH_HEAD
git svn dcommit
Unable to determine upstream SVN information from HEAD history.
Perhaps the repository is empty. at /usr/local/Cellar/git/1.7.2.1/libexec/git-core/git-svn line 519.
Merge conflict during commit: File or directory '.' is out of date; try updating: resource out of date; try updating at /usr/local/Cellar/git/1.7.2.1/libexec/git-core/git-svn line 572
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- xml (LoadError) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from /Users/dave/Library/Application Support/TextMate/Bundles/PHPUnit.tmbundle/Support/run_single_test.rb:3
var baseurl = "http://api.flickr.com/services/rest/?";
$(document).ready (function () {
$(function () {
apiKey var = "XXX";
var secret = "XXX";
var method = "flickr.auth.getFrob";
var hash = $. md5 (secret + "api_key" apiKey + "formatjsonjsoncallbackfmethod" + method);
var url = baseurl + "method =" + method + "& api_key =" apiKey + + "& api_sig =" + hash + "& format = json & jsoncallback = f";
$.ajax ({url: url, dataType: "script", type: "GET ", cache: true, callback:null, data: null});
var filename = "https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js";
test("Lazy-load jQuery", function()
{
stop(3000);
loadScript(filename, function() {
start();
ok(/loaded|complete/.test(document.readyState), "document is complete");
ok(typeof $ == "function", "$ is a function");
ok(typeof jQuery == "function", "jQuery is a function");
});
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write(phormat.greeting);
res.end();
}).listen(8124, "127.0.0.1");
var fs = require('fs');
fs.watchFile(__dirname + '/phormat/lib/phormat.js', reload);