<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Glotzfisch.de</title>
	<atom:link href="http://www.glotzfisch.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glotzfisch.de</link>
	<description>If something does not work out the way you want it to - try something different</description>
	<lastBuildDate>Thu, 18 Feb 2010 14:43:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simulating a Materialised View in mySQL</title>
		<link>http://www.glotzfisch.de/simulating-a-materialised-view-in-mysql/</link>
		<comments>http://www.glotzfisch.de/simulating-a-materialised-view-in-mysql/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 14:37:38 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=116</guid>
		<description><![CDATA[As mySQL does not support materialised views out of the box, I was looking for a work around. The most convincing one I found (because it only switches tables when the new one is readily filled) is:

create your view v_name as needed.
create a table having the same fields as your view and name it e.g. [...]]]></description>
			<content:encoded><![CDATA[<p>As mySQL does not support materialised views out of the box, I was looking for a work around. The most convincing one I found (because it only switches tables when the new one is readily filled) is:</p>
<ol>
<li>create your view <code>v_name</code> as needed.</li>
<li>create a table having the same fields as your view and name it e.g. <code>mview_name</code></li>
<li>create a procedure to refill the table</li>
</ol>
<p>
<pre>
CREATE PROCEDURE update_mview_name ()
BEGIN
  DROP TABLE IF EXISTS new_mview_name;
  CREATE TABLE new_mview_name AS SELECT * from v_name;
  RENAME TABLE mview_name TO old_mview_name, new_mview_name TO mview_name;
  DROP TABLE IF EXISTS old_mview_name;
END;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/simulating-a-materialised-view-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Die am besten versteckte Word Option</title>
		<link>http://www.glotzfisch.de/die-am-besten-versteckte-word-option/</link>
		<comments>http://www.glotzfisch.de/die-am-besten-versteckte-word-option/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 13:40:41 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[MS Office]]></category>
		<category><![CDATA[Markups]]></category>
		<category><![CDATA[Word 2007]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/die-am-besten-versteckte-word-option/</guid>
		<description><![CDATA[Beim Überarbeiten von Dokumenten in Word (Office 2007) wähle ich gerne die Ansicht &#8220;Endgültige Version enthält Markups&#8221; (warum eigentlich &#8220;enthält&#8221;?). Bei den Markups in der drop-down Liste darunter blende ich aber standardmäßig das &#8220;Format&#8221; aus. Blöd ist nun, dass es sich ständig von selbst wieder einschaltet &#8211; dafür genügt schon das Umschalten in die Gliederungsansicht [...]]]></description>
			<content:encoded><![CDATA[<p>Beim Überarbeiten von Dokumenten in Word (Office 2007) wähle ich gerne die Ansicht &#8220;Endgültige Version enthält Markups&#8221; (warum eigentlich &#8220;enthält&#8221;?). Bei den Markups in der drop-down Liste darunter blende ich aber standardmäßig das &#8220;Format&#8221; aus. Blöd ist nun, dass es sich ständig von selbst wieder einschaltet &#8211; dafür genügt schon das Umschalten in die Gliederungsansicht und das darauf folgende Schließen derselben. (Dabei verwandelt sich übrigens die Dokumentstruktur zunächst in eine Miniaturansicht und verschwindet dann ganz, falls jemand dafür eine Lösung weiß, würde ich mich auch sehr freuen.)<br />
Nun bin ich quasi per Goofall über die Lösung zumindest des ersten Problems gefallen: Man kann Word sehr wohl sagen, dass es die einmal gewählten Markupeinstellungen beibehalten soll. (Erinnert mich allerdings irgendwie an Douglas Adams: </p>
<p><em>&#8220;I eventually had to go down to the cellar to find them.&#8221;<br />
&#8220;That&#8217;s the Display Department.&#8221;<br />
&#8220;With a torch.&#8221;<br />
&#8220;The lights had probably gone.&#8221;<br />
&#8220;So had the stairs.&#8221;<br />
&#8220;But you found the plans, didn&#8217;t you?&#8221;<br />
&#8220;Oh yes, they were &#8216;on display&#8217; in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying &#8216;Beware of the leopard.&#8217;&#8221;<br />
</em></p>
<p>Also. Die gesuchte Einstellung (ich will es mal nicht noch spannender machen) findet sich hier:<br />
Auf den lustigen Knubbel oben links klicken und dann in dem sich öffnenden Fenster unten auf &#8220;Word-Optionen&#8221; (schon schön, wo sie die versteckt haben, aber das war der einfache Teil, jetzt kommts:), jetzt auf &#8220;Vertrauensstellungscenter&#8221; klicken (hä? &#8211; ja!). Keine Angst vor dem Satz &#8220;Es wird davon abgeraten, diese Einstellungen zu ändern&#8221; haben!!</p>
<p style="text-align:center; font-size:2em;"><em>KEINE PANIK!</em></p>
<p>und mutig auf &#8220;Einstellungen für das Vertrauensstellungscenter&#8230;&#8221; klicken. Hier findet sich nun unter der lapidaren Überschrift &#8220;Dokumentspezifische Eigenschaften&#8221; die Option &#8220;Ausgeblendete Markups beim Öffnen oder Speichern anzeigen&#8221; (was um alles in der Welt MACHT DIE DA???), die standardmäßig eingeschaltet ist. Einfach ausschalten, speichern und sich freuen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/die-am-besten-versteckte-word-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Search bar hijacked my Firefox</title>
		<link>http://www.glotzfisch.de/a-search-bar-hijacked-my-firefox/</link>
		<comments>http://www.glotzfisch.de/a-search-bar-hijacked-my-firefox/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 13:35:38 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=107</guid>
		<description><![CDATA[Very annoying. Even though I uninstalled it, it remained &#8220;somehow&#8221; there. When I typed something into the URL field and expected being taken to Google, it still took me to that unwanted other party&#8230;
The solution: go to about:config, search for keyword.url and right mouse-click &#8220;Reset&#8221;. tadaaa.
]]></description>
			<content:encoded><![CDATA[<p>Very annoying. Even though I uninstalled it, it remained &#8220;somehow&#8221; there. When I typed something into the URL field and expected being taken to Google, it still took me to that unwanted other party&#8230;<br />
The solution: go to <code>about:config</code>, search for <code>keyword.url</code> and right mouse-click &#8220;Reset&#8221;. tadaaa.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/a-search-bar-hijacked-my-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Sky &gt; Add KML Overlays</title>
		<link>http://www.glotzfisch.de/google-sky-add-kml-overlays/</link>
		<comments>http://www.glotzfisch.de/google-sky-add-kml-overlays/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 16:17:28 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[Geotagging]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[overlay]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=100</guid>
		<description><![CDATA[Nach etwas Frickelei läuft es jetzt halbwegs rund:
http://www.eso.org/2007/test/google/index2.html
see Attachment
]]></description>
			<content:encoded><![CDATA[<p>Nach etwas Frickelei läuft es jetzt halbwegs rund:<br />
<a href="http://www.eso.org/2007/test/google/index2.html" target="_blank">http://www.eso.org/2007/test/google/index2.html</a></p>
<p>see <a href="http://www.glotzfisch.de/?attachment_id=103">Attachment</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/google-sky-add-kml-overlays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP &gt; Show DB info in Admin Dashboard</title>
		<link>http://www.glotzfisch.de/wp-show-db-info-in-admin-dashboard/</link>
		<comments>http://www.glotzfisch.de/wp-show-db-info-in-admin-dashboard/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:12:48 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=96</guid>
		<description><![CDATA[add following lines to dashboard.php

	/* gz show database */
        GLOBAL $table_prefix;
	echo "&#60;p&#62;&#60;b&#62;Database:&#60;/b&#62; ".DB_USER." with prefix \"".$table_prefix."\" on ".DB_HOST."&#60;/p&#62;";

]]></description>
			<content:encoded><![CDATA[<p>add following lines to dashboard.php</p>
<pre>
	/* gz show database */
        GLOBAL $table_prefix;
	echo "&lt;p&gt;&lt;b&gt;Database:&lt;/b&gt; ".DB_USER." with prefix \"".$table_prefix."\" on ".DB_HOST."&lt;/p&gt;";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/wp-show-db-info-in-admin-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix &gt; run command in the background</title>
		<link>http://www.glotzfisch.de/unix-run-command-in-the-background/</link>
		<comments>http://www.glotzfisch.de/unix-run-command-in-the-background/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 07:53:52 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[background]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/unix-run-command-in-the-background/</guid>
		<description><![CDATA[nohup is a Unix command that is used to run another command while suppressing the action of the HUP (hangup) signal, enabling the command to keep running after the user who issues the command has logged out. It is most often used to run commands in the background as daemons. Output that would normally go [...]]]></description>
			<content:encoded><![CDATA[<p>nohup is a Unix command that is used to run another command while suppressing the action of the HUP (hangup) signal, enabling the command to keep running after the user who issues the command has logged out. It is most often used to run commands in the background as daemons. Output that would normally go to the terminal goes to a file called nohup.out if it has not already been redirected. This command is very helpful when we have to run a huge list of batch jobs which are inter-dependent. (from http://en.wikipedia.org/wiki/Nohup)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/unix-run-command-in-the-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Wrapper to avoid wrong clearing</title>
		<link>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/</link>
		<comments>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 16:46:51 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=91</guid>
		<description><![CDATA[to avoid long empty spaces when clearing a float environment, wrap the content into a div with the following properties:

.wrapper {
   position:relative;
   overflow: hidden;
 }
]]></description>
			<content:encoded><![CDATA[<p>to avoid long empty spaces when clearing a float environment, wrap the content into a div with the following properties:</p>
<pre>
.wrapper {
   position:relative;
   overflow: hidden;
 }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TWiki &gt; Show only selected Webs in the sidebar (WebLeftBar)</title>
		<link>http://www.glotzfisch.de/twiki-show-only-selected-webs-in-the-sidebar-webleftbar/</link>
		<comments>http://www.glotzfisch.de/twiki-show-only-selected-webs-in-the-sidebar-webleftbar/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 09:08:52 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[WikiWiki]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=81</guid>
		<description><![CDATA[

%WEBLIST{"   * &#60;a href=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$name/%HOMETOPIC%\"&#62;
&#60;span style=\"background-color: %$markerVAR{\"WEBBGCOLOR\" web=$qname }$marker%;
border:1px solid white;\"&#62;
&#38;nbsp;&#38;nbsp;&#38;nbsp;&#60;/span&#62;&#160;&#60;b&#62;$name&#60;/b&#62;&#60;/a&#62;" webs="Web2007,EditorialOffice,CMS"}%

]]></description>
			<content:encoded><![CDATA[<p>
<pre>
%WEBLIST{"   * &lt;a href=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$name/%HOMETOPIC%\"&gt;
&lt;span style=\"background-color: %$markerVAR{\"WEBBGCOLOR\" web=$qname }$marker%;
border:1px solid white;\"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&nbsp;&lt;b&gt;$name&lt;/b&gt;&lt;/a&gt;" webs="Web2007,EditorialOffice,CMS"}%
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/twiki-show-only-selected-webs-in-the-sidebar-webleftbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TWiki &gt; link to a previous revision</title>
		<link>http://www.glotzfisch.de/twiki-link-to-a-previous-revision/</link>
		<comments>http://www.glotzfisch.de/twiki-link-to-a-previous-revision/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 09:59:39 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[WikiWiki]]></category>
		<category><![CDATA[TWiki]]></category>
		<category><![CDATA[Wiki]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=76</guid>
		<description><![CDATA[[[%SCRIPTURL{view}%/%WEB%/%TOPIC%?rev=33][Revision 33]]
]]></description>
			<content:encoded><![CDATA[<p><code>[[%SCRIPTURL{view}%/%WEB%/%TOPIC%?rev=33][Revision 33]]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/twiki-link-to-a-previous-revision/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tool Tips of the Day</title>
		<link>http://www.glotzfisch.de/tool-tips-of-the-day/</link>
		<comments>http://www.glotzfisch.de/tool-tips-of-the-day/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 09:17:10 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=71</guid>
		<description><![CDATA[just a short list of programs I enjoy using day by day&#8230; (I list them here, so I won&#8217;t forget them :-))

Time Tracking: Rachota
XML Editing: XML Marker
Mind Mapping: FreeMind
Project Management: Gantt Project
Volume Encryption: TrueCrypt
Password Storage: KeePass
Syncing: Sync-Tool (only Windows)
Editing: Emacs ;-), Aquamax,
MySQL: MySQL Front

]]></description>
			<content:encoded><![CDATA[<p>just a short list of programs I enjoy using day by day&#8230; (I list them here, so I won&#8217;t forget them :-))</p>
<ul>
<li>Time Tracking: <a href="http://rachota.sourceforge.net" target="_blank">Rachota</a></li>
<li>XML Editing: <a href="http://symbolclick.com/" target="_blank">XML Marker</a></li>
<li>Mind Mapping: <a href="http://freemind.sourceforge.net" target="_blank">FreeMind</a></li>
<li>Project Management: <a href="http://ganttproject.biz/" target="_blank">Gantt Project</a></li>
<li>Volume Encryption: <a href="http://www.truecrypt.org" target="_blank">TrueCrypt</a></li>
<li>Password Storage: <a href="http://keepass.info/" target="_blank">KeePass</a></li>
<li>Syncing: <a href="http://www.onlinesync.de/" target="_blank">Sync-Tool</a> (only Windows)</li>
<li>Editing: Emacs ;-), Aquamax,</li>
<li>MySQL: <a href="http://www.mysqlfront.de/" target="_blank">MySQL Front</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/tool-tips-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EEEmacs</title>
		<link>http://www.glotzfisch.de/eeemacs/</link>
		<comments>http://www.glotzfisch.de/eeemacs/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 11:02:13 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/eeemacs/</guid>
		<description><![CDATA[Hi Ho,
ich habe ein neues Spielzeug!
und beim Installieren habe ich gleich noch folgende nützliche Dinge herausgefunden:

.emacs:

Um Dateien mit emacs zu verknüpfen:

associate them with emacsclientw.exe
set the environment variable ALTERNATE_EDITOR to runemacs.exe (make sure path to emacs bin dir is in Path variable)


 Add this to .emacs:
(server-start)
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)

gnuclientw brauche ich also nicht mehr&#8230; (remove the whole gnuclient [...]]]></description>
			<content:encoded><![CDATA[<p>Hi Ho,</p>
<p>ich habe ein neues <a href="http://eeepc.asus.com/global/901.htm" target="_blank">Spielzeug</a>!</p>
<p>und beim Installieren habe ich gleich noch folgende nützliche Dinge herausgefunden:</p>
<ul>
<li>.emacs:
<ul>
<li>Um Dateien mit emacs zu verknüpfen:
<ul>
<li>associate them with <code>emacsclientw.exe</code></li>
<li>set the environment variable <code>ALTERNATE_EDITOR</code> to <code>runemacs.exe</code> (make sure path to emacs bin dir is in Path variable)</li>
</ul>
</li>
<li> Add this to .emacs:
<pre>(server-start)
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)</pre>
</li>
<li>gnuclientw brauche ich also nicht mehr&#8230; (remove the whole gnuclient stuff); reload emacs (Vista: this application wants to act as a server&#8230; soso)</li>
</ul>
</li>
</ul>
<p>Links:</p>
<ul>
<li><a href="http://www.gnu.org/software/emacs/windows/Installing-Emacs.html#Installing-Emacs" target="_blank">http://www.gnu.org/software/emacs/windows/Installing-Emacs.html#Installing-Emacs</a></li>
<li><a href="http://shreevatsa.wordpress.com/2007/01/06/using-emacsclient/" target="_blank">http://shreevatsa.wordpress.com/2007/01/06/using-emacsclient/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/eeemacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS &gt; Transparent Background</title>
		<link>http://www.glotzfisch.de/transparent-background/</link>
		<comments>http://www.glotzfisch.de/transparent-background/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 06:43:30 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/transparent-background/</guid>
		<description><![CDATA[
filter: alpha(opacity=70);
-moz-opacity:0.70;
opacity:0.70;
]]></description>
			<content:encoded><![CDATA[<pre>
filter: alpha(opacity=70);
-moz-opacity:0.70;
opacity:0.70;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/transparent-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows &gt; Unload DLLs</title>
		<link>http://www.glotzfisch.de/windows-unload-dlls/</link>
		<comments>http://www.glotzfisch.de/windows-unload-dlls/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 06:44:41 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Windows (XP)]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/windows-unload-dlls/</guid>
		<description><![CDATA[Windows does not unload dll files a program has used after it has been closed, to speed up a possible restart of the program.
 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer
 Add the DWORD value named:
AlwaysUnloadDLL
 and set it to 1
]]></description>
			<content:encoded><![CDATA[<p>Windows does not unload dll files a program has used after it has been closed, to speed up a possible restart of the program.
<pre> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer</pre>
<p> Add the DWORD value named:
<pre>AlwaysUnloadDLL</pre>
<p> and set it to 1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/windows-unload-dlls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &gt; Sort array by keys</title>
		<link>http://www.glotzfisch.de/php-sort-array-by-keys/</link>
		<comments>http://www.glotzfisch.de/php-sort-array-by-keys/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 12:42:55 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/php-sort-array-by-keys/</guid>
		<description><![CDATA[ignoring capitalisation:
uksort($tagList, 'strnatcasecmp');
]]></description>
			<content:encoded><![CDATA[<p>ignoring capitalisation:</p>
<pre>uksort($tagList, 'strnatcasecmp');</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/php-sort-array-by-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle &gt; Write logfile</title>
		<link>http://www.glotzfisch.de/oracle-write-logfile/</link>
		<comments>http://www.glotzfisch.de/oracle-write-logfile/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 14:21:48 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/oracle-write-logfile/</guid>
		<description><![CDATA[CREATE OR REPLACE PROCEDURE write_log (
   error_id IN NUMBER
   ,msg     IN VARCHAR2
)
IS
PRAGMA AUTONOMOUS_TRANSACTION;

BEGIN
  insert into zzz_errors (timestamp, error_code, message) VALUES (SYSDATE,error_id,msg);
  commit;
END write_log;
]]></description>
			<content:encoded><![CDATA[<pre>CREATE OR REPLACE PROCEDURE write_log (
   error_id IN NUMBER
   ,msg     IN VARCHAR2
)
IS
PRAGMA AUTONOMOUS_TRANSACTION;

BEGIN
  insert into zzz_errors (timestamp, error_code, message) VALUES (SYSDATE,error_id,msg);
  commit;
END write_log;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/oracle-write-logfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle &gt; Update &#8211; Select</title>
		<link>http://www.glotzfisch.de/oracle-update-select/</link>
		<comments>http://www.glotzfisch.de/oracle-update-select/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 14:19:57 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/oracle-update-select/</guid>
		<description><![CDATA[update (
   SELECT * FROM temp_dim tableIn,
                 temp_dates dates1,
	         temp_dates dates2
   WHERE dates1.ID = tableIn.VALID_FROM
   AND   dates2.ID = tableIn.valid_to
   AND SYSDATE [...]]]></description>
			<content:encoded><![CDATA[<pre>update (
   SELECT * FROM temp_dim tableIn,
                 temp_dates dates1,
	         temp_dates dates2
   WHERE dates1.ID = tableIn.VALID_FROM
   AND   dates2.ID = tableIn.valid_to
   AND SYSDATE BETWEEN dates1.FULL_DATE AND dates2.full_date
           )
set valid_flag = 1</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/oracle-update-select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clueless Explosions</title>
		<link>http://www.glotzfisch.de/clueless-explosions/</link>
		<comments>http://www.glotzfisch.de/clueless-explosions/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 22:18:25 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/clueless-explosions/</guid>
		<description><![CDATA[As Ruud is not posting any new Clueless Explosions at the moment, I guess we will have to find a way to survive without&#8230; at least for the time being. I hope he&#8217;s fine and just does not find time to pursue the issue.
 This is a follow-up to the forum there.
I&#8217;ve created an Clueless [...]]]></description>
			<content:encoded><![CDATA[<p>As Ruud is not posting any new <a href="http://www.sudocue.net/explosion.php" target="_blank">Clueless Explosions</a> at the moment, I guess we will have to find a way to survive without&#8230; at least for the time being. I hope he&#8217;s fine and just does not find time to pursue the issue.<br />
<a href="http://www.sudocue.net/forum/viewtopic.php?t=914&amp;postdays=0&amp;postorder=asc&amp;start=15"> This is a follow-up to the forum there.</a></p>
<p>I&#8217;ve created an <a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/explosion_vorlage.xls" title="Clueless Explosion Template">Clueless Explosion Template</a> in Excel that supported me in solving the Clueless Sudokus and I&#8217;d like to share this a bit&#8230;</p>
<h2>1st step: populate the template:</h2>
<p>I used to copy the lines under the explosion and then just hit Ctrl-i in my worksheet &#8220;temp&#8221; which filled the sudokus in the sheet &#8220;new&#8221;. Ctrl-i called a macro that itself called again several other macros:  <a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/initiate.txt" title="initiateClueless">initiateClueless</a></p>
<p>the called macros are:</p>
<ul>
<li><a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/splitup.txt" title="splitup">splitup</a></li>
<li><a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/makeclueless.txt" title="MakeClueless">MakeClueless</a></li>
<li><a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/copyclueless.txt" title="copyClueless">copyClueless</a></li>
</ul>
<h2>Solving The Explosion</h2>
<p>This gave me the current clueless on the &#8220;new&#8221; sheet which I copied to a new spreadsheet, renamed it to the current number and duplicated it so that the new sheet read &#8220;xx (1)&#8221;. I used this one for highlighting the 1, by typing &#8220;1&#8243; into BK/BL-23/24.<br />
So all 1&#8217;s in the sheet get highlighted.<br />
now I can start solving the single Sudokus. The combinated one on the right gets filled (but not highlighted) automatically.</p>
<p>I then used the macro (I store them in my personal workbook so they are available for every new file I create)  &#8220;<a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/yellow.txt" title="yellow">yellow</a>&#8221; to block all cells where 1 cannot be in. When I finished 1, I copied the sheet (Ctrl-Click-Drag to right) to create a &#8220;xx (2)&#8221; sheet in the file.<br />
Then, the Macro &#8220;<a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/clear.txt" title="clear">clear</a>&#8221; clears all formatting from the sheet and leaves me in the field BK/BL-23/24 to put in No. 2 now&#8230;</p>
<p>This goes on until I have 10 Sheets in my file, starting with xx and ending with xx (9).</p>
<p>Now, the next macro comes in: <a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/copytonext.txt" title="Ctrl-d">copytonext (Ctrl-d)</a> copies all cell values in the range of the creating sudokus to the next sheet in the file. (As 9 does not have a nex one, I get an error, which does not matter, the cells get copied anyway&#8230; go right to the first sheet (xx) and paste everything into cell B1).<br />
then do Ctrl-d again and the cell values get copied into the already formatted sheet for No. 1 etc&#8230;</p>
<p>Hm, I&#8217;m not sure if this is really understandable&#8230; I&#8217;ve been using it for so long, it&#8217;s just like eating. You just know what you do.</p>
<p><a href="http://www.glotzfisch.de/wp-content/uploads/2008/03/ex81.xls" title="Here’s a semi finished 81 Clueless Explosion">Here’s a semi finished 81 Clueless Explosion</a>, maybe that helps in understanding what I mean.<br />
I think this might be not the most efficient way to do it as it takes me at least 4 hours to solve one of these puzzles and I see that there have been a lot of people submitting before me&#8230; but at least it is fun and it helped me to keep track.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/clueless-explosions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Umlaute to UTF-8</title>
		<link>http://www.glotzfisch.de/convert-umlaute-to-utf-8/</link>
		<comments>http://www.glotzfisch.de/convert-umlaute-to-utf-8/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 08:52:19 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/convert-umlaute-to-utf-8/</guid>
		<description><![CDATA[
foreach ($aline as $val) {
$bline[] = iconv("ISO-8859-1","UTF-8",$val);
}

]]></description>
			<content:encoded><![CDATA[<pre>
foreach ($aline as $val) {
$bline[] = iconv("ISO-8859-1","UTF-8",$val);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/convert-umlaute-to-utf-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Checkbox Group in PHP</title>
		<link>http://www.glotzfisch.de/a-checkbox-group-in-php/</link>
		<comments>http://www.glotzfisch.de/a-checkbox-group-in-php/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 13:13:18 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/a-checkbox-group-in-php/</guid>
		<description><![CDATA[Und ich dachte, das ginge gar nicht&#8230; geht aber doch.
Wenn die Checkboxen alle denselben Namen haben, überschreibt die zweite die erste etc. Aber in PHP gibts dafür ja Arrays. Und man glaubt es kaum, man kann den Namen der Checkbox als Array definieren:

&#60;input type="checkbox" name="types[]" value="html"&#62; html&#60;br&#62;
&#60;input type="checkbox" name="types[]" value="php"&#62; php&#60;br&#62;
&#60;input type="checkbox" name="types[]" value="jpg"&#62; jpg&#60;br&#62;
und [...]]]></description>
			<content:encoded><![CDATA[<p>Und ich dachte, das ginge gar nicht&#8230; geht aber doch.</p>
<p>Wenn die Checkboxen alle denselben Namen haben, überschreibt die zweite die erste etc. Aber in PHP gibts dafür ja Arrays. Und man glaubt es kaum, man kann den Namen der Checkbox als Array definieren:</p>
<pre>
&lt;input type="checkbox" name="types[]" value="html"&gt; html&lt;br&gt;
&lt;input type="checkbox" name="types[]" value="php"&gt; php&lt;br&gt;
&lt;input type="checkbox" name="types[]" value="jpg"&gt; jpg&lt;br&gt;</pre>
<p>und dann ist:</p>
<pre>$a_types = ($_REQUEST["types"]);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/a-checkbox-group-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP &gt; Static Page and latest Posts</title>
		<link>http://www.glotzfisch.de/wp-static-page-and-latest-posts/</link>
		<comments>http://www.glotzfisch.de/wp-static-page-and-latest-posts/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 10:23:29 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/wp-static-page-and-latest-posts/</guid>
		<description><![CDATA[I wanted to have a static home page top area and the latest posts below. Somehow, Wordpress does not seem to have that by default. So here is my workaround:
I created a new page template in my theme folder, mytemplate.php (see code below).
Then I created a page named SiteHome using this template and another page [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to have a static home page top area and the latest posts below. Somehow, Wordpress does not seem to have that by default. So here is my workaround:<br />
I created a new page template in my theme folder, <code>mytemplate.php</code> (see code below).<br />
Then I created a page named SiteHome using this template and another page with the default template called &#8220;Home&#8221; that is included by the template. Voilà.<br />
As I don&#8217;t list the pages in the sidebar, they don&#8217;t appear separately. But if you do, you could also include a specific post into the &#8220;static header&#8221;.</p>
<pre>
&lt;?php
/*
Template Name: MEINZTop
*/
?&gt;

&lt;?php get_header(); ?&gt;
&lt;div id="content" class="narrowcolumn"&gt;

&lt;?php
$mypage = get_page_by_title('Home');
# print_r($mypage);
echo "&lt;h1&gt;".$mypage-&gt;post_title."&lt;/h1&gt;";
echo "&lt;p&gt;".$mypage-&gt;post_content."&lt;/p&gt;";
?&gt;

&lt;h1&gt;Latest Posts&lt;/h1&gt;
&lt;?php
$lastposts = get_posts('numberposts=3');
foreach($lastposts as $post) :
setup_postdata($post);
?&gt;
&lt;h3&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" id="post-&lt;?php the_ID(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;small&gt;&lt;?php the_time('l, F jS, Y') ?&gt;&lt;/small&gt;

&lt;?php #the_excerpt(); ?&gt;
&lt;div class="entry"&gt;
&lt;?php
echo substr(get_the_content(),0,256);
if (substr(get_the_content(),256)) {
echo "&lt;br&gt;&lt;a href=\"";
the_permalink();
echo "\"&gt;[...more...]&lt;/a&gt;";
}
?&gt;
&lt;/div&gt;

&lt;?php endforeach; ?&gt;

&lt;/div&gt;
&lt;/div&gt;&lt;!-- page --&gt;

&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/wp-static-page-and-latest-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
