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

May 14, 2010 - June 29, 2010

< Previous Articles >< Next Articles >
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, <code>&lt;myname@example.com&gt;</code> does not validate with the SAX parser that ASDoc uses, so you would instead need to do <code>&amp;lt;myname@example.com&amp;gt;</code>. Also the character &amp; by itself is invalid, use &amp;amp; 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..

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. pics

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

<a href="http://wi-fizzle.com/recently_bookmarked_june2010.html">Recently Bookmarked - June 2010</a>

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:

 SetTimer, EnterAuth, 250
 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

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.

Posted by dandriff on Tuesday June 01, 2010@01:26PM

Argleton, the imaginary town in Google maps.

Posted by dandriff on Tuesday June 01, 2010@01:02PM

Here is a website with some /really/ nice vim plugins! Very worthwhile.

Posted by dandriff on Friday May 28, 2010@10:31AM

in PHP, "2"+2=4, and "2pinkponies"+2=4, but "i2"+2=2.

Implicit type conversion like this can could make for some interesting bugs, to say the least.

Posted by dandriff on Wednesday May 19, 2010@12:06PM

DoxyGenToolkit is a Vim plugin for C, C++, Python, and PHP which helps you conveniently create DoxyGen compatible documentation.

To use it just go to the line where a function is defined and execute :Dox, and it will automatically create the stub for you with @param s.

Posted by dandriff on Friday May 14, 2010@04:40PM

In Windows 7 64-bit edition (x64), I installed the 64-bit version of Python 2.6. After installation, I had a lot of problems with trying to install packages via .exe installers.

I narrowed the problem down to the installers not looking in the "right" place for the Python installdir (or rather, not being able to find the Python 2.6 installation directory) from the registry. I concocted a simple .reg file to fix this:

 Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Help\Main Python Documentation]
 @="Python 2.6"

After applying this .reg fix, things are working fine.

Download the fix file:

< Previous Articles >< Next Articles >