<?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>Der Blogschatz</title>
	<atom:link href="http://www.blogschatz.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogschatz.de</link>
	<description>Sensation, endlich gefunden!</description>
	<lastBuildDate>Thu, 15 Dec 2011 07:34:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>winterschnur.de &#8211; Scher das Schaf</title>
		<link>http://www.blogschatz.de/15.12.2011/winterschnur-de-scher-das-schaf/</link>
		<comments>http://www.blogschatz.de/15.12.2011/winterschnur-de-scher-das-schaf/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 07:34:49 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=376</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://winterschur.de?037153553" title="Mach Dich nackig!"><img src="http://winterschur.de/theme_winterschur2011/bn1.jpg"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/15.12.2011/winterschnur-de-scher-das-schaf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Plus (Google+) Einladungen</title>
		<link>http://www.blogschatz.de/09.08.2011/google-plus-google-einladungen/</link>
		<comments>http://www.blogschatz.de/09.08.2011/google-plus-google-einladungen/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 07:37:17 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[einladung]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[invite]]></category>
		<category><![CDATA[plus]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=332</guid>
		<description><![CDATA[Endlich, Mitglied bei Google+ und jetzt? Hier der Link an dem Ihr euch anmelden könnt! Google+ Anmeldung Sobald der +1 Button eingebaut wurde, würde ich mich freuen wenn Ihr den drücken könntet! Übrigends, automatisch Freund ist man nicht! Viel Spaß mit Google+ &#160; P.S. Wer nicht weiß was Google+ ist, sollte sich das hier mal [...]]]></description>
			<content:encoded><![CDATA[<p>Endlich, Mitglied bei Google+ und jetzt?</p>
<p>Hier der Link an dem Ihr euch anmelden könnt!</p>
<p><a href="https://plus.google.com/_/notifications/ngemlink?path=%2F%3Fgpinv%3D-OEtFw-Ljjg%3AidqukRa88CY">Google+ Anmeldung</a></p>
<p>Sobald der +1 Button eingebaut wurde, würde ich mich freuen wenn Ihr den drücken könntet!</p>
<p>Übrigends, automatisch Freund ist man nicht!</p>
<p>Viel Spaß mit Google+</p>
<p>&nbsp;</p>
<p>P.S. Wer nicht weiß was Google+ ist, sollte sich das hier mal ansehen: <a href="http://iloveweb20.de/blog/2011/07/10/was-ist-google-plus-google-in-100-sekunden-erklart/">Was ist Google+?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/09.08.2011/google-plus-google-einladungen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zum Jubiläum: Hacker.org Scripts und neues Design auf der Homepage</title>
		<link>http://www.blogschatz.de/19.05.2011/zum-jubilaum-hacker-org-scripts-und-neues-design-auf-der-homepage-2/</link>
		<comments>http://www.blogschatz.de/19.05.2011/zum-jubilaum-hacker-org-scripts-und-neues-design-auf-der-homepage-2/#comments</comments>
		<pubDate>Thu, 19 May 2011 16:15:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[funktionen]]></category>
		<category><![CDATA[hacker.org]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=335</guid>
		<description><![CDATA[Vorweg möchte ich kurz auf das neue Design meiner Homepage www.michaelschatz.de hinweisen. Aber jetzt ein paar Scripts, bei denen man auf Hacker.org einsteigen kann, weiter bin ich auch nicht gekommen oder hatte keine Lust mehr. Aber ich will euch mein Wissen nicht vorenthalten: One Minute Man: 1 2 3 4 5 6 7 8 9 [...]]]></description>
			<content:encoded><![CDATA[<p>Vorweg möchte ich kurz auf das neue Design meiner Homepage <a href="http://www.michaelschatz.de">www.michaelschatz.de</a> hinweisen.</p>
<p>Aber jetzt ein paar Scripts, bei denen man auf Hacker.org einsteigen kann, weiter bin ich auch nicht gekommen oder hatte keine Lust mehr. Aber ich will euch mein Wissen nicht vorenthalten:</p>
<p>One Minute Man:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Datei definieren</span>
  <span style="color: #000088;">$filename</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'test.txt'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// die Datei die überwacht werden soll</span>
  <span style="color: #000088;">$somecontent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://www.hacker.org/challenge/misc/minuteman.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Sichergehen, dass die Datei existiert und beschreibbar ist</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_writable</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Wir öffnen $filename im &quot;Anhänge&quot; - Modus.</span>
    <span style="color: #666666; font-style: italic;">// Der Dateizeiger befindet sich am Ende der Datei, und</span>
    <span style="color: #666666; font-style: italic;">// dort wird $somecontent später mit fwrite() geschrieben.</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$handle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Kann die Datei <span style="color: #006699; font-weight: bold;">$filename</span> nicht öffnen&quot;</span><span style="color: #339933;">;</span>
         <span style="color: #990000;">exit</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Schreibe $somecontent in die geöffnete Datei.</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handle</span><span style="color: #339933;">,</span> <span style="color: #000088;">$somecontent</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Kann in die Datei <span style="color: #006699; font-weight: bold;">$filename</span> nicht schreiben&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #990000;">exit</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Fertig, in Datei <span style="color: #006699; font-weight: bold;">$filename</span> wurde <span style="color: #006699; font-weight: bold;">$somecontent</span> geschrieben&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Die Datei <span style="color: #006699; font-weight: bold;">$filename</span> ist nicht schreibbar&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>So, dieses Script wird nun mittels <a href="http://de.wikipedia.org/wiki/Cron">Cronjob</a> jede Minute einen Tag lang gestartet. Am nächsten Tag kurz die Datei durchscrollen, schon ist das Ergebnis schnell sichtbar:<br />
<code>back later<br />
back later<br />
back later<br />
i declare the answer is</code></p>
<p>Wörter zählen:<br />
Eine Aufgabe ist es, die Anzahl der unterschiedlichen Wörter in einem Text zu zählen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> UnterschiedlicheWoerterErmitteln<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Trennzeichen</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$Text</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot; #ENDE#&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Token</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtok</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Trennzeichen</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$Token</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;#ENDE#&quot;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$Token</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtok</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Trennzeichen</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Token</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$AnzahlDerWoerter</span><span style="color: #009900;">&#91;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Token</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">++;</span>
            <span style="color: #000088;">$GesamtzahlDerWoerter</span><span style="color: #339933;">++;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #990000;">ksort</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$AnzahlDerWoerter</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">arsort</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$AnzahlDerWoerter</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;Der Text enthält &quot;</span><span style="color: #339933;">,</span>
        <span style="color: #000088;">$GesamtzahlDerWoerter</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">&quot; unterschiedliche Begriffe.&quot;</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">&quot;&lt;ul&gt;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$AnzahlDerWoerter</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$Schluessel</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$Wert</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;li&gt;&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #000088;">$Schluessel</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot; (&quot;</span><span style="color: #339933;">,</span>
            <span style="color: #000088;">$Wert</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">&quot;)&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;/ul&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #000088;">$Text</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;text text123 text 234 text&quot;</span><span style="color: #339933;">;</span>
&nbsp;
UnterschiedlicheWoerterErmitteln<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Text</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot; ,.!?&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Dann habe ich noch eine tv.php gefunden. Hat wohl irgendetwas mit dem Aufgabennamen zu tun. Auf den ersten blick werden zwei Texte verglichen, und zu viele markiert, welche glaube ich die Antwort ergeben. Wenn ich darüber nachdenke ist das ganz einfach mit Notepad++ (Compare) umzusetzen. Naja, musste es ja in php machen. Hier der Code Tada:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> stringVergleich<span style="color: #009900;">&#40;</span><span style="color: #000088;">$string1</span><span style="color: #339933;">,</span><span style="color: #000088;">$string2</span><span style="color: #339933;">,</span><span style="color: #000088;">$color</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$as1</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$string1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$as2</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$string2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$ii</span> <span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$as1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$as1</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$as2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$nas1</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;font color=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$as1</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/font&gt;&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$nas1</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$as1</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$i</span><span style="color: #339933;">++;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$ii</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$fs</span> <span style="color: #339933;">=</span> <span style="color: #990000;">join</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$nas1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$fs</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$text1</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Text 1&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//ENDE Text 1</span>
<span style="color: #666666; font-style: italic;">//START Text Original!!</span>
<span style="color: #000088;">$text2</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Original Text&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> stringVergleich<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text1</span><span style="color: #339933;">,</span><span style="color: #000088;">$text2</span><span style="color: #339933;">,</span> <span style="color: #000088;">$color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;#ff0000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> stringVergleich<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text2</span><span style="color: #339933;">,</span><span style="color: #000088;">$text1</span><span style="color: #339933;">,</span> <span style="color: #000088;">$color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;teal&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Das wars von mir und von Hacker.org, einfach logisch denken, dann kommt man auch so ziemlich weit! Viel Spaß wünsche ich noch!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/19.05.2011/zum-jubilaum-hacker-org-scripts-und-neues-design-auf-der-homepage-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB.NET: Ein paar Notitzen</title>
		<link>http://www.blogschatz.de/23.01.2011/vb-net-ein-paar-notitzen/</link>
		<comments>http://www.blogschatz.de/23.01.2011/vb-net-ein-paar-notitzen/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 19:53:02 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Microsoft Visual Studio 2010 Express]]></category>
		<category><![CDATA[vb.NET]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=295</guid>
		<description><![CDATA[Da ich aktuell ein VB.NET Projekt mit dem Microsoft Visual Studio 2010 Express umsetze notiere ich mir hier was mir alles aufgefallen ist: Visual Studio Express 2010 beinhaltet anders als die 2008er Version kein Reporting mehr! Local Reports (rdlc) sind mit der Express 2010 nicht mehr möglich. Wer ein Datum mit der &#8220;Format&#8221;-Funktion handhaben will [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich aktuell ein VB.NET Projekt mit dem<a href="http://www.microsoft.com/germany/express/products/windows.aspx"> Microsoft Visual Studio 2010 Express</a> umsetze notiere ich mir hier was mir alles aufgefallen ist:</p>
<ol>
<li>Visual Studio Express 2010 beinhaltet anders als die 2008er Version kein Reporting mehr! Local Reports (rdlc) sind mit der Express 2010 nicht mehr möglich.</li>
<li>Wer ein Datum mit der &#8220;Format&#8221;-Funktion handhaben will und das in deutschem Format möchte wie TagTag.MonatMonat.JahrJahrJahrJahr und es aus einem DateTimePicker bekommt geht wie folgt vor:

<div class="wp_syntax"><div class="code"><pre class="vbnet" style="font-family:monospace;"><span style="color: #0600FF;">Dim</span> Datum <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span>
Datum <span style="color: #008000;">=</span> <span style="color: #0600FF;">Format</span><span style="color: #000000;">&#40;</span>dateTimePicker.<span style="color: #0000FF;">Value</span>, <span style="color: #808080;">&quot;dd.MM.yyyy&quot;</span><span style="color: #000000;">&#41;</span></pre></div></div>

<p>Zu beachten ist, dass man die beiden Monate unbedingt groß schreibt.</p>
</li>
<li>Die fehlende Reporting-Funktion habe ich mit einem Word-Export ersetzt, dazu gibt es im Internet (Google) gute Funktionen. Wo ich meine her hab weiß ich leider nicht mehr. Eventuell poste ich es bei Gelegenheit (wenn konkreter Bedarf besteht, E-Mail schreiben <img src='http://www.blogschatz.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
<li>Ein DataSet filtern geht am einfachsten mit <a href="http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx">Expressions</a>.

<div class="wp_syntax"><div class="code"><pre class="vbnet" style="font-family:monospace;">deinDataSet.<span style="color: #0000FF;">Tables</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;Mitglied&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0600FF;">Select</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;Geschlecht = 'männlich'&quot;</span><span style="color: #000000;">&#41;</span></pre></div></div>

</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/23.01.2011/vb-net-ein-paar-notitzen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>www.michaelschatz.de Neu &#8211; 10 jähriges Jubiläum</title>
		<link>http://www.blogschatz.de/16.01.2011/www-michaelschatz-de-neu-10-jahriges-jubilaum/</link>
		<comments>http://www.blogschatz.de/16.01.2011/www-michaelschatz-de-neu-10-jahriges-jubilaum/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 20:47:20 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[michael schatz]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=291</guid>
		<description><![CDATA[Meine Homepage www.michaelschatz.de gibt es jetzt 10 Jahre, deshalb gibt es eine neue kleinere Homepage mit einem neuem CMS System, welches ein neues Design mit sich bringt. Sinnlose Funktionen wie das Gästebuch oder die Hilfe-Seiten habe ich in die neue Seite nicht mehr eingebaut. Desweitern wollte ich auch mal wieder was bloggen, da es in [...]]]></description>
			<content:encoded><![CDATA[<p>Meine Homepage www.michaelschatz.de gibt es jetzt 10 Jahre, deshalb gibt es eine neue kleinere Homepage mit einem neuem CMS System, welches ein neues Design mit sich bringt. Sinnlose Funktionen wie das Gästebuch oder die Hilfe-Seiten habe ich in die neue Seite nicht mehr eingebaut. Desweitern wollte ich auch mal wieder was bloggen, da es in letzter Zeit so still um unseren Blogschatz wurde. Nächstes mal gibt es etwas feines für alle die gerne &#8220;hacken&#8221; oder &#8220;Hacker&#8221; werden wollen <img src='http://www.blogschatz.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/16.01.2011/www-michaelschatz-de-neu-10-jahriges-jubilaum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wolfenstein Enemy Territory &#8211; Tipps und Tricks</title>
		<link>http://www.blogschatz.de/11.09.2010/wolfenstein-enemy-territory-tipps-und-tricks/</link>
		<comments>http://www.blogschatz.de/11.09.2010/wolfenstein-enemy-territory-tipps-und-tricks/#comments</comments>
		<pubDate>Sat, 11 Sep 2010 12:56:44 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Spiele]]></category>
		<category><![CDATA[Wolfenstein Enemy Territory]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=264</guid>
		<description><![CDATA[Ein paar Notizen zu meinem Lieblingsspiel Wolfenstein Enemy Territory Wer dauernd permanente Lags hat, der kann das Problem folgendermaßen lösen: /pb_sleep 500 Regen ausschalten (Rain off) \set cg_atmosphericEffects 0 Rauch ausschalten (Smoke off) \set cg_wolfparticels 0 Maximale FPS festlegen, hier ist wohl 125 am besten gewählt: \set com_maxfps 125]]></description>
			<content:encoded><![CDATA[<p>Ein paar Notizen zu meinem Lieblingsspiel Wolfenstein Enemy Territory</p>
<p>Wer dauernd permanente Lags hat, der kann das Problem folgendermaßen lösen:</p>
<blockquote><p>/pb_sleep 500</p></blockquote>
<p>Regen ausschalten (Rain off)</p>
<blockquote><p>\set cg_atmosphericEffects 0</p></blockquote>
<p>Rauch ausschalten (Smoke off)</p>
<blockquote><p>\set cg_wolfparticels 0</p></blockquote>
<p>Maximale FPS festlegen, hier ist wohl 125 am besten gewählt:</p>
<blockquote><p>\set com_maxfps 125</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/11.09.2010/wolfenstein-enemy-territory-tipps-und-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Add LightBox &amp; Title &#8211; Verbesserung</title>
		<link>http://www.blogschatz.de/22.08.2010/plugin-add-lightbox-title-verbesserung/</link>
		<comments>http://www.blogschatz.de/22.08.2010/plugin-add-lightbox-title-verbesserung/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 20:56:06 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[blogschatz]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=259</guid>
		<description><![CDATA[Ich setzt zur besseren Bilddarstellung das Plugin &#8221;Add LightBox &#38; Title&#8221; ein. Da ich immer auf Webstandards w3c achte und ich die Seite validieren liese, kamen mir folgende Fehlermeldungen: character &#8220;[" is not allowed in the value of attribute "rel" Hm, in Google sagte mir der erste Treffer dazu, dass er einfach nicht rel=lightbox[xy] sonder rel=lightbox.xy [...]]]></description>
			<content:encoded><![CDATA[<p>Ich setzt zur besseren Bilddarstellung das Plugin &#8221;<a href="http://wordpress.org/extend/plugins/add-lightbox-title/">Add LightBox &amp; Title</a>&#8221; ein.</p>
<p>Da ich immer auf Webstandards <a href="http://www.w3.org">w3c</a> achte und ich die Seite validieren liese, kamen mir folgende Fehlermeldungen:</p>
<blockquote><p>character &#8220;[" is not allowed in the value of attribute "rel"</p></blockquote>
<p>Hm, in Google sagte mir der erste Treffer dazu, dass er einfach nicht rel=lightbox[xy] sonder rel=lightbox.xy verwendet. Ja ok dacht ich mir, kann ja niad so schwer sein, ist es auch nicht!</p>
<p>Man geht wie folgt vor:</p>
<p>Im Admin im Backend von WordPress einloggen, Plugins und bei Add LightBox &amp; Title bearbeiten klicken. Man bekommt einen langen Quelltext. Nun sucht man sich folgende Zeile:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>25
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$replacement</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> <span style="color: #0000ff;">'$1$2$3$4$5 rel=&quot;lightbox['</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>ID<span style="color: #339933;">.</span><span style="color: #0000ff;">']&quot;$6$7$8$9'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>und ersetzt diese mit</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>25
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$replacement</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> <span style="color: #0000ff;">'$1$2$3$4$5 rel=&quot;lightbox.'</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>ID<span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;$6$7$8$9'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Das wars, viel Spaß mit eurem validen Blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/22.08.2010/plugin-add-lightbox-title-verbesserung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Der Schatzblog äh Blogschatz&#8230;</title>
		<link>http://www.blogschatz.de/17.08.2010/der-schatzblog-ah-blogschatz/</link>
		<comments>http://www.blogschatz.de/17.08.2010/der-schatzblog-ah-blogschatz/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 22:11:03 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[blogschatz]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=256</guid>
		<description><![CDATA[&#8230; wurde mal wieder ein WordPress-Upgrade unterzogen. Auf Version 3.0.1 inklusive aller Updates. Das Theme war komplett neu und ich musste mal wieder übersetzten und das Datum links umschreiben. Es ist spät, 00:07 Uhr und ich muss morgen wieder in die Arbeit. Ich werde jetzt ins Bett gehen, an ausschlafen ist nicht mehr zu denken. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; wurde mal wieder ein WordPress-Upgrade unterzogen. Auf Version 3.0.1 inklusive aller Updates. Das Theme war komplett neu und ich musste mal wieder übersetzten und das Datum links umschreiben. Es ist spät, 00:07 Uhr und ich muss morgen wieder in die Arbeit. Ich werde jetzt ins Bett gehen, an ausschlafen ist nicht mehr zu denken. Ach ja, die Seite ist jetzt bei Google, Yahoo und Bing (MSN) drin und mit dem Keyword &#8220;blogschatz&#8221; bei allen 3  auf Platz 1, welch wunderbarer Erfolg.</p>
<p>Wenn jemand Rechtschreibfehler und/oder Designfehler findet, der kann sich gerne bei mir melden (siehe Impressum).</p>
<p>Noch ein offener Punkt: die Seite ist im Moment nicht valide, was ich morgen ändere und eventuell schreibe ich das auch wie ich das ganze lösen werde.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/17.08.2010/der-schatzblog-ah-blogschatz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2003 Server Webverwaltung (webui) aktivieren</title>
		<link>http://www.blogschatz.de/04.07.2010/windows-2003-server-webverwaltung-webui-aktivieren/</link>
		<comments>http://www.blogschatz.de/04.07.2010/windows-2003-server-webverwaltung-webui-aktivieren/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 09:12:03 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Betriebssysteme]]></category>
		<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=216</guid>
		<description><![CDATA[Nach etwas Googeln habe ich die Serververwaltung via Weboberfläche bei einem Windows 2003 Server entdeckt. Voraussetzung das man die Verwaltung verwenden kann ist ein lauffähiger IIS und die Windows InstallationsCD bzw. den Ordner i386 auf der Festplatte (bei 32-Bit-Systemen). Den IIS bekommt ihr am schnellsten wenn Ihr dem Server einen &#8220;Anwendungsserver&#8221; hinzufügt. Nachdem alle Voraussetzungen [...]]]></description>
			<content:encoded><![CDATA[<p>Nach etwas Googeln habe ich die Serververwaltung via Weboberfläche bei einem Windows 2003 Server entdeckt.</p>
<p>Voraussetzung das man die Verwaltung verwenden kann ist ein lauffähiger IIS und die Windows InstallationsCD bzw. den Ordner i386 auf der Festplatte (bei 32-Bit-Systemen). Den IIS bekommt ihr am schnellsten wenn Ihr dem Server einen &#8220;Anwendungsserver&#8221; hinzufügt.</p>
<p>Nachdem alle Voraussetzungen erfüllt sind kann man das Webinterface aktivieren:</p>
<p>Start, Systemsteuerung, Software. Nun klickt man auf &#8220;Windows Komponenten hinzufügen/entfernen&#8221;<br />
<a href="http://www.blogschatz.de/wp-content/uploads/2010/07/Bild1.png" rel="lightbox.216" title="Systemsteuerung, Software"><img class="aligncenter size-thumbnail wp-image-217" title="Systemsteuerung, Software" src="http://www.blogschatz.de/wp-content/uploads/2010/07/Bild1-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Es öffnet sich folgendes Fenster in dem man &#8220;Anwendungsserver&#8221; markiert und auf Details klickt:<a href="http://www.blogschatz.de/wp-content/uploads/2010/07/bild2.png" rel="lightbox.216" title="Windows Komponenten hinzufügen"><img class="aligncenter size-thumbnail wp-image-218" title="Windows Komponenten hinzufügen" src="http://www.blogschatz.de/wp-content/uploads/2010/07/bild2-150x150.png" alt="" width="150" height="150" /></a>Es öffnet sich wieder ein Fenster. Da mir hier die Worte fehlen stelle ich das jetzt einfach in einer Bilderstrecke dar, dann spar ich mir den ganzen Text:<a href="http://www.blogschatz.de/wp-content/uploads/2010/07/bild3.png" rel="lightbox.216" title="bild3"><img class="aligncenter size-thumbnail wp-image-219" title="bild3" src="http://www.blogschatz.de/wp-content/uploads/2010/07/bild3-150x150.png" alt="" width="150" height="150" /></a> <a href="http://www.blogschatz.de/wp-content/uploads/2010/07/bild4.png" rel="lightbox.216" title="bild4"><img class="aligncenter size-medium wp-image-220" title="bild4" src="http://www.blogschatz.de/wp-content/uploads/2010/07/bild4-300x227.png" alt="" width="300" height="227" /></a>So, jetzt kommt eine Schwierigkeit, man muss im nächsten Fenster den Hacken bei &#8220;Remoteverwaltung (HTML)&#8221; setzen:<a href="http://www.blogschatz.de/wp-content/uploads/2010/07/bild5.png" rel="lightbox.216" title="bild5"><img class="aligncenter size-medium wp-image-221" title="bild5" src="http://www.blogschatz.de/wp-content/uploads/2010/07/bild5-300x230.png" alt="" width="300" height="230" /></a>Jetzt sollte der Server sich die Webveraltung installieren und man kann die Remoteveraltung im Browser unter https://localhost:8098 aufrufen und sieht dann so aus:<a href="http://www.blogschatz.de/wp-content/uploads/2010/07/bild6.png" rel="lightbox.216" title="bild6"><img class="aligncenter size-medium wp-image-222" title="bild6" src="http://www.blogschatz.de/wp-content/uploads/2010/07/bild6-300x242.png" alt="" width="300" height="242" /></a>Eigentlich ganz schön nicht?</p>
<p>Ich möchte das ganze noch etwas verfeinern. Mich stören folgende Dinge:</p>
<ul>
<li>Intern will ich nicht den Port aufrufen müssen https://&lt;servername&gt;:8098, ich möchte https://&lt;servername&gt;/administrator oder so ähnlich. Extern sehe ich mithilfe von NAT/PAT keine Probleme das so hinzubekommen.</li>
<li>Die Warnung mit dem Zertifikat muss weg.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/04.07.2010/windows-2003-server-webverwaltung-webui-aktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sim City 3000: Allgemeine Hinweise</title>
		<link>http://www.blogschatz.de/05.06.2010/sim-city-3000-allgemeine-hinweise/</link>
		<comments>http://www.blogschatz.de/05.06.2010/sim-city-3000-allgemeine-hinweise/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 14:56:09 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Spiele]]></category>
		<category><![CDATA[Sim City 3000]]></category>

		<guid isPermaLink="false">http://www.blogschatz.de/?p=165</guid>
		<description><![CDATA[Wow, einen Klassiker ausgegraben! Auf der Suche nach allgemeinen Tipps und Tricks zu SimCity 3000, wie zum Beispiel die Feldgröße bestimmter Bauflächen bin ich mal wieder auf lästige Spielportale gestoßen, die nur eines zum Ziel haben: Den Besucher mit viel Werbung und mit möglichst lange Wartezeiten zu nerven. Für alle die sich ein paar Tipps [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, einen Klassiker ausgegraben!</p>
<p>Auf der Suche nach allgemeinen Tipps und Tricks zu SimCity 3000, wie zum Beispiel die Feldgröße bestimmter Bauflächen bin ich mal wieder auf lästige Spielportale gestoßen, die nur eines zum Ziel haben: Den Besucher mit viel Werbung und mit möglichst lange Wartezeiten zu nerven. Für alle die sich ein paar Tipps ohne Werbung holen wollen, lesen hier meine Zusammenfassung <img src='http://www.blogschatz.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Bauernhöfe:</strong><br />
Legt man weit weg von jeglicher Verschmutzung an.<br />
Baugebiet: Schwach bebautes Industriegebiet<br />
Feldgröße: 8&#215;8<br />
Wasser und Straße muss vorhanden sein.</p>
<p><strong>Mülldeponie:</strong><br />
Zum Start 10&#215;10 groß, neben schmutzigen Kraftwerke.</p>
<p><strong>Industriegebiete:</strong><br />
Zwei gebiete nähe Kraftwerk und Deponie, Mitteldichte Industriegebiete  10&#215;10 Felder groß.</p>
<p><strong>Wohngebiete:</strong><br />
Mindestens 30 Felder weg vom Industriegebiet, 8&#215;8 Felder groß, in die Mitte einen Park.</p>
<p><strong>Gewerbegebiete:<br />
</strong>Zwischen Industrie und Wohngebiete, jedoch ist auch ein Abstand von 30 Feldern zum Industriegebiet zu raten. Gewerbegebiete sollten 5&#215;5 Felder groß sein.</p>
<p><strong>(See)Hafen:<br />
</strong>Ihr fahrt ganz gut, wenn Ihr den Hafen auf unterste Stufe baut, ganz knapp über dem Wasser und 5 Felder breit. Ich habe Straßen, Zug, Bus und U-Bahnverbindungen an meinen Hafen gelegt.</p>
<p>Und schon kann eure City wachsen. Versucht durch Verordnungen saubere Industrie zu bekommen. Ich habe meinen ganzen Müll den Nachbarn verkauft und die Deponie Stück für Stück abgebaut (riesen Verschmutzung). Achja, überprüft ab und an mal eure Wasserpumpen und Kraftwerke, der Berate ist irgendwie nicht so fit (Beamter halt).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogschatz.de/05.06.2010/sim-city-3000-allgemeine-hinweise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

