<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5211247635485524970</id><updated>2024-10-25T01:24:06.090-07:00</updated><category term="bash"/><category term="php"/><category term="C++"/><category term="Fehler"/><category term="Fun"/><category term="IPhone"/><category term="Kostenlos"/><category term="LaTex"/><category term="Literatur"/><category term="Quick Referenz"/><category term="Tex"/><category term="VMware"/><category term="XCode"/><category term="apache"/><category term="codeschnipsel"/><category term="drupal"/><category term="error"/><category term="nginx"/><category term="plesk"/><category term="proxy"/><category term="script"/><category term="session"/><category term="webserver"/><title type='text'>DKS - Blog</title><subtitle type='html'>Mein Persönlicher Blog, über EDV, Gott, die Welt und der Rest</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-8020271817602009307</id><published>2014-02-09T02:21:00.001-08:00</published><updated>2014-02-09T02:22:18.775-08:00</updated><title type='text'></title><content type='html'>Hallo,

ich habe eune neue Webseite erstellt. Ihr erreicht sie unter &lt;a href=&quot;http://www.rpg-studio.org&quot;&gt;http://www.rpg-studio.org&lt;/a&gt;.

Have fun :)</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/8020271817602009307/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2014/02/halloich-habe-eune-neue-webseite.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8020271817602009307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8020271817602009307'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2014/02/halloich-habe-eune-neue-webseite.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-8774242432886816975</id><published>2011-01-11T14:13:00.000-08:00</published><updated>2011-01-11T14:15:52.491-08:00</updated><title type='text'>Mit Inkscape Animationen erstellen?</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;auf der suche nach einer Möglichkeit um Animationen mit svg Grafiken zu erstellen bin ich auf diese Interessante Erweiterung für Inkscape gestoßen:&lt;br /&gt;&lt;br /&gt;http://sourceforge.net/projects/animeasy/&lt;br /&gt;&lt;br /&gt;Damit ist es möglich gif und AVI Videos zu erstellen. Ein nette kleine Erweiterung ist dies, nur nicht nachdem ich suchte.&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/8774242432886816975/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/mit-inkscape-animationen-erstellen.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8774242432886816975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8774242432886816975'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/mit-inkscape-animationen-erstellen.html' title='Mit Inkscape Animationen erstellen?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-1520757625169667347</id><published>2011-01-09T11:16:00.001-08:00</published><updated>2011-01-09T11:18:21.668-08:00</updated><title type='text'>Konvertieren von Dateinamen unter Linux</title><content type='html'>Hallo,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wer auch schon mal das Problem hatte mit Defekten Dateinamen z.B. wenn man sie von Windows auf Linux Kopiert. Hier ist die Lösung&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Zum Testen einfach folgendes Kommando machen:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;convmv  -r -f cp850 -t utf8 &lt;dateiname&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;für die Endgültige Änderung --notest Parameter hinzufügen, so wird die Änderung entgültig:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;convmv --notest -r -f cp850 -t utf8 &lt;dateiname&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mfg -DK-&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/1520757625169667347/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/konvertieren-von-dateinamen-unter-linux.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1520757625169667347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1520757625169667347'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/konvertieren-von-dateinamen-unter-linux.html' title='Konvertieren von Dateinamen unter Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-4113245487826324329</id><published>2011-01-02T10:53:00.000-08:00</published><updated>2011-01-02T11:01:10.296-08:00</updated><title type='text'>Redmine+nginx+thin+subdir unter ubuntu</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;zu erst installiert man sich den kleinen Ruby Server Thin&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sudo apt-get install thin&lt;/b&gt; bzw.&lt;b&gt; sudo apt-get install thin1.8&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;dann legt man sich die Datei &lt;b&gt;redmine.yml&lt;/b&gt; in &lt;b&gt;/etc/thin&lt;/b&gt; oder &lt;b&gt;/etc/thin1.8&lt;/b&gt; an, mit folgenden Inhalt:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;pid: tmp/pids/thin.pid&lt;br /&gt;group: www-data&lt;br /&gt;timeout: 30&lt;br /&gt;log: log/thin.log&lt;br /&gt;max_conns: 1024&lt;br /&gt;require: []&lt;br /&gt;&lt;br /&gt;environment: production&lt;br /&gt;max_persistent_conns: 512&lt;br /&gt;servers: 4&lt;br /&gt;daemonize: true&lt;br /&gt;user: www-data&lt;br /&gt;socket: /tmp/thin.sock&lt;br /&gt;chdir: /path/to/redmine/root/not/public&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/etc/init.d/thin start&lt;/b&gt; oder &lt;b&gt;/etc/init.d/thin1.8 start&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Nun bei der nginx Konfiguration(nginx.conf):&lt;br /&gt;&lt;br /&gt;vor dem &quot;server&quot; Bereich fügt man dies ein:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;upstream thin_cluster {&lt;br /&gt;  server unix:/tmp/thin.0.sock;&lt;br /&gt;  server unix:/tmp/thin.1.sock;&lt;br /&gt;  server unix:/tmp/thin.2.sock;&lt;br /&gt;  server unix:/tmp/thin.3.sock;&lt;br /&gt;}&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;server{&lt;br /&gt;...&lt;br /&gt;}&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Im &quot;server&quot; Bereich fügt man nun noch dies ein:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;location /redmine {&lt;br /&gt;      proxy_pass http://thin_cluster;&lt;br /&gt;}&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;und schon kann man über www.meinedomain.tld/redmine auf redmine zugreifen!&lt;br /&gt;Man sollte aber in config/envoirment.rb ganz unten dies einfügen:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Redmine::Utils::relative_url_root = &quot;/redmine&quot;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/4113245487826324329/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/redminenginxthinsubdir-unter-ubuntu.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4113245487826324329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4113245487826324329'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2011/01/redminenginxthinsubdir-unter-ubuntu.html' title='Redmine+nginx+thin+subdir unter ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-8423262657933768052</id><published>2010-11-28T21:02:00.000-08:00</published><updated>2010-11-28T21:12:53.815-08:00</updated><title type='text'>Die neuste GDAL Version &gt; 1.7</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;wenn ihr die neuste GDAL Version verwendet wollt müsst ihr folgendes in eure &lt;span style=&quot;font-weight:bold;&quot;&gt;/etc/apt/source.list&lt;/span&gt; eintragen.&lt;br /&gt;&lt;br /&gt;deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu maverick main&lt;br /&gt;deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu maverick main&lt;br /&gt;&lt;br /&gt;apt-get install  libgdal1-1.7.0 libgdal1-dev&lt;br /&gt;maverick kann übrigens durch die neuste oder eine ältere Version ersetzt werden.</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/8423262657933768052/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/die-neuste-gdal-version-17.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8423262657933768052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8423262657933768052'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/die-neuste-gdal-version-17.html' title='Die neuste GDAL Version &gt; 1.7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-5924453240833746432</id><published>2010-11-24T11:26:00.000-08:00</published><updated>2010-11-24T11:28:20.712-08:00</updated><title type='text'>Mounten von Gemeinsamen Ordnern unter Ubuntu</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;das mounten von Gemeinsamen Ordnern erfolgt über:&lt;br /&gt;&lt;br /&gt;sudo mount -t vboxsf &quot;name_des_ordners&quot; /path/to/&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/5924453240833746432/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/mounten-von-gemeinsamen-ordnern-unter.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5924453240833746432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5924453240833746432'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/mounten-von-gemeinsamen-ordnern-unter.html' title='Mounten von Gemeinsamen Ordnern unter Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-4431060128620088779</id><published>2010-11-24T10:56:00.000-08:00</published><updated>2010-11-24T11:12:42.466-08:00</updated><title type='text'>Oracle auf Ubuntu Installieren</title><content type='html'>Hallo,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;habe eine sehr gute Anleitung gefunden um Oracle auf Ubuntu zu Installieren:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.pythian.com/news/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron/&quot;&gt;http://www.pythian.com/news/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;zwar ist die für Ubuntu Hardy, aber mit Lucid funktioniert diese auch. Zu Beachten ist nur, wenn ihr bei Schritt 3 seid, hat sich bei Ubuntu bei Hardy-&gt;Lucid was geändert. Das müsst ihr in der /etc/gdm/gdm.schema&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 12px; &quot;&gt;sudo gedit /etc/gdm/gdm.schemas&lt;br /&gt;&lt;br /&gt;Folgendes ändern, und zwar DisallowTCP von true auf false:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Vorher:&lt;/span&gt;&lt;br /&gt;&amp;lt;schema&amp;gt;&lt;br /&gt;&amp;lt;key&amp;gt;security/DisallowTCP&amp;lt;/key&amp;gt;&lt;br /&gt;&amp;lt;signature&amp;gt;b&amp;lt;/signature&amp;gt;&lt;br /&gt;&amp;lt;default&amp;gt;true&amp;lt;/default&amp;gt;&lt;br /&gt;&amp;lt;/schema&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Nachher:&lt;/span&gt;&lt;br /&gt;&amp;lt;schema&amp;gt;&lt;br /&gt;&amp;lt;key&amp;gt;security/DisallowTCP&amp;lt;/key&amp;gt;&lt;br /&gt;&amp;lt;signature&amp;gt;b&amp;lt;/signature&amp;gt;&lt;br /&gt;&amp;lt;default&amp;gt;false&amp;lt;/default&amp;gt;&lt;br /&gt;&amp;lt;/schema&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mfg -DK-&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/4431060128620088779/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/oracle-auf-ubuntu-installieren.html#comment-form' title='2 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4431060128620088779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4431060128620088779'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/11/oracle-auf-ubuntu-installieren.html' title='Oracle auf Ubuntu Installieren'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-4431326372976744834</id><published>2010-10-20T11:17:00.000-07:00</published><updated>2010-10-20T12:00:16.610-07:00</updated><title type='text'>Premature end of script headers</title><content type='html'>&lt;div&gt;Hallo,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;egal in welcher Sprache ihr auch probiert, falls ihr solch eine Fehlermeldung bekommt:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;[Wed Oct 20 20:16:37 2010] [error] [client 91.15.85.132] Premature end of script headers: index.cgi&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ist es meist immer ein rechte Problem oder ein Programm Problem, falls ihr gerade etwas entwickelt für cgi. Daher mit &quot;chown username:gruppe index.cgi&quot; den korrekten User zuweisen.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mfg. -DK-&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/4431326372976744834/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/premature-end-of-script-headers.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4431326372976744834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4431326372976744834'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/premature-end-of-script-headers.html' title='Premature end of script headers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-5619328643855387943</id><published>2010-10-16T11:15:00.000-07:00</published><updated>2010-10-16T11:22:34.928-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drupal"/><title type='text'>Drupal: Fivestar in einer View?</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;wie bekommt man das Fivestar Modul in z.B. &lt;b&gt;views-view-fields--VIEWNAME.tpl.php&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Die Lösung lautet:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;$node&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;=&lt;/span&gt;&lt;/span&gt; node_load(&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;$row&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;-&gt;&lt;/span&gt;&lt;/span&gt;nid); // zuerst ein Node Objekt Laden&lt;br /&gt;&lt;b&gt;print&lt;/b&gt; fivestar_widget_form(&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;$node&lt;/span&gt;&lt;/span&gt;); // Nun Bewertung generieren und Anzeigen&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/5619328643855387943/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/drupal-fivestar-in-einer-view.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5619328643855387943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5619328643855387943'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/drupal-fivestar-in-einer-view.html' title='Drupal: Fivestar in einer View?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-3206354496317194226</id><published>2010-10-09T09:22:00.000-07:00</published><updated>2010-10-09T09:32:09.953-07:00</updated><title type='text'>proftpd Kompilieren</title><content type='html'>Hallo,&lt;br /&gt;falls ihr gerne euer proftpd updaten wollt und ihr habt Plesk laufen, habe ich hier eine Möglichkeit wie ihr proftpd Kompilieren könnt, das es aber dennoch mit Plesk zusammenspielt.&lt;br /&gt;&lt;div style=&quot;border: 1px solid #CCC&quot;&gt;&lt;code&gt;cd /usr/src&lt;br /&gt;mkdir proftpd&lt;br /&gt;cd proftpd&lt;br /&gt;export FTP_VERSION=1.3.3b&lt;br /&gt;wget ftp://ftp.servus.at/ProFTPD/distrib/source/proftpd-$FTP_VERSION.tar.gz&lt;br /&gt;tar zfvx proftpd-$FTP_VERSION.tar.gz&lt;br /&gt;cd proftpd-$FTP_VERSION&lt;br /&gt;./configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc --localstatedir=/var/run --disable-sendfile --enable-auth-pam --with-modules=mod_ratio:mod_readme:mod_tls:mod_quotatab --enable-buffer-size=8092&lt;br /&gt;#--enable-buffer-size=8092 schont die Ressourcen&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;#syntax Check:&lt;br /&gt;proftpd -t&lt;br /&gt;#xinetd neustarten:&lt;br /&gt;/etc/init.d/xinetd restart&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;PS: Ich übernehme keine Haftung falls es Probleme mit diesen Vorgang gibt.</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/3206354496317194226/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/proftpd-kompilieren.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3206354496317194226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3206354496317194226'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/proftpd-kompilieren.html' title='proftpd Kompilieren'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-7297003130509807152</id><published>2010-10-08T06:10:00.000-07:00</published><updated>2010-10-08T07:05:42.207-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><title type='text'>Einen LPCWSTR oder const WCHAR* in einen String umwandeln</title><content type='html'>Hallo,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;falls ihr wie ich, Probleme habt den Datentyp LPCWSTR in ein String umzuwandeln, habe ich nun die Lösung gefunden:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Benötigte Header Dateien:&lt;/b&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;div&gt;#include &amp;lt;windows.h&amp;gt; // LPCWSTR&lt;/div&gt;&lt;div&gt;#include &amp;lt;string&amp;gt;  //wstring und string&lt;/div&gt;&lt;div&gt;#include &amp;lt;iostream&amp;gt; // cout und endl&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Die eigentliche Umwandlung:&lt;/b&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;div&gt;LPCWSTR text = L&lt;span class=&quot;Apple-style-span&quot;&gt;&quot;Hallo Welt!&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wstring wstr&lt;span class=&quot;Apple-style-span&quot;&gt;(&lt;/span&gt;text&lt;span class=&quot;Apple-style-span&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;string str&lt;span class=&quot;Apple-style-span&quot;&gt;(&lt;/span&gt;wstr.begin&lt;span class=&quot;Apple-style-span&quot;&gt;(),&lt;/span&gt; wstr.end&lt;span class=&quot;Apple-style-span&quot;&gt;());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;str.assign&lt;span class=&quot;Apple-style-span&quot;&gt;(&lt;/span&gt;wstr.begin&lt;span class=&quot;Apple-style-span&quot;&gt;(),&lt;/span&gt; wstr.end&lt;span class=&quot;Apple-style-span&quot;&gt;());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;cout &lt;span class=&quot;Apple-style-span&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; str &lt;span class=&quot;Apple-style-span&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; endl&lt;span class=&quot;Apple-style-span&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;mfg -DK-&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/7297003130509807152/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/einen-lpcwstr-oder-const-wchar-in-einen.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/7297003130509807152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/7297003130509807152'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/einen-lpcwstr-oder-const-wchar-in-einen.html' title='Einen LPCWSTR oder const WCHAR* in einen String umwandeln'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-143846425003624467</id><published>2010-10-07T15:40:00.000-07:00</published><updated>2010-10-07T15:51:46.937-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="session"/><title type='text'>ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in ...</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;falls bei euch mal bei session_start() folgender Fehler auftreten sollte und ihr einen eigenen Server habt:&lt;br /&gt;&lt;br /&gt;ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in ...&lt;br /&gt;&lt;br /&gt;könnt ihr das Problem lösen in dem ihr&lt;br /&gt;&lt;br /&gt;in der php.ini(unter ubuntu zu finden in /etc/php5/apache2/php.ini): &lt;b&gt;session.gc_probability&lt;/b&gt; auf 0 setzen und das ; davor entfernen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also das es so wie hier aussieht:&lt;br /&gt;&lt;br /&gt;session.gc_probability = 0&lt;br /&gt;&lt;br /&gt;&lt;div&gt;anschließend müsst ihr nur noch apache2 neustarten und euch ein cronjob einrichten der für euch die alten session in /var/lib/php5 löscht.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;mfg -DK-&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/143846425003624467/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/psfilescleanupdir-opendirvarlibphp5.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/143846425003624467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/143846425003624467'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/psfilescleanupdir-opendirvarlibphp5.html' title='ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in ...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-4159149240003539394</id><published>2010-10-06T04:33:00.000-07:00</published><updated>2010-10-06T04:38:08.267-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="XCode"/><title type='text'>XCode Shortcuts</title><content type='html'>&lt;div&gt;Hallo,&lt;br /&gt;&lt;br /&gt;habe etwas gefunden, was das arbeiten mit XCode vereinfacht:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.1729.us/xcode/Xcode%20Shortcuts.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px;&quot; src=&quot;http://www.1729.us/xcode/Xcode%20Shortcuts.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Quelle: &lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.1729.us/xcode/Xcode%20Shortcuts.png&quot;&gt;1727.us&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://brandontreb.com/xcode-shortcut-cheat-sheet/&quot;&gt;brandontreb.com&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/4159149240003539394/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/xcode-shortcuts.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4159149240003539394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/4159149240003539394'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/xcode-shortcuts.html' title='XCode Shortcuts'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-5181977224074213177</id><published>2010-10-05T13:45:00.001-07:00</published><updated>2010-10-05T13:48:56.040-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fun"/><title type='text'>Für Bastler</title><content type='html'>&lt;div&gt;Hallo, &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;gerade gefunden:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style=&quot;width: 400px&quot; src=&quot;http://rs-quattro.de/blog/wp-content/uploads/2010/01/ikea-auto.jpg&quot; /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Warum gibt es so etwas nicht zu kaufen? Warum gibt es nur Fertige Autos, das macht doch keinen Spass!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Quelle: &lt;a href=&quot;http://rs-quattro.de/blog/?m=201001&quot;&gt;http://rs-quattro.de/blog/?m=201001&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/5181977224074213177/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/fur-bastler.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5181977224074213177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/5181977224074213177'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/fur-bastler.html' title='Für Bastler'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-3326414915452183069</id><published>2010-10-04T06:06:00.001-07:00</published><updated>2010-10-04T06:12:03.211-07:00</updated><title type='text'>Google Entwickelt neues Bildformat für das Web&amp;Fotos</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;ich ich heute auf der GMX.net Homepage gelesen habe, entwickelt Google zukünftig auch ihr eigenes Bildformat, was laut Google eine bessere Kompression haben soll und zudem Frei sein soll. Dieser schritt macht Google da einerseits der defacto standard JPEG mit Patenten behaftet ist und einerseits, sehr alt ist und dementsprechend eine geringere Kompression hat. Der Standard soll WebP heißen und soll aus Googles VideoFormat Entwicklung entsprungen sein. Laut Google soll es bei gleicher Qualität um 39% kleiner sein, als JPEG Dateien. Was viele Webmaster freuen dürfte. Da sie entweder Traffic einsparen oder die Bilder in höhere Qualität anbieten können.&lt;br /&gt;&lt;br /&gt;Quelle:&lt;br /&gt;&lt;a href=&quot;http://portal.gmx.net/de/themen/digitale-welt/computer/11277634-Google-entwickelt-eigenes-Bildformat.html&quot;&gt;GMX.Net&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/3326414915452183069/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/google-entwickelt-neues-bildformat-fur.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3326414915452183069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3326414915452183069'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/google-entwickelt-neues-bildformat-fur.html' title='Google Entwickelt neues Bildformat für das Web&amp;Fotos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-1771047575203202634</id><published>2010-10-04T01:43:00.001-07:00</published><updated>2010-10-04T01:45:43.709-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LaTex"/><category scheme="http://www.blogger.com/atom/ns#" term="Tex"/><title type='text'>LaTex oder OpenOffice.org(LibreOffice) für Masterarbeit</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;es stellt sich nun die Frage, was ist geeigneter. OpenOffice.org oder LaTex. In den nächsten Tagen. Da ich gerne Makeup Sprachen verwende, werde ich mir mal LaTex anschauen, ob man ebenfalls so effizient Arbeiten kann wie bei OpenOffice z.B. Inhaltsverzeichnis, Deckblatt. Die Einarbeitung wird schwierig, ich werde aber die nächsten Tage Berichten wie ich mit LaTex(Tex) lernen voran komme.&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/1771047575203202634/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/latex-oder-openofficeorglibreoffice-fur.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1771047575203202634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1771047575203202634'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/10/latex-oder-openofficeorglibreoffice-fur.html' title='LaTex oder OpenOffice.org(LibreOffice) für Masterarbeit'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-187939553058937010</id><published>2010-09-29T19:07:00.000-07:00</published><updated>2010-09-29T19:16:48.953-07:00</updated><title type='text'>Das Ende der Online Bildagentur Polylooks</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;Hallo,&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;habe heute durch E-Mail erfahren das &lt;a href=&quot;http://www.polylooks.de/&quot;&gt;Polylooks&lt;/a&gt; dicht macht. Tja wenn man so hohe Anforderungen setzt für Bilder haben auch Hobby Fotografen die meiner Meinung nach ebenfalls gute Bild geschossen haben keine Chance. Daher hatte ich mich schon damals für &lt;a href=&quot;http://de.fotolia.com/partner/201425492&quot;&gt;fotolia.com&lt;/a&gt; entschieden.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;mfg -DK-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/187939553058937010/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/das-ende-der-online-bildagentur.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/187939553058937010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/187939553058937010'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/das-ende-der-online-bildagentur.html' title='Das Ende der Online Bildagentur Polylooks'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-7089514941120010038</id><published>2010-09-29T16:27:00.000-07:00</published><updated>2010-09-29T16:34:47.607-07:00</updated><title type='text'>Drupal und das PHP GD Problem</title><content type='html'>Hallo,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;falls ihr Drupal nutzt und ihr einen eigenen VServer oder Server habt und diese Meldungen kommen:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 12px; line-height: 19px; &quot;&gt;&lt;table class=&quot;system-status-report&quot; style=&quot;border-collapse: collapse; font-size: 12px; width: 809px; margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; &quot;&gt;&lt;tbody style=&quot;border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); &quot;&gt;&lt;tr class=&quot;warning odd merge-down&quot; style=&quot;color: rgb(34, 34, 0); background-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 153, 153); padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;th style=&quot;text-align: left; padding-right: 1em; border-bottom-width: 0px !important; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-left: 30px; padding-top: 6px; padding-bottom: 6px; background-image: url(http://www.rpg-studio.de/cms/misc/watchdog-warning.png); background-position: 5px 50%; background-repeat: no-repeat no-repeat; &quot;&gt;GD Image Filtering&lt;/th&gt;&lt;td style=&quot;font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-top: 1px; padding-right: 4px; padding-bottom: 1px; padding-left: 4px; border-bottom-width: 0px !important; &quot;&gt;Low Quality / Poor Performance&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;warning odd merge-up&quot; style=&quot;color: rgb(34, 34, 0); background-color: rgb(224, 224, 224); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 153, 153); padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;td colspan=&quot;2&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-top: 1px; padding-right: 4px; padding-bottom: 1px; padding-left: 30px; border-top-width: 0px !important; &quot;&gt;The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See http://www.php.net/manual/en/image.setup.php. An implementation of imagefilter in PHP will be used in the interim.&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;warning even merge-down&quot; style=&quot;color: rgb(34, 34, 0); background-color: initial; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 153, 153); padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; background-image: url(http://www.rpg-studio.de/cms/sites/default/themes/rootcandy/images/content_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); background-position: 0% 0%; background-repeat: repeat no-repeat; &quot;&gt;&lt;th style=&quot;text-align: left; padding-right: 1em; border-bottom-width: 0px !important; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-left: 30px; padding-top: 6px; padding-bottom: 6px; background-image: url(http://www.rpg-studio.de/cms/misc/watchdog-warning.png); background-position: 5px 50%; background-repeat: no-repeat no-repeat; &quot;&gt;GD Image Rotation&lt;/th&gt;&lt;td style=&quot;font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-top: 1px; padding-right: 4px; padding-bottom: 1px; padding-left: 4px; border-bottom-width: 0px !important; &quot;&gt;Low Quality / Poor Performance&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;warning even merge-up highlight&quot; style=&quot;color: rgb(34, 34, 0); background-color: rgb(255, 252, 200); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 153, 153); padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;td colspan=&quot;2&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, sans-serif; font: normal normal normal 13px/160% Arial, Tahoma, Helvetica, sans-serif; padding-top: 1px; padding-right: 4px; padding-bottom: 1px; padding-left: 30px; border-top-width: 0px !important; &quot;&gt;The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See: http://www.php.net/manual/en/image.setup.php. An implementation of imagerotate in PHP will used in the interim.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;br /&gt;Gibt es eine Lösung:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.howtoforge.com/recompiling-php5-with-bundled-support-for-gd-on-ubuntu&quot;&gt;http://www.howtoforge.com/recompiling-php5-with-bundled-support-for-gd-on-ubuntu&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hier mal auf Deutsch:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 12px; line-height: 13px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Für Ubuntu Hardy bis Lucid:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;apt-get install build-essential debhelper fakeroot&lt;br /&gt;cd /usr/src&lt;br /&gt;apt-get source php5&lt;br /&gt;apt-get build-dep php5&lt;br /&gt;cd php5-5.X.X #durch eure Versionen Ersetzen&lt;br /&gt;&lt;br /&gt;Anschließend müsst ihr in &quot;&lt;b&gt;debian/rules&lt;/b&gt;:&lt;br /&gt;&lt;b&gt;--with-gd=shared,/usr --enable-gd-native-ttf \&lt;/b&gt;&lt;br /&gt;durch folgendes ersetzen:&lt;br /&gt;&lt;b&gt;--with-gd=shared --enable-gd-native-ttf \&lt;/b&gt;&lt;br /&gt;Also einfach nur &quot;,/usr&quot; entfernen.&lt;br /&gt;&lt;br /&gt;Nun bauen wir es mit:&lt;br /&gt;dpkg-buildpackage -rfakeroot&lt;br /&gt;&lt;br /&gt;Installiert wird es mit:&lt;br /&gt;dpkg -i php5-gd_5*deb&lt;br /&gt;&lt;br /&gt;und jetzt nur noch den apache neustarten!&lt;br /&gt;&lt;br /&gt;/etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;Ich danke den User patusovniak für diese Tolle Tutorial!</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/7089514941120010038/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/drupal-und-das-php-gd-problem.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/7089514941120010038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/7089514941120010038'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/drupal-und-das-php-gd-problem.html' title='Drupal und das PHP GD Problem'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-8361241898776769996</id><published>2010-09-29T11:02:00.000-07:00</published><updated>2010-09-29T11:10:25.907-07:00</updated><title type='text'>16 Bit Computer in einen Computer Spiel?</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;als ich das lass dachte ich WTF?&lt;br /&gt;&lt;br /&gt;Hier der Link: &lt;a href=&quot;http://kotaku.com/5650027/man-builds-computer-inside-computer-game&quot;&gt;http://kotaku.com/5650027/man-builds-computer-inside-computer-game&lt;/a&gt;&lt;br /&gt;Aber sehr es euch selbst an.&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/8361241898776769996/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/16-bit-computer-in-einen-computer-spiel.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8361241898776769996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/8361241898776769996'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/16-bit-computer-in-einen-computer-spiel.html' title='16 Bit Computer in einen Computer Spiel?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-9013876277175216625</id><published>2010-09-29T06:37:00.000-07:00</published><updated>2010-09-29T06:39:26.637-07:00</updated><title type='text'>UUID einer VDI Datei von VirtualBox ändern</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;falls jemand ähnlich wie ich 1 Installation für mehre VMs verwendet, wird ermutlich auf  folgende Fehlermeldung gestoßen sein:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Die Die Festplatte /home/drachenkaiser/win2.vdi konnte nicht geöffnet werden.&lt;br /&gt;Cannot register the hard disk &#39;/home/drachenkaiser/win2.vdi&#39; with UUID {891b30d5-1b6f-4316-44b4-ce92bb9e07c7} because a hard disk &#39;/home/drachenkaiser/.VirtualBox/win.vdi&#39; with UUID {891b30d5-1b6f-4316-44b4-ce92bb9e07c7} already exists in the media registry (&#39;/home/drachenkaiser/.VirtualBox/VirtualBox.xml&#39;).&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Mit diesen Befehl:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;code&gt;VBoxManage internalcommands setvdiuuid win2.vdi&lt;/code&gt;&lt;/b&gt; kann man die UUID von der Virtuellen Festplatte ändern.&lt;br /&gt;&lt;br /&gt;mfg -DK-</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/9013876277175216625/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/uuid-einer-vdi-datei-von-virtualbox.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/9013876277175216625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/9013876277175216625'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/uuid-einer-vdi-datei-von-virtualbox.html' title='UUID einer VDI Datei von VirtualBox ändern'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-3592438084436744260</id><published>2010-09-29T05:16:00.001-07:00</published><updated>2010-09-29T05:52:30.227-07:00</updated><title type='text'>ScriptEngine und Modelbuilder für OpenJUMP</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;im Zuge eines Faches bei meinen Studium, sollte eine &lt;span style=&quot;font-weight:bold;&quot;&gt;ScriptEngine&lt;/span&gt; für &lt;span style=&quot;font-weight:bold;&quot;&gt;OpenJUMP&lt;/span&gt; entwickelt werden. Gemacht getan, die Beigefügte ScriptEngine ermöglicht es Plugins und kleine Scripte für OpenJUMP in Ruby, Python, Javascript zu Programmieren. Bei diesem Projekt kam mir die Idee eines &lt;span style=&quot;font-weight:bold;&quot;&gt;Modelbuilders&lt;/span&gt; für OpenJUMP zu Entwickeln der die ScriptEngine voll ausnutzt. Natürlich heißt er nicht ModelBuilder sondern &lt;span style=&quot;font-weight:bold;&quot;&gt;BrickBox&lt;/span&gt; womit man wie im Baukasten System seine Arbeitsschritte zusammenfassen kann. Natürlich ist er nicht vollkommen ausgereift, er beherrscht bisher nur die Befehle Union und Puffer. Falls es Interesse besteht, werde ich natürlich es Weiterentwickeln.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://drachenkaiser.rpg-studio.de/projekt/scriptengine_modelbuilder.rar&quot;&gt;Download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/3592438084436744260/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/scriptengine-und-modelbuilder-fur.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3592438084436744260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3592438084436744260'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/scriptengine-und-modelbuilder-fur.html' title='ScriptEngine und Modelbuilder für OpenJUMP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-1021890156923581279</id><published>2010-09-25T14:38:00.000-07:00</published><updated>2010-09-25T15:47:43.632-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kostenlos"/><category scheme="http://www.blogger.com/atom/ns#" term="Literatur"/><title type='text'>Gutenberg.de</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;habe auf der Suche nach einer alternative zu &lt;a href=&quot;http://web.archive.org&quot;&gt;web.archive.org&lt;/a&gt; folgende Seite gefunden:&lt;br /&gt;&lt;a href=&quot;http://www.gutenberg.org/browse/languages/de&quot;&gt;http://www.gutenberg.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hier findet man gute alter Klassiker der Weltliteratur wie Faust I und II, und andere Freie Schriftstücke.&lt;br /&gt;&lt;br /&gt;mfg -Kuma_</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/1021890156923581279/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/gutenbergde.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1021890156923581279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/1021890156923581279'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/gutenbergde.html' title='Gutenberg.de'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-3337591666016835258</id><published>2010-09-24T12:53:00.001-07:00</published><updated>2010-09-25T10:15:58.113-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick Referenz"/><title type='text'>Bash Quick-Referenz</title><content type='html'>&lt;b&gt;String länge:&lt;/b&gt;&lt;br /&gt;output=&quot;Hallo Welt&quot;;&lt;br /&gt;${#output}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Substring:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;output=&quot;Hallo Welt&quot;;&lt;br /&gt;${output: 0: 4}; #return: Hall&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Diese Referenz werde ich bei Gelegenheit erweitern.</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/3337591666016835258/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/bash-php-usw-scriptsprachen-quick.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3337591666016835258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/3337591666016835258'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/bash-php-usw-scriptsprachen-quick.html' title='Bash Quick-Referenz'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-2185417290164707606</id><published>2010-09-24T11:00:00.001-07:00</published><updated>2010-09-24T11:14:53.529-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="plesk"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="webserver"/><title type='text'>nginx vor Apache/Plesk schalten?</title><content type='html'>Hallo,&lt;br /&gt;&lt;br /&gt;nach langen suchen habe ich in der Plesk-Dokumentation gefunden wie man es machen könnte. Zuerst muss man den Port der Apache/Plesk Konfiguration z.B. auf den Port 8181 ändern, dafür muss man nur diesen Befehl ausführen:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;code&gt;&lt;br /&gt;/usr/local/psa/admin/sbin/websrvmng --set-http-port --port=8181&lt;br /&gt;&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Anschließend muss man diesen Befehl ausführen, damit der Port auf alle bisher erstellten Domains/Subdomains-Konfigurationen angewandt wird:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;code&gt;&lt;br /&gt;/usr/local/psa/admin/sbin/websrvmng --reconfigure-all&lt;br /&gt;&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Jetzt für jede einzelne Domain/Subdomain eine &quot;.conf&quot; Datei per Hand anzulegen, erschient mir zu langwierig, daher habe ich mir ein PHP-Shell Script geschrieben.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;create_nginx_vhost.php&lt;/b&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;$list_port  = 80;&lt;br /&gt;$to_port = 8181;&lt;br /&gt;&lt;br /&gt;$dh = opendir(&#39;/var/www/vhosts/&#39;);&lt;br /&gt;&lt;br /&gt;$sites = array();&lt;br /&gt;while(($file = readdir($dh)) !== false) {&lt;br /&gt;&lt;br /&gt;    if($file != &#39;.&#39; &amp;&amp; $file != &#39;..&#39; &amp;&amp; strlen($file) &gt; 5)  {&lt;br /&gt; if(count(explode(&#39;.&#39;,$file)) == 2 ) $sites[] = $file;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;closedir($dh);&lt;br /&gt;$subsites = array();&lt;br /&gt;&lt;br /&gt;foreach($sites as $site)&lt;br /&gt;{&lt;br /&gt;    $subsites[$site][] = &#39;&lt;br /&gt;server {&lt;br /&gt;    listen   &#39;.$list_port.&#39;;&lt;br /&gt;    server_name  &#39;.$site.&#39; www.&#39;.$site.&#39;;&lt;br /&gt;&lt;br /&gt;    location ~* ^.+\.(jpg|jpeg|jar|js|png|ico|rar|bz2|gif|txt|js|css|swf|zip|ttf|rar|avi|mid|mp4|flv|ogg|pdf|doc|exe|mpg|mp3|wav|mpeg|asf|wmv)$ {&lt;br /&gt;  root /var/www/vhosts/&#39;.$site.&#39;/httpdocs;&lt;br /&gt;        expires 30d;&lt;br /&gt;        access_log /var/log/nginx-static.log;&lt;br /&gt;     if (!-f $request_filename) {&lt;br /&gt;                proxy_pass http://&#39;.$site.&#39;:8181;&lt;br /&gt;                break;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    location / {&lt;br /&gt; proxy_pass http://&#39;.$site.&#39;:&#39;.$to_port.&#39;;&lt;br /&gt;        include /etc/nginx/proxy.conf;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&#39;;&lt;br /&gt;    $dh = opendir(&#39;/var/www/vhosts/&#39;.$site.&#39;/subdomains/&#39;);&lt;br /&gt;    while(($file = readdir($dh)) !== false) {&lt;br /&gt;        if($file != &#39;.&#39; &amp;&amp; $file != &#39;..&#39; &amp;&amp; is_dir(&#39;/var/www/vhosts/&#39;.$site.&#39;/subdomains/&#39;.$file)) {&lt;br /&gt;     $subsites[$site][] = &#39;&lt;br /&gt;server {&lt;br /&gt;    listen   &#39;.$list_port.&#39;;&lt;br /&gt;    server_name  &#39;.$file.&#39;.&#39;.$site.&#39;;&lt;br /&gt;&lt;br /&gt;    location ~* ^.+\.(jpg|jpeg|js|png|ico|rar|bz2|jar|gif|txt|js|css|swf|zip|rar|ttf|mid|avi|mp4|flv|ogg|pdf|exe|doc|mpg|mp3|wav|mpeg|asf|wmv)$ {&lt;br /&gt;  root /var/www/vhosts/&#39;.$site.&#39;/subdomains/&#39;.$file.&#39;/httpdocs;&lt;br /&gt;  access_log /var/log/nginx-static.log;&lt;br /&gt;        expires 30d;&lt;br /&gt;        if (!-f $request_filename) {&lt;br /&gt;                proxy_pass http://&#39;.$file.&#39;.&#39;.$site.&#39;:8181;&lt;br /&gt;                break;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    location / {&lt;br /&gt; proxy_pass         http://&#39;.$file.&#39;.&#39;.$site.&#39;:&#39;.$to_port.&#39;;&lt;br /&gt; include /etc/nginx/proxy.conf;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&#39;;&lt;br /&gt; }&lt;br /&gt;    }&lt;br /&gt;    closedir($dh);&lt;br /&gt;    file_put_contents(&#39;/etc/nginx/sites-enabled/&#39;.$site, implode(&quot;\n&quot;,$subsites[$site]));&lt;br /&gt;}&lt;br /&gt;print &quot;\nFertig\n&quot;;&lt;br /&gt;?&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Dieses habe ich dann mittels:&lt;br /&gt;&lt;code&gt;sudo /usr/bin/php create_nginx_vhost.php&lt;/code&gt;&lt;br /&gt;ausgeführt.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warum sollte man dies machen?&lt;/b&gt;&lt;br /&gt;Wir haben uns für diesen schritt entschieden, um unsere Seite zu beschleunigen. Vor der Umstellung liefen ungefähr:&lt;br /&gt;21-40 Apache Prozesse, was natürlich mit 20 MB Ram verbrauch für jeden Apache Prozess zu Buche schlägt. Heute mit apache laufen ca. nur noch 8-12 Apache Prozesse &lt;b&gt;bei Hochlast&lt;/b&gt;. Apache kümmert sich um die ganzen php Scripte und nginx versorgt die User mit den ganzen Statischen-Dateien wie jpg,css,js usw.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Wer Drupal einsetzt und möchte gerne Fortschrittsbalken auch unter nginx/apache Kombination nutzen, sollte dieses Plugin installieren:&lt;br /&gt;&lt;a href=&quot;http://drupal.org/project/filefield_nginx_progress&quot;&gt;http://drupal.org/project/filefield_nginx_progress&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/2185417290164707606/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/nginx-vor-apacheplesk-schalten.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/2185417290164707606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/2185417290164707606'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/nginx-vor-apacheplesk-schalten.html' title='nginx vor Apache/Plesk schalten?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5211247635485524970.post-359267655173035378</id><published>2010-09-24T10:40:00.000-07:00</published><updated>2010-09-24T10:52:19.766-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="codeschnipsel"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Wie Konvertiert man ein komplettes Verzeichnis?</title><content type='html'>Mir kam die Idee, wie konvertiere ich alle AVI-Dateien eines Verzeichnis von XVID in x264?&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;for input in $(find *avi)&lt;br /&gt; do&lt;br /&gt; output=${input%\.avi}.mkv;&lt;br /&gt; mencoder -msglevel all=-1:statusline=5 -vf pullup,softskip -ovc x264 $input  -x264encopts bitrate=600:8x8dct:partitions=all:me=umh:me_range=23:threads=auto -oac copy -o $output&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Dies ist ein einfaches Bash-Script was dies möglich macht. zuerst listen wir alle AVI Dateien mittels &lt;span style=&quot;font-style:italic;&quot;&gt;&lt;blockquote&gt;find *avi&lt;/blockquote&gt;&lt;/span&gt; auf. Dies fügen wir anschließend in eine FOR-Schleife ein. Anschließend ersetzen wir avi durch mkv, mittels &lt;blockquote&gt;output=${input%\.avi}.mkv;&lt;/blockquote&gt;(Ein Substring in Bash zu machen ist wirklich seltsam). Und nun der mencoder Befehl und wir sind Fertig!</content><link rel='replies' type='application/atom+xml' href='http://drachenkaiser.blogspot.com/feeds/359267655173035378/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/wie-konvertiert-man-ein-komplettes.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/359267655173035378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211247635485524970/posts/default/359267655173035378'/><link rel='alternate' type='text/html' href='http://drachenkaiser.blogspot.com/2010/09/wie-konvertiert-man-ein-komplettes.html' title='Wie Konvertiert man ein komplettes Verzeichnis?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>