<?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>Rainer Bendig &#187; Rainer Bendig</title>
	<atom:link href="http://mrbendig.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://mrbendig.com</link>
	<description>Some stuff about developing, the web and social media</description>
	<lastBuildDate>Thu, 02 Sep 2010 21:51:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>

   <image>
    <title>Rainer Bendig</title>
    <url>http://1.gravatar.com/avatar/7ce1993be3038455e79d29f6495ceaef?s=48&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536</url>
    <link>http://mrbendig.com</link>
   </image>
		<item>
		<title>PHP-Sessions und Subdomains</title>
		<link>http://mrbendig.com/2010/09/php-sessions-und-subdomains/</link>
		<comments>http://mrbendig.com/2010/09/php-sessions-und-subdomains/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 21:51:28 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sessions]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=322</guid>
		<description><![CDATA[<p>Wenn man PHP-Sessions für alle Subdomains einer Domain aktivieren will, muss man in der php.ini session.cookie_domain = .mydomain.com einstellen, oder alternativ sofern möglich im PHP-Script ini_set("session.cookie_domain",... <a href="http://mrbendig.com/2010/09/php-sessions-und-subdomains/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Wenn man PHP-Sessions für alle Subdomains einer Domain aktivieren will, muss man in der php.ini</p>
<pre>session.cookie_domain = .mydomain.com</pre>
<p>einstellen, oder alternativ sofern möglich im PHP-Script</p>
<pre>ini_set("session.cookie_domain", ".mydomain.com");</pre>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/09/php-sessions-und-subdomains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modline für Acer V223HQ unter Ubuntu 9.10</title>
		<link>http://mrbendig.com/2010/04/modline-fur-acer-v223hq-unter-ubuntu-9-10/</link>
		<comments>http://mrbendig.com/2010/04/modline-fur-acer-v223hq-unter-ubuntu-9-10/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 20:47:47 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[modline]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[v223hq]]></category>
		<category><![CDATA[x.org]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=315</guid>
		<description><![CDATA[<p>Um einen Acer V223 HQ unter x.org zu betreiben sind folgende Einträge in der "Monitor"-Section in der xorg.conf notwendig: HorizSync 64.0 - 74.0 VertRefresh 57.0 - 67.0 Modeline "1920x1080" 187.00 1920 2016 2240 2672 1080 1080 1083... <a href="http://mrbendig.com/2010/04/modline-fur-acer-v223hq-unter-ubuntu-9-10/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Um einen Acer V223 HQ unter x.org zu betreiben sind folgende Einträge in der &#8220;Monitor&#8221;-Section in der xorg.conf notwendig:</p>
<pre>HorizSync 64.0 - 74.0
VertRefresh 57.0 - 67.0
Modeline "1920x1080" 187.00  1920 2016 2240 2672  1080 1080 1083 1121</pre>
<p>danach gdm/kdm/whatever neu starten und glücklich sein, ohne flackern.</p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/04/modline-fur-acer-v223hq-unter-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semi-crash of a Linksys WAG54G2</title>
		<link>http://mrbendig.com/2010/03/semi-crash-of-a-linksys-wag54g2/</link>
		<comments>http://mrbendig.com/2010/03/semi-crash-of-a-linksys-wag54g2/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 03:11:00 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[WAG54G2]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=312</guid>
		<description><![CDATA[<p>i am using a Linksys WAG54G2 (Revision B) for connecting with the internet. After an uptime of 17 hours and ~30 Minutes the device crashs. First it didn't reconnect after a 24 hour disconnect of my ISP (Deutsche Telekom AG aka T-Online Germany) and... <a href="http://mrbendig.com/2010/03/semi-crash-of-a-linksys-wag54g2/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>i am using a Linksys <a href="http://www.linksysbycisco.com/DE/de/support/WAG54G2">WAG54G2</a> (Revision B) for connecting with the internet. After an uptime of 17 hours and ~30 Minutes the device crashs. First it didn&#8217;t reconnect after a 24 hour disconnect of my ISP (Deutsche Telekom AG aka <a href="http://www.t-online.de/">T-Online Germany</a>) and later i found out, that the webinterface also crashed. Currently I am using a timer for rebooting the router after 23h and 59 minutes, but that&#8217;s only a workaround, it should run 24/7 ;(</p>
<p><a href="http://www.flickr.com/photos/mrbendig/4448811281/"><img class="alignnone" title="Crashed WAG54G2" src="http://farm3.static.flickr.com/2700/4448811281_2e6ec2ba57_m.jpg" alt="" width="240" height="170" /></a></p>
<p>As you see, the page is only semi-rendered what&#8217;s really bad.</p>
<p><a href="http://www.flickr.com/photos/mrbendig/4448811423/"><img class="alignnone" title="Crashed WAG54G2" src="http://farm5.static.flickr.com/4041/4448811423_7598e7eb3e_m.jpg" alt="" width="240" height="170" /></a></p>
<p>Even the status screen doesn&#8217;t show the current IP-Address, or gateway. It isn&#8217;t also possible to disconnect the router and reconnecting it.</p>
<p>If the device is semi-crashed, internet traffic, wireless lan traffic and ethernet traffic is going through.</p>
<p>Currently i am using firmware version V1.00.19, it was also broken with V1.00.15,  V1.00.16 and also V1.00.17. all upgrades didn&#8217;t fix this error. What&#8217;s wrong with the device?</p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/03/semi-crash-of-a-linksys-wag54g2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remake: Medikamentenplan</title>
		<link>http://mrbendig.com/2010/03/remake-medikamentenplan/</link>
		<comments>http://mrbendig.com/2010/03/remake-medikamentenplan/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 14:42:28 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[docx]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[medikamente]]></category>
		<category><![CDATA[medikamentenplan]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=308</guid>
		<description><![CDATA[<p>Nach dem großen Zuspruch auf meinen Medikamentenplan (Gemessen an den Hits von Suchmaschinen), den ich zum Download bereitgestellt habe, ist es meines Erachtens an der Zeit nach einem Remake. Daher nun meine Frage: Was fehlt euch an dem... <a href="http://mrbendig.com/2010/03/remake-medikamentenplan/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Nach dem großen Zuspruch auf meinen <a href="/2009/10/medikamentenplan-zum-download/">Medikamentenplan</a> (Gemessen an den Hits von Suchmaschinen), den ich <a href="/2009/10/medikamentenplan-zum-download/">zum Download bereitgestellt habe</a>, ist es meines Erachtens an der Zeit nach einem Remake. Daher nun meine Frage:</p>
<ul>
<li><strong>Was fehlt</strong> euch an dem Medikamentenplan?</li>
<li>Was kann man <strong>verbessern</strong>?</li>
<li><strong>Wo </strong>wird er eingesetzt?</li>
<li>Soll er in <strong>anderen Dateiformaten</strong> (OpenXML, Publisher, Adobe Indesign, &#8230;) bereit gestellt werden?</li>
</ul>
<p>Gerne auch via E-Mail an <a href="mailto:mrbendig@mrbendig.com">mrbendig@mrbendig.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/03/remake-medikamentenplan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Databasefiles</title>
		<link>http://mrbendig.com/2010/03/moving-databasefiles/</link>
		<comments>http://mrbendig.com/2010/03/moving-databasefiles/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 13:40:29 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Datenbanken]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[move files]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql2000]]></category>
		<category><![CDATA[sql2005]]></category>
		<category><![CDATA[sql2008]]></category>
		<category><![CDATA[sql2008 r2]]></category>
		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=304</guid>
		<description><![CDATA[<p>If you want to move your databasefiles on a Microsoft SQL 2000, 2005 or 2008 server, you can use the following steps: (Optional) You should first backup your database, and then your current database files. (Optional) Get a list of all files... <a href="http://mrbendig.com/2010/03/moving-databasefiles/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>If you want to move your databasefiles on a Microsoft SQL 2000, 2005 or 2008 server, you can use the following steps:</p>
<ol>
<li>(Optional) You should first backup your database, and then your current database files. </li>
<li>(Optional) Get a list of all files in use by a database<br />
<code>Use YourDatabase<br />
Go<br />
Exec sp_helpfile</code></li>
<li>Detach the database, to prevent other users to use it. <em>You cannot detach a database that&#8217;s in use, so you want maybe to restart the mssqlserver &#8211; service, or just drop all connections, otherwise, you will get an error.</em><br />
<code>Exec sp_detach_db 'YourDatabase'</code></li>
<li>Move your databasefiles to the new destinations. Remember: The rowfiles needn&#8217;t to be in the same folder like the log-files. For perfomance issues, move the log files to an other harddisk.</li>
<li>Now reattach the database with the databasefiles. You need to provide the filename, with the drive and the folder structure. You need to provide every file, even those which are not moved or renamed.<br />
<code>Exec sp_attach_db 'YourDatabase',<br />
    'D:\NewSqlHome\Data\YourDatabase_Data.mdf',<br />
    'D:\NewSqlHome\Logs\YourDatabase_Log.ldf'</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/03/moving-databasefiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wrapper für Zend_Log</title>
		<link>http://mrbendig.com/2010/03/wrapper-fur-zend_log/</link>
		<comments>http://mrbendig.com/2010/03/wrapper-fur-zend_log/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 09:28:45 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[arbeit]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wrapper]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[Zend_Log]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=288</guid>
		<description><![CDATA[<p>German Text, english text below. Für ein Projekt war es notwendig auf das Zend Framework zurückzugreifen. Ansich ist das ja keine schlechte Sache, wenn Zend_Log mir nicht zuwenig Informationen liefern würde. Daher habe ich einen Wrapper für... <a href="http://mrbendig.com/2010/03/wrapper-fur-zend_log/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>German Text, english text below.</strong><br />
Für ein Projekt war es notwendig auf das Zend Framework zurückzugreifen. Ansich ist das ja keine schlechte Sache, wenn Zend_Log mir nicht zuwenig Informationen liefern würde. Daher habe ich einen Wrapper für Zend_Log geschrieben. Der Wrapper besorgt zusätzlich noch zu den normalen Log-Nachrichten benutzerdefinierte Informationen (Zum Beispiel den Browser, die IP, die akzeptierten Sprache des Clients. Dies geschieht entweder bei bestimmten ErrorLeveln, oder auf Wunsch. Natürlich kann diese Funktionalität auch abgeschaltet werden.</p>
<p>Da es sich um ein Kundenprojekt handelt, werden auch interne Infos über den Benutzer geholt, wenn dieser eingeloggt ist  (getInternalUserInformations) . Solltet ihr den Wrapper einsetzen, würde es Sinn machen diese Funktion anzupassen, oder deren Inhalt, bzw Aufruf auszukommentieren (in Zeile 202).</p>
<p><strong>English text, german text above.</strong><br />
For one of my projects i needed the Zend Framework. Of course, that&#8217;s not a bad thing at all, but Zend_Log sends much too less informations to my logfiles. That&#8217;s the reason why i wrote this wrapper for Zend_Log. The Wrapper provides information about the current visitor (like browser, ip,  accapted languages etc). This happens automaticly for some error levels, or at your will. Of course, you can disable it, if you don&#8217;t need that informations.</p>
<p>Because it&#8217;s a customer projects, the wrapper class also gets some project relevant informations of a current session, you should comment out the call of getInternalUserInformations at line 202 if you don&#8217;t need it.</p>
<p><span id="more-288"></span></p>
<pre class="brush: php">
 &lt;?php
/*********************************************************************
 * Wrapper for Zend_Log
 *
 * Extends Zend_Log with some nice functions, e.g. fetching some
 * informations about the user, user agent, ip, etc, but also
 * project internal user informations.
 *
 * (c) 2010 by Hyte Software, Rainer Bendig, www.hyte.eu
 *
 */

class Hyte_Log extends Zend_Log
{
    private $_log;
	protected $_alreadyUp;

    public function log($message, $severity = null) {
        $this-&gt;_log-&gt;log($message, $severity);
    }

    public function getLine()
	{
			return &quot;---------------------------------------------------------------&quot; . PHP_EOL;
	}

	public function getFileInformations()
	{
		//TODO:BUGFIX
			$fileInformationString = &quot;Fileinformation:&quot; . PHP_EOL;
			$fileInformationString .= $this-&gt;getLine();
			$fileInformationString .= &quot;File:     &quot; . basename( __FILE__ ) .PHP_EOL;
			$fileInformationString .= &quot;Url:      http://&quot; . $_SERVER[&#039;SERVER_NAME&#039;] . $_SERVER[&#039;REQUEST_URI&#039;] . PHP_EOL;
			$fileInformationString .= &quot;Line:     &quot; . __LINE__ . PHP_EOL;
			$fileInformationString .= &quot;Function: &quot; . __FUNCTION__ . PHP_EOL;
			$fileInformationString .= &quot;Class:    &quot; . __CLASS__ . PHP_EOL;
			$fileInformationString .= &quot;Method:   &quot; . __METHOD__ . PHP_EOL;
			$fileInformationString .= PHP_EOL;

			return $fileInformationString;
	}

	public function getExternalUserInformations()
    {
		$externalUserInformationsString = PHP_EOL;
		$externalUserInformationsString .= &quot;Userinformation:&quot; . PHP_EOL;
		$externalUserInformationsString .= $this-&gt;getLine();
		$externalUserInformationsString .= &quot;Date:        &quot; . new Zend_Date() . PHP_EOL;
		$externalUserInformationsString .= &quot;Browser:     &quot; . $_SERVER[&#039;HTTP_USER_AGENT&#039;] . PHP_EOL;
		$externalUserInformationsString .= &quot;IP:          &quot; . $_SERVER[&#039;REMOTE_ADDR&#039;] . PHP_EOL;
		$externalUserInformationsString .= &quot;Host:        &quot; . gethostbyaddr( $_SERVER[&#039;REMOTE_ADDR&#039;] ) . PHP_EOL;
		$externalUserInformationsString .= &quot;Referer:     &quot; . $_SERVER[&#039;HTTP_REFERER&#039;] . PHP_EOL;
		$externalUserInformationsString .= &quot;Sprache:     &quot; . $_SERVER[&#039;HTTP_ACCEPT_LANGUAGE&#039;] . PHP_EOL;
		$externalUserInformationsString .= PHP_EOL;

		return $externalUserInformationsString;
    }

    public function getInternalUserInformations()
    {
		$session = Zend_Registry::get(&#039;session&#039;);

		if($session-&gt;userid&gt;0)
		{
			$internalUserInformationsString = PHP_EOL;
			$internalUserInformationsString .= &quot;Userinformation (internal):&quot; . PHP_EOL;
			$internalUserInformationsString .= $this-&gt;getLine();
			$internalUserInformationsString .= &quot;Date:        &quot; . new Zend_Date() . PHP_EOL;
			$internalUserInformationsString .= &quot;ID:          &quot; . $session-&gt;userid . PHP_EOL;
			$internalUserInformationsString .= &quot;Vorname:     &quot; . $session-&gt;userFirstName . PHP_EOL;
			$internalUserInformationsString .= &quot;Name:        &quot; . $session-&gt;userLastName . PHP_EOL;
			$internalUserInformationsString .= &quot;UserSamName: &quot; . $session-&gt;userSamName . PHP_EOL;
			$internalUserInformationsString .= &quot;IsAdmin: 	 &quot; . $session-&gt;userIsAdmin . PHP_EOL;
			$internalUserInformationsString .= PHP_EOL;
    	}
    	else
    	{
    		$internalUserInformationsString .= PHP_EOL;
    		$internalUserInformationsString .= &quot;There are NO internal userinformations (e.g. is only a guest).&quot;;
    		$internalUserInformationsString .= PHP_EOL;
    	}

    	return $internalUserInformationsString;
    }

    public function getMailWriter()
    {
    	$config =  Zend_Registry::get(&#039;config&#039;);

    	$smtpAuth = array(
      		&#039;auth&#039;     =&gt; &#039;login&#039;,
      		&#039;username&#039; =&gt; $config-&gt;logging-&gt;mail-&gt;username,
      		&#039;password&#039; =&gt; $config-&gt;logging-&gt;mail-&gt;password);

    	$transport = new Zend_Mail_Transport_Smtp($config-&gt;logging-&gt;mail-&gt;host,$smtpAuth);

		Zend_Mail::setDefaultTransport($transport);

		$mail = new Zend_Mail(&#039;UTF-8&#039;);

		$mail-&gt;setFrom($config-&gt;logging-&gt;mail-&gt;from)
     		 -&gt;addTo($config-&gt;logging-&gt;mail-&gt;to);

		$mailWriter = new Zend_Log_Writer_Mail($mail);

		$mailWriter-&gt;setSubjectPrependText(
			$config-&gt;logging-&gt;mail-&gt;prefix . get_class($errors-&gt;exception) .&#039;&#039;);

		$mailWriter-&gt;addFilter(Zend_Log::WARN);

		return $mailWriter;
    }

	public function getFileWriter()
	{
		$config =  Zend_Registry::get(&#039;config&#039;);

		$logFormat = date(&#039;r&#039;) . &#039;, &quot;%message%&quot; (%priorityName%)&#039; . PHP_EOL;

		$simpleFormatter = new Zend_Log_Formatter_Simple($logFormat);
      	$fileWriter = new Zend_Log_Writer_Stream($config-&gt;logging-&gt;path);
		$fileWriter-&gt;setFormatter($simpleFormatter); 

		return $fileWriter;
	}    

    public function addWriter($writer)
    {
    	$this-&gt;_log-&gt;addWriter($writer);
    }
    public function checkInit()
    {
    	if(!$this-&gt;alreadyUp)
    	{

			$this-&gt;_log = new Zend_Log($this-&gt;getFileWriter());
			$this-&gt;_log-&gt;addWriter($this-&gt;getMailWriter());

			$this-&gt;_alreadyUp = true;
    	}
    }

	public function doLog($string,$loglevel,$extend=false)
    {
    	$this-&gt;checkInit();

    	$string = $this-&gt;LogFormat($string,$extend);  

    	$this-&gt;_log-&gt;log($string, $loglevel);
    }

    public function Info($string,$extend=false)
    {
    	$this-&gt;doLog($string,Zend_Log::INFO,$extend);
    }

    public function Error($string,$extend=true)
    {
    	$this-&gt;doLog($string,Zend_Log::ERR,$extend);
    }

    public function Warn($string,$extend=true)
    {
    	$this-&gt;doLog($string,Zend_Log::WARN,$extend);
    }

    public function Crit($string,$extend=true)
    {
    	$this-&gt;doLog($string,Zend_Log::CRIT,$extend);
    }

    public function Debug($string,$extend=false)
    {

    	$this-&gt;doLog($string,Zend_Log::DEBUG,$extend);
    }

    public function Notice($string,$extend=false)
    {

    	$this-&gt;doLog($string,Zend_Log::NOTICE,$extend);
    }

    public function logAlert($string,$extend=true)
    {

    	$this-&gt;doLog($string,Zend_Log::ALERT,$extend);
    }
    public function Emerg($string,$extend=true)
    {
		$this-&gt;doLog($string,Zend_Log::EMERG,$extend);
    }

    public function LogFormat($string,$extend)
	{
		if($extend)
		{
			$formattedString = &quot;An Error occured!&quot;;
			$formattedString .= PHP_EOL;
			$formattedString .= $this-&gt;getFileInformations();
			$formattedString .= $this-&gt;getExternalUserInformations();
			$formattedString .= $this-&gt;getInternalUserInformations();
			$formattedString .= &quot;Exception:&quot;. PHP_EOL;
			$formattedString .= $this-&gt;getLine();
			$formattedString .= $string;
			return $formattedString;
		}
		else
		{
			return $string;
		}
	}

}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/03/wrapper-fur-zend_log/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox &#8211; Updates deaktivieren</title>
		<link>http://mrbendig.com/2010/02/firefox-updates-deaktivieren/</link>
		<comments>http://mrbendig.com/2010/02/firefox-updates-deaktivieren/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:13:37 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=282</guid>
		<description><![CDATA[<p>Da ich es immerwieder vergeige und meine automatischen Firefox-Updates nicht deaktiviere, was von Zeit zu Zeit recht nervig sein kann, hier kurz notiert. Bebildert da die Option dazu recht versteckt liegt. Erst über den Klickpfad Extras... <a href="http://mrbendig.com/2010/02/firefox-updates-deaktivieren/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Da ich es immerwieder vergeige und meine automatischen Firefox-Updates nicht deaktiviere, was von Zeit zu Zeit recht nervig sein kann, hier kurz notiert. Bebildert da die Option dazu recht versteckt liegt.</p>
<p><a href="http://mrbendig.com/wp-content/uploads/2010/02/firefox_noupdates1.jpg" rel="lightbox[282]"><img class="aligncenter size-medium wp-image-283" title="firefox_noupdates1" src="http://mrbendig.com/wp-content/uploads/2010/02/firefox_noupdates1-300x289.jpg" alt="" width="300" height="289" /></a></p>
<p>Erst über den Klickpfad Extras (Alt-X bei ausgeblendeter Menübar) &#8211; Einstellungen zum Optionen-Dialog gehen.</p>
<p><a href="http://mrbendig.com/wp-content/uploads/2010/02/firefox_noupdates2.jpg" rel="lightbox[282]"><img class="aligncenter size-medium wp-image-284" title="firefox_noupdates2" src="http://mrbendig.com/wp-content/uploads/2010/02/firefox_noupdates2-300x255.jpg" alt="" width="300" height="255" /></a></p>
<p>Im Dialog auf &#8220;Erweitert&#8221; (1) klicken, auf &#8220;Update&#8221; klicken (2) und hier dann die entsprechenden Optionen deaktivieren.</p>
<p>Spart minimal Traffic, aber ggf auch Zeit <img src='http://mrbendig.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/02/firefox-updates-deaktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 und msdeploy</title>
		<link>http://mrbendig.com/2010/01/visual-studio-2010-und-msdeploy/</link>
		<comments>http://mrbendig.com/2010/01/visual-studio-2010-und-msdeploy/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 10:03:52 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[IDE]]></category>
		<category><![CDATA[arbeit]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=279</guid>
		<description><![CDATA[<p>Für den IIS 7 bietet Microsoft ein Web Deployment Tool (msdeploy) als Erweiterung an. Dieses richtet auf der Standardwebsite einen kleinen Webdienst an, über den man einfach Web-Anwendungen, Websites etc veröffentlichen kann. In Visual Studio... <a href="http://mrbendig.com/2010/01/visual-studio-2010-und-msdeploy/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Für den IIS 7 bietet Microsoft ein <a href="http://www.iis.net/expand/webdeploymenttool">Web Deployment Tool</a> (msdeploy) als Erweiterung an. Dieses richtet auf der Standardwebsite einen kleinen Webdienst an, über den man einfach Web-Anwendungen, Websites etc veröffentlichen kann. In Visual Studio 2010 ist msdeploy unter dem Kontextmenüpunkt eines Projekts &#8220;Veröffentlichen&#8221; integriert. Will man diesen Benutzen, ist es wichtig, zumindest bei Standardinstallationen, nur den Hostnamen der IIS-Site in welcher der Webservice eingrichtet zu hinterlegen. Die <a href="http://learn.iis.net/page.aspx/421/installing-the-web-deployment-tool/">Dokumentation</a> sagt zwar</p>
<blockquote><p>The remote service will listen on <strong>http://+/MSDEPLOYAGENTSERVICE/</strong> by default, or at whatever URL that you specified if you performed a custom installation.</p></blockquote>
<p>Jedoch scheint das für die Visual Studio integration nicht zuzutreffen. In Kombination mit der msdeploy Dokumentation ist das entsprechende Dialogfeld leider verwirrend. ;(</p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/01/visual-studio-2010-und-msdeploy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zufällige Zeile aus Datenbank lesen</title>
		<link>http://mrbendig.com/2010/01/zufallige-zeile-aus-datenbank-lesen/</link>
		<comments>http://mrbendig.com/2010/01/zufallige-zeile-aus-datenbank-lesen/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 19:55:11 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=275</guid>
		<description><![CDATA[<p>Da ich immer wieder drüber stolpere: Eine zufällige Zeile liest man mit MySQL wie folgt: SELECT * FROM table ORDER BY RAND() LIMIT 1 Für Microsoft SQL Server verwendet man SELECT TOP 1 * FROM table ORDER BY NEWID() Arbeitet man mit... <a href="http://mrbendig.com/2010/01/zufallige-zeile-aus-datenbank-lesen/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Da ich immer wieder drüber stolpere:</p>
<p>Eine zufällige Zeile liest man mit MySQL wie folgt:</p>
<pre>SELECT * FROM table ORDER BY <strong>RAND()</strong> LIMIT 1</pre>
<p>Für Microsoft SQL Server verwendet man</p>
<pre>SELECT TOP 1 * FROM table ORDER BY <strong>NEWID()</strong></pre>
<p>Arbeitet man mit  IBM DB2 braucht man</p>
<pre>SELECT *, RAND() as IDX FROM table ORDER BY IDX FETCH FIRST 1 ROWS ONLY</pre>
<p>Mit PostgreSQL tut es</p>
<pre>SELECT * FROM table ORDER BY RANDOM() LIMIT 1</pre>
<p>Oracle will es als</p>
<pre>SELECT * FROM ( SELECT * FROM table ORDER BY dbms_random.value ) WHERE rownum = 1</pre>
<p>Wobei es bei jeder Datenbank auf die Performance geht ;-(</p>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/01/zufallige-zeile-aus-datenbank-lesen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio AddIns, Plugins &#8211; Links</title>
		<link>http://mrbendig.com/2010/01/visual-studio-addins-plugins-links/</link>
		<comments>http://mrbendig.com/2010/01/visual-studio-addins-plugins-links/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:49:37 +0000</pubDate>
		<dc:creator>Rainer Bendig</dc:creator>
				<category><![CDATA[arbeit]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://mrbendig.com/?p=272</guid>
		<description><![CDATA[<p>Das nackte Visual Studio 2008 / 2010 ist schon recht nett, kann aber durch die Installation von anderen Plugins massiv aufgewertet werden. Zu den Plugins die ich am Häufigsten benutze, zählen Resharper sowie Ghostdoc. Ich habe hier eine kleine... <a href="http://mrbendig.com/2010/01/visual-studio-addins-plugins-links/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Das nackte Visual Studio 2008 / 2010 ist schon recht nett, kann aber durch die Installation von anderen Plugins massiv aufgewertet werden. Zu den Plugins die ich am Häufigsten benutze, zählen Resharper sowie Ghostdoc. Ich habe hier eine kleine Liste zusammengestellt über weitere, in meinen Augen nicht zu verachtende Plugins. Die Reihenfolge der Plugins gibt jedoch keine Aussage über die Wertigkeit oder Häufigkeit der Verwendung. Diese Liste ist auch nicht Vollständig, allerdings ändert sich auch die persönliche Selektion der Plugins immer mal wieder.</p>
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=1643758B-2986-47F7-B529-3E41584B6CE5&amp;displaylang=en">Enterprise Library</a> &#8211; Sammlung von Codeschnippseln</li>
<li><a href="www.jetbrains.com/resharper/index.html">JetBrains ReSharper</a> &#8211; Refactoring, Code Analyse, Produktivität, Qualität</li>
<li><a href="http://jens-schaller.de/sonictools/sonicfilefinder/index.htm">Sonic File Finder</a> &#8211; Verbessertes Suchen (und Finden)</li>
<li><a href="http://submain.com/products/ghostdoc.aspx">Ghost Doc</a> &#8211; Quelltext Dokumentation</li>
<li><a href="http://dotnetslackers.com/Community/files/folders/article/entry729.aspx">CopyAsHTML</a> &#8211; Quelltext HTML-formatiert kopieren</li>
<li><a href="http://www.visualsvn.com/visualsvn/">VisualSVN</a>, <a href="http://ankhsvn.open.collab.net/">ankhsvn</a>, <a href="http://tortoisesvn.net/">TortoiseSVN</a> zur Arbeit mit <a href="http://www.collab.net/products/subversion/">Subversion</a></li>
<li><a href="http://code.google.com/p/tortoisegit/">TortoiseGit</a> zur Arbeit mit <a href="http://git-scm.com/">Git</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=df79c099-4753-4a59-91e3-5020d9714e4e">Guidance Automation Extensions</a></li>
<li><a href="http://corp.koders.com/downloads/plugins#IDE">Koders</a> &#8211; Plugin um <a href="http://www.koders.com">Koders</a> zu durchsuchen</li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;displaylang=en">Microsoft® Silverlight™ 2 Tools for Visual Studio 2008 SP1</a></li>
<li><a href="http://code.msdn.microsoft.com/sourceanalysis">StyleCop</a> &#8211; Source Code Style Analyse</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mrbendig.com/2010/01/visual-studio-addins-plugins-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
