Stuckness shouldn't be avoided. It's the psychic predecessor of all real understanding. An egoless acceptance of stuckness is a key to an understanding of Quality, in mechanical work as in other endeavors. It's this understanding of Quality as revealed by stuckness which so often makes self-taught mechanics so superior to institute-trained men who have learned how to handle everything except a new situation. - Robert Pirsig, Zen and the Art of Motorcycle Maintenance
Tuesday, October 27, 2009
Turning Off the Annoying Windows Beep (on Server 2003)
I followed http://www.howtogeek.com/howto/windows/turn-off-the-annoying-windows-xp-system-beeps/ and yes, while doing it, I had to restart the server!
Monday, October 26, 2009
Installing Hudson as a Service on Vista
Keep in mind the issue discussed at
http://www.mikebosch.com/?p=137
http://www.mikebosch.com/?p=137
Doxygen Doxyfile Changes I Usually Do (To the Default Generated File)
RECURSIVE = YES
EXTRACT_ALL = YES
REFERENCES_RELATION = YES
REFERENCED_BY_RELATION = YES
the following for browsing through sources:
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
for collaboration diagrams:
HAVE_DOT =YES
EXTRACT_ALL = YES
REFERENCES_RELATION = YES
REFERENCED_BY_RELATION = YES
the following for browsing through sources:
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
for collaboration diagrams:
HAVE_DOT =YES
Sunday, October 25, 2009
Mediawiki SMTP Setup On Windows
Mediawiki is surely not fun to work with. There are thousands of configurations needed to set up the basic/essential functionalities like SMTP. To use secure SMTP with gmail SMTP server, I had to install PEAR as per http://articles.sitepoint.com/article/getting-started-with-pear/2 and then run "pear install --alldeps Mail-1.1.14". After this I restarted my web server (apache in my case). So much for SMTP.
Tuesday, October 20, 2009
Installing Secure SVN Server on Windows
I set out to set up a SVN server on Windows with secure authentication.
I started out with setting svn server as per http://www.codinghorror.com/blog/archives/001093.html. Then I followed http://turnleft.inetsolution.com/2007/07/how_to_setup_subversion_apache_1.html.
In the middle I got stuck with htpasswd command as it would not execute, saying "Illegal character :". Something to do with the file path. So I installed cygwin, including openssl (followed http://daveonsoftware.blogspot.com/2007/06/installing-cygwin-with-openssl-package.html). After this the htpasswd command worked fine.
Then, as per http://raibledesigns.com/wiki/Wiki.jsp?page=ApacheSSL I set up apache with ssl.
I tried to start Apache, but won't. In Event Viewer I saw it returned error code 1. As per http://www.issociate.de/board/post/474531/2.2.6_won%27t_start_-_The_Apache2.2_service_terminated_with_service-specific_error_1_%280x1%29..html I debugged httpd.exe using command line. It said "DAV is not allowed here". The following configuration (amendment over the "turnleft" solution above) worked (I have replaced SVNParentPath by SVNPath too):
<location /svn>
DAV svn
SVNPath C:/svn/repository
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile conf/svn-passwd.pass
AuthzSVNAccessFile conf/svn-authz.conf
Require valid-user
</location>
I started out with setting svn server as per http://www.codinghorror.com/blog/archives/001093.html. Then I followed http://turnleft.inetsolution.com/2007/07/how_to_setup_subversion_apache_1.html.
In the middle I got stuck with htpasswd command as it would not execute, saying "Illegal character :". Something to do with the file path. So I installed cygwin, including openssl (followed http://daveonsoftware.blogspot.com/2007/06/installing-cygwin-with-openssl-package.html). After this the htpasswd command worked fine.
Then, as per http://raibledesigns.com/wiki/Wiki.jsp?page=ApacheSSL I set up apache with ssl.
I tried to start Apache, but won't. In Event Viewer I saw it returned error code 1. As per http://www.issociate.de/board/post/474531/2.2.6_won%27t_start_-_The_Apache2.2_service_terminated_with_service-specific_error_1_%280x1%29..html I debugged httpd.exe using command line. It said "DAV is not allowed here". The following configuration (amendment over the "turnleft" solution above) worked (I have replaced SVNParentPath by SVNPath too):
<location /svn>
DAV svn
SVNPath C:/svn/repository
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile conf/svn-passwd.pass
AuthzSVNAccessFile conf/svn-authz.conf
Require valid-user
</location>
Creating a service under windows
http://www.codinghorror.com/blog/archives/001093.html describes how to create a service under windows:
sc create svnserver binpath= "c:\svn\bin\svnserve.exe --service -r c:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto
sc config binpath = ...
sc create svnserver binpath= "c:\svn\bin\svnserve.exe --service -r c:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto
sc config binpath = ...
Thursday, October 15, 2009
Latex Figure Numbering Incorrect
As per http://www.terminally-incoherent.com/blog/2007/04/14/latex-fixing-wrong-figure-numbers/, latex figure caption should be put before label, otherwise you will probably get the figure numbers incorrect, as I did.
Tuesday, October 13, 2009
Useful Synchronized Notes
Tomboy Notes is a simple note-taking utility, I first discovered while using Ubuntu Linux. The good thing is, tomboy can also be used together with Dropbox to synchronize notes between computers -- this is quite simple, just set the preferences of Tomboy Notes to sync to a local folder within the local Dropbox directory.
Thursday, October 8, 2009
Using Xterm on Ubuntu
gnome-terminal does not have much configurable font size. I started using my old love among terminals called xterm. http://dnh500.blogspot.com/2007/05/use-xterm-in-ubuntu.html is good about how to edit your menu to make xterm readily usable. http://ubuntuforums.org/showthread.php?t=702664 is about configuring xterm.
My simple .Xdefaults file:
! you should run> xrdb < ~/.Xdefaults
xterm*font: -*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-71-iso8859-*
xterm.vt100.background:black
xterm.vt100.foreground:grey
My simple .Xdefaults file:
! you should run> xrdb < ~/.Xdefaults
xterm*font: -*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-71-iso8859-*
xterm.vt100.background:black
xterm.vt100.foreground:grey
Wednesday, October 7, 2009
VMWare Player with Ubuntu on Windows Vista
Just a short note. This is quite easy: just follow the instructions at http://johnbokma.com/mexit/2005/11/07/vmware-player-ubuntu-installation.html
Probably a more straightforward way is to download from http://www.vmware.com/appliances/
Probably a more straightforward way is to download from http://www.vmware.com/appliances/
Saturday, October 3, 2009
Trying out Medical on Ubuntu 9.04
Checking out Medical (sourceforge project of the month). Depends on OpenERP. Trying to install OpenERP. But seems to be non-trivial task. OpenERP has problems and can't install with Ubuntu 9.04. Will forget about using Ubuntu for Medical, and try Windows later.
Subscribe to:
Posts (Atom)