<?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>Benjamin Flesch &#187; Programmieren</title>
	<atom:link href="http://blog.bf-itservice.de/category/programmieren/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bf-itservice.de</link>
	<description>Programmkot &#38; Sicherheit</description>
	<lastBuildDate>Mon, 16 Aug 2010 12:00:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Unsicherer PHP-Programmierer</title>
		<link>http://blog.bf-itservice.de/394/unsicherer-php-programmierer</link>
		<comments>http://blog.bf-itservice.de/394/unsicherer-php-programmierer#comments</comments>
		<pubDate>Mon, 16 Aug 2010 12:00:56 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Fehlerteufel]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Sicherheit und Sonnenschein]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[Local File Inclusion]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Hardening]]></category>
		<category><![CDATA[Sicherheitslücken]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=394</guid>
		<description><![CDATA[Seit einigen Tagen habe eine Stelle als PHP-Programmierer ausgeschrieben und auf diese Weise jemanden gesucht, die mir bei aufwändigen Arbeiten etwas hilft. Ich habe schon viele gute Bewerbungen erhalten, aber sie waren alle nichts gegen den Kerl, der heute morgen per Email hereingeflogen kam. Die Eckdaten waren schonmal vielversprechend: 12+ years PHP experience 8+ years [...]]]></description>
			<content:encoded><![CDATA[<p>Seit einigen Tagen habe eine Stelle als <strong>PHP-Programmierer</strong> ausgeschrieben und auf diese Weise jemanden gesucht, die mir bei aufwändigen Arbeiten etwas hilft.</p>
<p>Ich habe schon viele gute Bewerbungen erhalten, aber <strong>sie waren alle nichts</strong> gegen den Kerl, der heute morgen per Email hereingeflogen kam. Die Eckdaten waren schonmal vielversprechend:</p>
<ul>
<li>12+ years PHP experience</li>
<li>8+ years Perl experience</li>
<li>sehr ansprechender Stundenlohn</li>
</ul>
<p>Das klingt nach einem <strong>Perl-Guru</strong>, der dann auf PHP umgesattelt ist, nicht wahr?</p>
<p>Es wurden <strong>zwei PHP-Projekte zur Referenz</strong> angeboten, direkt mal angeschaut und <strong>vom Stuhl gefallen</strong>. Der Grund ist nicht wirklich schwer zu finden, die URL sah wie folgt aus:</p>
<p><code>http://XXXXXXXXXXXX.com/<strong>?main=pce/index.php</strong></code></p>
<p>Für die Personen die spätestens jetzt total verwirrt sind: Der Homepage wird hinter dem <strong>?</strong> der Variable <strong>main</strong> die Adresse zu einem PHP-Script zugewiesen (und zwar <strong>pce/index.php</strong>). </p>
<p>Wenn man also den Inhalt von <strong>main</strong> entsprechend verändert, kann man beliebige Dateien des Servers anzeigen. Beispiel:</p>
<p><a href="http://blog.bf-itservice.de/wp-content/uploads/2010/08/urk.png"><img src="http://blog.bf-itservice.de/wp-content/uploads/2010/08/urk.png" alt="" title="urk" width="562" height="38" class="alignnone size-full wp-image-396" /></a></p>
<p>So können wir die Datei <strong>/etc/passwd</strong> auslesen, in der Informationen über die Benutzeraccounts eines Linux-Systems gespeichert sind. Natürlich ist jetzt auch nicht mehr weit bis zu einem erfolgreichen Hack, aber darum geht es an dieser Stelle auch nicht.</p>
<p><a href="http://blog.bf-itservice.de/wp-content/uploads/2010/08/passwd.png"><img src="http://blog.bf-itservice.de/wp-content/uploads/2010/08/passwd-300x227.png" alt="Benutzerliste des Servers - /etc/passwd" title="passwd" width="300" height="227" class="alignleft size-medium wp-image-397" /></a></p>
<p>Es gab noch einige weitere Sicherheitslücken in seinen Referenzprojekten, und nett wie ich bin habe ich sie ihm natürlich auch sofort mitgeteilt. </p>
<p>Den Job wird er aber nicht bekommen und hiermit verabschiede ich mich, sprachlos. <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/394/unsicherer-php-programmierer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Nautilus Tastenkombination für Adresszeile</title>
		<link>http://blog.bf-itservice.de/373/ubuntu-nautilus-tastenkombination-fur-adresszeile</link>
		<comments>http://blog.bf-itservice.de/373/ubuntu-nautilus-tastenkombination-fur-adresszeile#comments</comments>
		<pubDate>Wed, 12 May 2010 12:36:17 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[Adresszeile]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Nautilus]]></category>
		<category><![CDATA[Shortcut]]></category>
		<category><![CDATA[Tastenkombination]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=373</guid>
		<description><![CDATA[Da im Nautilus Dateimanager in Ubuntu seit dem letzten Update auf Lucid Lynx die Adresszeile nicht mehr standardmäßig wie ein Textfeld editieren werden kann, musste ich mir mal wieder die Tastenkombination heraussuchen um die Adresszeile anzuzeigen: 1 STRG + L Viel Spaß!]]></description>
			<content:encoded><![CDATA[<p>Da im <strong>Nautilus Dateimanager</strong> in Ubuntu seit dem letzten Update auf <strong>Lucid Lynx</strong> die Adresszeile nicht mehr standardmäßig wie ein Textfeld editieren werden kann, musste ich mir mal wieder die <strong>Tastenkombination</strong> heraussuchen um die <strong>Adresszeile anzuzeigen</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">STRG <span style="color: #339933;">+</span> L</pre></td></tr></table></div>

<p>Viel Spaß! <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/373/ubuntu-nautilus-tastenkombination-fur-adresszeile/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu JPG-Datei in PDF umwandeln</title>
		<link>http://blog.bf-itservice.de/365/ubuntu-jpg-datei-in-pdf-umwandeln</link>
		<comments>http://blog.bf-itservice.de/365/ubuntu-jpg-datei-in-pdf-umwandeln#comments</comments>
		<pubDate>Mon, 26 Apr 2010 15:51:00 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Umwandlung]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=365</guid>
		<description><![CDATA[Ab und an tauchen Probleme auf, die selbst mir bisher noch nicht vor die Füße gelaufen sind. Heute war mal wieder so ein Tag: Eine Bilddatei (Format: JPEG) wird als PDF benötigt. Das klingt ziemlich nach Imagemagick, und dürfte eigentlich nichts Großes sein für mein liebes Ubuntu &#8211; ich hatte glücklicherweise Recht Imagemagick installieren (falls [...]]]></description>
			<content:encoded><![CDATA[<p>Ab und an tauchen Probleme auf, die selbst mir bisher noch nicht vor die Füße gelaufen sind. Heute war mal wieder so ein Tag: </p>
<p><strong>Eine Bilddatei</strong> (Format: JPEG) <strong>wird als PDF benötigt.</strong> Das klingt ziemlich nach <strong>Imagemagick</strong>, und dürfte eigentlich nichts Großes sein für mein liebes Ubuntu &#8211; ich hatte glücklicherweise Recht <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ol>
<li>Imagemagick installieren (falls es noch nicht installiert wurde):<br/>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> imagemagick</pre></td></tr></table></div>

</li>
<li>JPG-Bild in PDF umwandeln:<br/>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">convert bild.jpg dokument.pdf</pre></td></tr></table></div>

</li>
</ol>
<p>The <a href="http://bitprison.net/jpg_to_pdf">same</a> in English.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/365/ubuntu-jpg-datei-in-pdf-umwandeln/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wurstiger PHP-Code</title>
		<link>http://blog.bf-itservice.de/354/wurstiger-php-code</link>
		<comments>http://blog.bf-itservice.de/354/wurstiger-php-code#comments</comments>
		<pubDate>Thu, 01 Apr 2010 14:28:03 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Fehlerteufel]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[PHP Best Practices]]></category>
		<category><![CDATA[PHP Refactoring]]></category>
		<category><![CDATA[Schlechter Code]]></category>
		<category><![CDATA[Sinnloser Wirrwarr]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=354</guid>
		<description><![CDATA[Ich darf gerade das Refactoring einer PHP4-Anwendung durchführen, und mir graute es schon von Anfang an. Aber folgende Zeilen lassen einem echt das Blut gefrieren: 1 2 3 4 $OUT .= &#34;&#60;option value=\&#34;&#34; . &#40;&#40;$OUTPUT_VALUE != null&#41;?$A&#91;$OUTPUT_VALUE&#93; : $A&#91;&#34;name&#34;&#93;&#41; . &#34;\&#34; &#34; . &#40;&#40;$OUTPUT_EXTRA != null&#41;?&#40;&#40;$A&#91;$OUTPUT_EXTRA&#93; == $OUTPUT_EXTRA2&#41;?&#34;selected&#34;:&#34;&#34;&#41;:&#34;&#34;&#41; . &#34;&#62; &#34; . htmlentities&#40;$A&#91;&#34;name&#34;&#93;, ENT_QUOTES&#41; . [...]]]></description>
			<content:encoded><![CDATA[<p>Ich darf gerade das Refactoring einer PHP4-Anwendung durchführen, und mir graute es schon von Anfang an. Aber folgende Zeilen lassen einem echt das Blut gefrieren:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$OUT</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;option value=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #339933;">.</span>
<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$OUTPUT_VALUE</span> <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>?<span style="color: #000088;">$A</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$OUTPUT_VALUE</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$A</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> &quot;</span> <span style="color: #339933;">.</span>
<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$OUTPUT_EXTRA</span> <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>?<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$A</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$OUTPUT_EXTRA</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$OUTPUT_EXTRA2</span><span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">&quot;selected&quot;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span>
<span style="color: #0000ff;">&quot;&gt; &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">htmlentities</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$A</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">ENT_QUOTES</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/option&gt;&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Eine weitere Perle, zur besseren Übersicht aus der 200 Zeichen langen Konkatenation herausgenommen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$OUTPUT_EXTRA3</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">null</span> <span style="color: #339933;">||</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$OUTPUT_EXTRA3</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$OUTPUT_EXTRA3</span><span style="color: #339933;">!==</span><span style="color: #0000ff;">'undefined'</span><span style="color: #009900;">&#41;</span>?<span style="color: #000088;">$OUTPUT_EXTRA3</span><span style="color: #339933;">:</span><span style="color: #0000ff;">'Ziel w&amp;auml;hlen'</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<p>Es gibt Tage, da zweifle ich echt an meiner Berufswahl! <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/354/wurstiger-php-code/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wichtige MySQL-Logindaten in PHP absichern</title>
		<link>http://blog.bf-itservice.de/345/wichtige-mysql-logindaten-in-php-absichern</link>
		<comments>http://blog.bf-itservice.de/345/wichtige-mysql-logindaten-in-php-absichern#comments</comments>
		<pubDate>Tue, 30 Mar 2010 20:51:11 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Benutzerdaten]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql_connect]]></category>
		<category><![CDATA[mysql_error]]></category>
		<category><![CDATA[PHP Hardening]]></category>
		<category><![CDATA[php_value]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=345</guid>
		<description><![CDATA[Ich habe gerade über einen ziemlich tollen Trick gelesen, mit dem man seine MySQL-Benutzerdaten in PHP-Scripten sehr gut absichern kann. Man muss einfach zur httpd.conf bzw. zur entsprechenden Virtualhost-Konfigurationsdatei in /etc/apache2/sites-available folgende Zeilen hinzufügen: 1 2 3 4 5 &#60;Directory /var/www/html/&#62; php_value mysql.default_user **Benutzername** php_value mysql.default_password **Passwort** php_value mysql.default_host **mein.mysqlserver.tld** &#60;/Directory&#62; Daraufhin kann man in [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe gerade über einen ziemlich tollen Trick gelesen, mit dem man seine MySQL-Benutzerdaten in PHP-Scripten sehr gut absichern kann. Man muss einfach zur <code>httpd.conf</code> bzw. zur entsprechenden Virtualhost-Konfigurationsdatei in <code>/etc/apache2/sites-available</code> folgende Zeilen hinzufügen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>Directory <span style="color: #339933;">/</span><span style="color: #000000; font-weight: bold;">var</span><span style="color: #339933;">/</span>www<span style="color: #339933;">/</span>html<span style="color: #339933;">/&gt;</span>
    php_value <span style="color: #990000;">mysql</span><span style="color: #339933;">.</span>default_user <span style="color: #339933;">**</span>Benutzername<span style="color: #339933;">**</span>
    php_value <span style="color: #990000;">mysql</span><span style="color: #339933;">.</span>default_password <span style="color: #339933;">**</span>Passwort<span style="color: #339933;">**</span>
    php_value <span style="color: #990000;">mysql</span><span style="color: #339933;">.</span>default_host <span style="color: #339933;">**</span>mein<span style="color: #339933;">.</span>mysqlserver<span style="color: #339933;">.</span>tld<span style="color: #339933;">**</span>
<span style="color: #339933;">&lt;/</span>Directory<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Daraufhin kann man in jedem PHP-Script unter <code>/var/www/html</code> einfach folgenden Code ausführen und man erhält eine Verbindung zu dem Datenbankserver:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$link</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Wenn nun z.B. irgendein <del datetime="2010-03-30T20:44:24+00:00">Blog</del> unsicheres PHP-Script geknackt wird, kann der Angreifer nicht an die Datenbank-Zugangsdaten kommen &#8211; das könnte einem Unternehmen im Ernstfall den Hintern retten.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/345/wichtige-mysql-logindaten-in-php-absichern/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Heute $889.20 pro Stunde verdient</title>
		<link>http://blog.bf-itservice.de/338/heute-889-20-pro-stunde-verdient</link>
		<comments>http://blog.bf-itservice.de/338/heute-889-20-pro-stunde-verdient#comments</comments>
		<pubDate>Sat, 27 Mar 2010 22:00:27 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>
		<category><![CDATA[COCOMO]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[sloccount]]></category>
		<category><![CDATA[Stundenlohn]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=338</guid>
		<description><![CDATA[So, jetzt sollte ich eure Aufmerksamkeit haben. Und bei diesem Statement beziehe ich mich auf die Ausgabe von sloccount, einem Programm mit dem man den Entwicklungsaufwand von Software in Geld (also Dollar) abschätzen kann. Ich habe heute insgesamt 10 Stunden programmiert, und laut dem COCOMO-Modell dabei Software im Wert von 8.892 US-Dollar erstellt, dadurch komme [...]]]></description>
			<content:encoded><![CDATA[<p>So, jetzt sollte ich eure Aufmerksamkeit haben. Und bei diesem Statement beziehe ich mich auf die Ausgabe von <code>sloccount</code>, einem Programm mit dem man den Entwicklungsaufwand von Software in Geld (also Dollar) abschätzen kann.</p>
<p>Ich habe heute insgesamt 10 Stunden programmiert, und laut dem <a href="http://de.wikipedia.org/wiki/COCOMO">COCOMO-Modell</a> dabei Software im Wert von <strong>8.892 US-Dollar</strong> erstellt, dadurch komme ich auf einen <strong>Stundenlohn von $889.20</strong> &#8211; will mir den denn jetzt wirklich niemand bezahlen?!</p>
<pre>beni@fritz:~/workspace/Secret/src/Topsecret$ sloccount .
Creating filelist for Secret
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.

SLOC    Directory    SLOC-by-Language (Sorted)
347     secret          java=347

Totals grouped by language (dominant language first):
<strong>java:           347 (100.00%)
</strong>

Total Physical Source Lines of Code (SLOC)                = 347
<strong>Development Effort Estimate, Person-Years (Person-Months) = 0.07 (0.79)</strong>
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 0.19 (2.29)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 0.35
<strong>Total Estimated Cost to Develop                           = $ 8,892</strong>
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
</pre>
<p>Eine Sache wundert mich aber ziemlich: Wie kann man 0.7 Personenmonate = 14 Mitarbeitertage in nur 10 Stunden unterbringen? <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/338/heute-889-20-pro-stunde-verdient/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Ubuntu/Debian ffmpeg kompilieren</title>
		<link>http://blog.bf-itservice.de/296/ubuntudebian-ffmpeg-kompilieren</link>
		<comments>http://blog.bf-itservice.de/296/ubuntudebian-ffmpeg-kompilieren#comments</comments>
		<pubDate>Tue, 24 Nov 2009 20:29:33 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flash video]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=296</guid>
		<description><![CDATA[Damit ich nicht jedesmal die Bookmarks durchforsten muss, hier mal die ganze Prozedur zum Kompilieren von ffmpeg inkl. MP3-Support in einem Aufwasch: 1 2 3 4 5 sudo apt-get install lame libmp3lame-dev subversion gcc; svn checkout svn://svn.mplayerhq.hu/ffmpeg; ./configure --enable-libmp3lame --extra-cflags=-I/local/include --extra-ldflags=-L/local/lib; make; sudo make install; Dem apt-get habe ich noch subversion und gcc hinzugefügt, weil [...]]]></description>
			<content:encoded><![CDATA[<p>Damit ich nicht jedesmal die Bookmarks durchforsten muss, hier mal die ganze Prozedur zum Kompilieren von ffmpeg inkl. MP3-Support in einem Aufwasch:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">lame</span> libmp3lame-dev subversion <span style="color: #c20cb9; font-weight: bold;">gcc</span>;
<span style="color: #c20cb9; font-weight: bold;">svn</span> checkout <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.mplayerhq.hu<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span>;
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-libmp3lame</span> <span style="color: #660033;">--extra-cflags</span>=-I<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>include <span style="color: #660033;">--extra-ldflags</span>=-L<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib;
<span style="color: #c20cb9; font-weight: bold;">make</span>;
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>;</pre></td></tr></table></div>

<p>Dem <code>apt-get</code> habe ich noch subversion und gcc hinzugefügt, weil es vielleicht nicht jeder auf seiner Kiste hat. Jedenfalls kann man mit der selbst kompilierten Entwicklerversion von ffmpeg schön mit Macromedia Flash Videos (.flv-Dateien) herumspielen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/296/ubuntudebian-ffmpeg-kompilieren/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>easyComment 1.2 &#8211; Firefox Extension</title>
		<link>http://blog.bf-itservice.de/224/easycomment-1-2-firefox-extension</link>
		<comments>http://blog.bf-itservice.de/224/easycomment-1-2-firefox-extension#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:01:30 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=224</guid>
		<description><![CDATA[Ich habe mich nun endlich hingesetzt, und die neue Version von easyComment reif für die Massen gemacht. In easyComment 1.2 gibt es folgende Neuerungen: mehrere Kommentar-Profile sind möglich Textmutation im Kommentar. z.B. wird aus Du {Affe&#124;Pferd}! entweder &#8220;Du Affe!&#8221; oder &#8220;Du Pferd!&#8221;. bessere Bedienung Herunterladen kann man die neue Version von Mozilla.org, die anderen erhalten [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe mich nun endlich hingesetzt, und die neue Version von <strong>easyComment </strong>reif für die Massen gemacht. In <strong>easyComment 1.2</strong> gibt es folgende Neuerungen:</p>
<ul>
<li>mehrere Kommentar-Profile sind möglich</li>
<li>Textmutation im Kommentar. z.B. wird aus <code>Du {Affe|Pferd}!</code> entweder &#8220;Du Affe!&#8221; oder &#8220;Du Pferd!&#8221;.</li>
<li>bessere Bedienung</li>
</ul>
<p>Herunterladen kann man die neue Version von Mozilla.org, die anderen erhalten sie regulär über das Firefox-Update:</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/9095/">https://addons.mozilla.org/en-US/firefox/addon/9095/</a> !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/224/easycomment-1-2-firefox-extension/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Umlaute richtig darstellen in der Linux-Shell</title>
		<link>http://blog.bf-itservice.de/199/umlaute-richtig-darstellen-in-der-linux-shell</link>
		<comments>http://blog.bf-itservice.de/199/umlaute-richtig-darstellen-in-der-linux-shell#comments</comments>
		<pubDate>Sat, 21 Mar 2009 10:03:27 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[bash_rc]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[Umlaute Linux-Shell]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=199</guid>
		<description><![CDATA[Hey, nach einigen Wochen hat es mich jetzt richtig genervt, dass in vi und nano immer die Umlaute so müllig dargestellt werden. Eine Abhilfe gibt es, wenn man einfach mal 1 LC_ALL=de_DE.UTF8 In die ~/.bash_rc einfügt und die Shell neustartet. Jetzt sieht endlich wieder das scharfe S &#8220;scharf&#8221; aus!]]></description>
			<content:encoded><![CDATA[<p>Hey, nach einigen Wochen hat es mich jetzt richtig genervt, dass in vi und nano immer die Umlaute so müllig dargestellt werden. Eine Abhilfe gibt es, wenn man einfach mal</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">LC_ALL</span>=de_DE.UTF8</pre></td></tr></table></div>

<p>In die <strong>~/.bash_rc </strong>einfügt und die Shell neustartet. Jetzt sieht endlich wieder das scharfe S &#8220;scharf&#8221; aus! <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/199/umlaute-richtig-darstellen-in-der-linux-shell/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox Extension Development: Undefined Entity Error (locales)</title>
		<link>http://blog.bf-itservice.de/180/firefox-extension-development-undefined-entity-error-locales</link>
		<comments>http://blog.bf-itservice.de/180/firefox-extension-development-undefined-entity-error-locales#comments</comments>
		<pubDate>Thu, 22 Jan 2009 00:34:52 +0000</pubDate>
		<dc:creator>Beni</dc:creator>
				<category><![CDATA[Fehlerteufel]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[.dtd]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[fehlermeldung]]></category>
		<category><![CDATA[Firefox Extension]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[undefined entity]]></category>
		<category><![CDATA[undefined entity error]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://blog.bf-itservice.de/?p=180</guid>
		<description><![CDATA[Wenn man beim Programmieren seiner Firefox-Extension eines Tags über den Fehler &#8220;undefined Entity&#8221; im Bezug auf die eigenen .dtd-Dateien der entsprechenden locales stolpert; dann speichere man einfach die ganzen Dateien &#8211; wie von Mozilla gewünscht &#8211; in der Zeichenkodierung UTF-8 , und die Sache läuft wieder ist geritzt! - Hello dear extension developer, if you [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man beim Programmieren seiner <strong>Firefox-Extension</strong> eines Tags über den <strong>Fehler &#8220;undefined Entity&#8221;</strong> im Bezug auf die eigenen <strong>.dtd-Dateie</strong>n der entsprechenden locales stolpert; dann speichere man einfach die ganzen Dateien &#8211; wie von Mozilla gewünscht &#8211; in der <strong>Zeichenkodierung UTF-8</strong> , und die Sache <span style="text-decoration: line-through;">läuft wieder</span> ist geritzt!</p>
<p>-</p>
<p>Hello dear extension developer, if you see somehere an <strong>XUL error</strong> like &#8220;<strong>undefined entity</strong>&#8221; whilst dealing with your <strong>extension&#8217;s locale files</strong>, just make sure that you saved all of them in <strong>UTF-8 character encoding</strong>. This really saves hours, at least for me <img src='http://blog.bf-itservice.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bf-itservice.de/180/firefox-extension-development-undefined-entity-error-locales/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
