<a href="http://wi-fizzle.com/recently_bookmarked_june2010.html">Recently Bookmarked - June 2010</a>
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
"C:\Program Files (x86)\OpenVPN\bin\openvpn-gui-1.0.3.exe" --connect my-openvpn-config.ovpn
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.
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.
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] [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore] [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6] [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Help] [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Help\Main Python Documentation] @="C:\\Python26\\Doc\\python265.chm" [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath] @="C:\\Python26\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath\InstallGroup] @="Python 2.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Modules] [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\PythonPath] @="C:\\Python26\\Lib;C:\\Python26\\DLLs;C:\\Python26\\Lib\\lib-tk"
Download the fix file:
http://wi-fizzle.com/downloads/win7_python2.6_x64_reg_fix.reg
HOWTO: Change the font size quickly in vim
A potentially interesting vim script:
FuzzyFinder: buffer/file/command/tag/etc explorer with fuzzy matching
And finally..
Alternative tab navigation information for vim
Texas Instruments TI-89 Links for graph-link, open-source tools:
http://lpg.ticalc.org/prj_tilp/win32.html
http://tibasicdev.wikidot.com/userinput
http://lpg.ticalc.org/prj_tiemu/features.html