<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>Random Things</title>
	<link>http://www.edna.narrabilis.com</link>
	<description></description>
	<lastBuildDate>Sat, 18 Jul 2009 15:07:36 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Group Management in MAC-OS</title>
		<description><![CDATA[By default /etc/group  is consulted only in single-user mode, so that is not the way to deal with group membership under MAC-OS.
The command line utility dseditgroup is the way to go: 
dseditgroup -o create -i 1000 newgroup 
will create a new group called newgroup with gid 1000
dseditgroup -o edit -a someuser newgroup
Will add an [...]]]></description>
		<link>http://www.edna.narrabilis.com/2009/07/18/group-management-in-mac-os/</link>
			</item>
	<item>
		<title>Drupal subsites and apache conf files</title>
		<description><![CDATA[We wanted 1 drupal installation (on a RedHat server, installed under /var/www/html/drupal) with a few
subsites. In the past we achieved this with many symbolic links which
gets hard to manage after a while.
Another possibility is creating CNAMES for the different subsites but
that also has its set of issues (updating dns, getting certificates&#8230;)
The solution was to create [...]]]></description>
		<link>http://www.edna.narrabilis.com/2009/01/16/drupal-subsites-and-apache-conf-files/</link>
			</item>
	<item>
		<title>stunnel for mysql &#8211; server and client</title>
		<description><![CDATA[We needed to set up an stunnel to the mysql server (mysql.example.com), 

 so that the client (client.example.com) and the server can communicate over an encrypted tunnel. Stunnel was already installed on both linux machines &#8211; it is avaialble from http://stunnel.org. The steps taken on mysql.example.com were:

cd /etc/stunnel
Create a certificate:
openssl req&#160;&#160; -x509 -nodes -days 365&#160;&#160; [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/06/01/stunnel-for-mysql-server-and-client/</link>
			</item>
	<item>
		<title>A thought</title>
		<description><![CDATA[The nice thing about lies is that they do not need to be consistent &#8211; that is an obvious disadvantage of truthful statements.
]]></description>
		<link>http://www.edna.narrabilis.com/2006/04/26/plagiarism-related-thought/</link>
			</item>
	<item>
		<title>The pesky TEXINPUTS</title>
		<description><![CDATA[pdflatex was giving this error:

&#160;&#160; Error: pdflatex (file pdftex.cfg): cannot open config file
&#160;&#160;==&#62; Fatal error occurred, the output PDF file is not finished!



This was on a linux system, with tetex installed from rpms, so was puzzling.
Turns out some users had TEXINPUTS set. As it was set /usr/share/texmf/tex, latex worked ok, but pdflatex bombed. At least [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/04/21/the-pesky-texinputs/</link>
			</item>
	<item>
		<title>Internet Explorer Homepage</title>
		<description><![CDATA[I finally fixed the problem I had with Ineternet Explorer (under Windows XP). It kept resetting the homepage to www.msn.com .  

 Changing the value of the registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\Start Page to point at the correct homepage did the trick. Now if only my bank did not insist on IE&#8230;
]]></description>
		<link>http://www.edna.narrabilis.com/2006/04/10/internet-explorer-homepage/</link>
			</item>
	<item>
		<title>Installing Apache and PHP on Windows</title>
		<description><![CDATA[Yesterday was the first time I installed apache and php on windows! The apache 2 installer worked out of the box, but I had 2 annoyances with php. 


I decided to do the manual install, as recommended. Following all the steps was easy, but to get it to work, I had to make the following [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/03/22/installing-apache-and-php-on-windows/</link>
			</item>
	<item>
		<title>Tutorial: Multiple Keyboards for Accented Characters</title>
		<description><![CDATA[Entering accented or other &#8220;unusual&#8221; characters in a web-form is a recurring problem, which is usually solved by placing a virtual keyboard on the page. I find these annoying as they take up real estate on the page and are not used most of the time. Moreover, I needed more than 1 keyboard (e.g. for [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/03/14/multiple-keyboards-for-accented-characters/</link>
			</item>
	<item>
		<title>doubleclick a radio button to remove selection</title>
		<description><![CDATA[We needed to set up a group of radio buttons so that when any of them is doubleclicked any selection in the group is removed. . The following javascript snippet sets up the function kp() which removes all selections upon a doubleclick:




&#60;script type=&#34;text/javascript&#34;&#62;
&#160;
function kp() {
&#160;&#160;&#160;&#160;var rb = document.getElementsByName(&#039;rb&#039;);
&#160;&#160;&#160;&#160;for( var i=0; i &#60; rb.length; i++) {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/03/09/doubleclick-a-radio-button-to-remove-selection/</link>
			</item>
	<item>
		<title>Spreadsheet_Excel_Writer</title>
		<description><![CDATA[The pear package Spreadsheet_Excel_Writer rocks. I include a file similar to excel.inc file in my scripts, and then send data as needed to the spreadshhet. 
Assume the data is organized in an array $data like this:
$data = array(0=&#62;array(&#34;f0&#34;=&#62;&#34;v00&#34;, &#34;f1&#34;=&#62;&#34;v01&#34;,&#46;..&#34;fn&#34;=&#62;&#34;v0n&#34;),
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1=&#62;array(&#34;f0&#34;=&#62;&#34;v10&#34;, &#34;f1&#34;=&#62;&#34;v11&#34;,&#46;..&#34;fn&#34;=&#62;&#34;v1n&#34;),
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#46;....
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;n=&#62;array(&#34;f0&#34;=&#62;&#34;vn0&#34;, &#34;f1&#34;=&#62;&#34;vn1&#34;,&#46;..&#34;fn&#34;=&#62;&#34;vnn&#34;)
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; );

and we are interested in the fields f0, f1, f2 only. The [...]]]></description>
		<link>http://www.edna.narrabilis.com/2006/03/08/spreadsheet_excel_writer/</link>
			</item>
</channel>
</rss>
