Skip to content

Instantly share code, notes, and snippets.

View intafon's full-sized avatar

Ryan Todd-Nakamura intafon

View GitHub Profile
@intafon
intafon / flashVarsToLoadedSwf
Last active January 1, 2016 13:09
Shows how a swf loaded by an html embedded swf can access the flashvars.
package
{
import flash.display.Sprite;
import flash.display.Loader;
import flash.net.URLRequest;
/**
* Loads SwfB in the same way a swf usually loads a swf.
*/
public class SwfA extends Sprite
@intafon
intafon / svndiff2html
Last active November 4, 2021 10:00
svndiff2html runs svn diff on the current directory path and outputs a formatted HTML file to provide easier legibility.
#!/bin/bash
# svndiff2html runs svn diff on the current directory path and outputs a
# formatted HTML file to provide easier legibility.
diff="";
out="";
html="";
args="";