Skip to content

Instantly share code, notes, and snippets.

@lukesh
lukesh / rdelete
Created September 15, 2009 15:29
#!/bin/bash
if [ "$#" -lt 1 ]
then
echo "Usage: $0 <parameter>"
echo "where parameter is pattern of file to be recursively deleted"
exit 1
fi
echo "Recursively removing for pattern: '$1'"
find . -iname "$1" -print0 | xargs -0 rm -rf
private function listFonts():void {
var fontArray:Array = Font.enumerateFonts(false);
for(var i:int = 0; i < fontArray.length; i++) {
var thisFont:Font = fontArray[i];
if (thisFont.fontType == "embedded") {
ta1.text += "FONT " + i + ":: name: " + thisFont.fontName + "; typeface: " +
thisFont.fontStyle + "; type: " + thisFont.fontType + "\n";
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
creationComplete="handleCreationComplete(event)"
>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var arrayCollection:ArrayCollection;