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
<mx:Application | |
xmlns:mx="http://www.adobe.com/2006/mxml" | |
width="450" height="350" | |
layout="vertical" | |
verticalAlign="middle" | |
horizontalAlign="center" | |
verticalScrollPolicy="off" | |
horizontalScrollPolicy="off" | |
applicationComplete="{initApp()}"> | |
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
Error #1009: Cannot access a property or method | |
of a null object reference. |
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
/** | |
* TextWithVelocity, Billy Lamberta. | |
* Extended textfield, with added variables to hold a velocity value. | |
* */ | |
//need to put the package directory structure here | |
package { | |
import flash.text.TextField; | |
public class TextWithVelocity extends TextField { |
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
<instance_material symbol="lambert1SG" target="#myShaderName"/> |
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
#!/usr/bin/env python | |
## | |
## -- 'beejay' is Billy's Jukebox -- | |
## -- Copyright 2008 Billy Lamberta -- | |
## | |
## Read and sort an iTunes generated playlist to use with a | |
## command-line audio player like 'mplayer' or 'mpg123'. | |
## | |
## Requires the 'Plistlib' library, which is available here: | |
## http://svn.red-bean.com/bob/plistlib/trunk/plistlib.py |
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
-v version and program information | |
-p file open an iTunes formatted playlist | |
-r random mode (shuffle) | |
-t turn off track numbers | |
-d use the default library | |
-o file output a M3U formatted playlist (use with --print) | |
--print print playlist to screen without playing | |
--no-see don't print song info to screen | |
--player=program use a different media player |
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
(* My Emacs KeyBindings *) | |
Item[KeyEvent["a", Modifiers -> {Control}], "MoveLineBeginning"], | |
Item[KeyEvent["e", Modifiers -> {Control}], "MoveLineEnd"], | |
Item[KeyEvent["Home"], | |
FrontEndExecute[{ | |
FrontEnd`SelectionMove[FrontEnd`InputNotebook[], Before, Notebook], | |
FrontEnd`FrontEndToken["ScrollNotebookStart"] | |
}]], | |
Item[KeyEvent["End"], | |
FrontEndExecute[{ |
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
/** | |
* To see the demo and a writeup, visit: | |
* http://lamberta.posterous.com/3d-flash-demo-see-through | |
* | |
* This software is release under the MIT License. | |
* Copyright (c) Billy Lamberta, 2008 | |
* www.lamberta.org | |
* | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
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 cx = oo.canvas().width/2; | |
var cy = oo.canvas().height/2; | |
var img_w = 271; | |
var img_h = 365; | |
var img = oo.image({src:'./img/face_271x365.png', | |
x:cx - img_w/2, | |
y:cy - img_h/2, | |
axis:{x:img_w/2, | |
y:img_h/2, | |
coord:'local', |
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
set path="C:\WINDOWS\system32;C:\usr\local\python_2-4-4\;C:\usr\local\python_2-4-4\Tools\Scripts\;" | |
"C:\Program Files\FontLab\Studio5\Studio5.exe" |