Wi-Fizzle.com - Putting the fizzle in Wi-Fi since 2005 .. (yes, this was a poor choice for a domain name)

June 02, 2010 - July 22, 2010

< Previous Articles >

define: onomatopoeias

Posted by dandriff on Thursday July 22, 2010@01:39AM


Adobe Flash Builder ASDoc

Posted by dandriff on Tuesday July 20, 2010@10:27AM

Instructions for setting up and configuring ASDoc in Flash Builder, where the project is contained in 3 modules inside C:\httpdocs\XX_project_XX:

Run -> External Tools configurations
Right click in left pane and select "New"

 Location: C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin\asdoc.exe
 Working Directory: C:\httpdocs\XX_project_XX

Arguments:
 -source-path MYAPI/src
 -source-path MyGameAPI/src
 -source-path MyGame/src
 
 -doc-sources MYAPI/src
 -doc-sources MyGameAPI/src
 -doc-sources MyGame/src
 
 -external-library-path "C:\httpdocs\XX_project_XX\libs\as3corelib-.92.1"
 -external-library-path "C:\httpdocs\XX_project_XX\libs\as3isolib-.303"
 -external-library-path "C:\httpdocs\XX_project_XX\libs\bulkoader-rev-282"
 -external-library-path "C:\httpdocs\XX_project_XX\libs\parsley-2.2.2-lib"
 -external-library-path "C:\httpdocs\XX_project_XX\libs\parsley-2.2.2-release"
 
 
 -compiler.strict=false
 
 -main-title "MyGame Flash Client Documentation"
 -window-title "MyGame Flash Client Documentation"
 -footer "This is the footer"
 
 -output docs

Keywords:
  • Docs
  • ASDocs
  • ActionScript 3 Documentation
  • ASDoc
  • AS3Doc


Best Java Script Compressor

Posted by dandriff on Monday July 19, 2010@05:12PM

SO let me to YUI Compressor, an impressive JavaScript code minimization tool.


BP Cam Feeds

Posted by dandriff on Monday July 19, 2010@09:46AM

BP Cam Feeds


Interesting Rust.

Posted by dandriff on Monday July 19, 2010@09:45AM

Rust looks like a pretty interesting language. Found via lambda the ultimate.


Just a test

Posted by dandriff on Saturday July 17, 2010@05:37PM

Just a test


HOWTO: Get Milliseconds in Linux

Posted by dandriff on Tuesday July 13, 2010@06:14PM


Vrapper

Posted by dandriff on Friday July 09, 2010@03:11PM

Vrapper, Vim-like editing in Eclipse

This looks like it might be really nice!


High Performance Web Sites: Back to blogging after Velocity

Posted by dandriff on Friday July 02, 2010@05:29PM

Back to blogging after Velocity to be read later.


Windows File Transfer Over SSH Utility: WinSCP

Posted by dandriff on Tuesday June 29, 2010@10:21AM

WinSCP is pretty nice.


Posted by dandriff on Monday June 28, 2010@10:35AM

Figuring out how to generate documention for ActionScript 3/Flex 4 code using Adobe's ASDoc tool from within Flash Builder has been quite a journey.

Helpful information:

  • All the text content in the comments must resolve to valid HTML. For example, <> does not validate with the SAX parser that ASDoc uses, so you would instead need to do <>. Also the character & by itself is invalid, use & instead.

Things that didn't work:

  • The program called "ASDocr" wouldn't even install.
  • the instructions at undefined-type.com/2008/11/asdoc-with-flex-compiler/ were good, but for a
  • visiblearea.com/visdoc/
  • stackoverflow.com/questions/129405/can-i-use-doxygen-to-document-actionscript-code Basically, it's not a good idea to use DoxyGen for AS3. DoxyGen can word wonferfully for other things though..


The Legend of Kyrandia

Posted by dandriff on Wednesday June 16, 2010@04:59PM

I have many fond memories of hours spent with my younger sister and brother playing The Legend of Kyrandia.


Robots Soln.

Posted by dandriff on Friday June 11, 2010@04:19PM


Recently Bookmarked

Posted by dandriff on Friday June 11, 2010@09:30AM

OpenVPN, AutoHotkey saves the day.

Posted by dandriff on Wednesday June 02, 2010@05:13PM

So I really didn't want to remember an insane password to connect to my OpenVPN, and I don't have the luxury of controller the certificate signing, meaning that I can't create a signed key certificate file to use.

Disclaimer: I realize the solution described in this post is not ideal, but IMO it's better than keeping the password in a plain-text file on the desktop (like my boss does).

AutoHotkey can be found here.

AHK Script:

 #Persistent
 SetTimer, EnterAuth, 250
 return
 
 EnterAuth:
 Process, wait, openvpn-gui.exe, 2
 If %ErrorLevel% = 0
 {
 Run, C:\Program Files (x86)\OpenVPN\config\shortcut.lnk
 Sleep, 2000
 }
 IfWinExist OpenVPN - User Authentication
 {
 ControlSetText, Edit1, {USERNAME}, OpenVPN - User Authentication ahk_class #32770
 ControlSetText, Edit2, {PASSWORD}, OpenVPN - User Authentication ahk_class #32770
 ControlSend, Edit1, {Enter}, OpenVPN - User Authentication ahk_class #32770
 ExitApp
 }
 return

Where {USERNAME}/{PASSWORD} get replaced by your OpenVPN username and password, and the shortcut.lnk is a shortcut to openvpn with the connect command, i.e.:
 "C:\Program Files (x86)\OpenVPN\bin\openvpn-gui-1.0.3.exe" --connect my-openvpn-config.ovpn

I then compiled the executable and added a scheduled task to run after user logon to run the executable and trigger OpenVPN to launch. It works great.


< Previous Articles >