<?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>derzeit namenlos</title>
	<atom:link href="http://blog.lostpackets.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lostpackets.de</link>
	<description></description>
	<lastBuildDate>Mon, 05 Dec 2011 19:33:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>&#8220;Frecency&#8221; based dirctory navigation</title>
		<link>http://blog.lostpackets.de/2011/12/05/frecency-based-dirctory-navigation/</link>
		<comments>http://blog.lostpackets.de/2011/12/05/frecency-based-dirctory-navigation/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 19:33:23 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=635</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/>I only installed this awesome script called z last week, but it already saved me a ton of typing. z string cds to the most frecently (portmanteau of frequent and recent) used directory. Since the alias z is already taken in my setup, I&#8217;m using zd, which I find to be even for fitting than [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/><p>I only installed this <a href="https://github.com/rupa/z">awesome script called <em>z</em></a> last week, but it already saved me a ton of typing.<br />
<em>z string</em> <em>cd</em>s to the most frecently (portmanteau of frequent and recent) used directory. Since the alias <em>z</em> is already taken in my setup, I&#8217;m using <em>zd</em>, which I find to be even for fitting than only <em>z</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/12/05/frecency-based-dirctory-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>minimal zsh prompt</title>
		<link>http://blog.lostpackets.de/2011/11/29/minimal-zsh-prompt/</link>
		<comments>http://blog.lostpackets.de/2011/11/29/minimal-zsh-prompt/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 16:15:06 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=613</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/>I recently changed my zsh prompt to show only as much information as needed. I don&#8217;t need to constantly look at the time or date or the battery status of my laptop. if I&#8217;m on the local machine, it displays only a &#8220;%&#8221; on the left side and the current path on the right (disappears [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/><p>I recently changed my zsh prompt to show only as much information as needed. I don&#8217;t need to constantly look at <a href="http://http://aperiodic.net/phil/prompt/">the time or date</a> or <a href="http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/">the battery status of my laptop</a>.</p>
<p><a href="http://blog.lostpackets.de/wp-content/uploads/2011/11/2011-11-29-144556_650x461_scrot1.png"><img src="http://blog.lostpackets.de/wp-content/uploads/2011/11/2011-11-29-144556_650x461_scrot1.png" alt="" title="minimal_zsh_prompt" class="aligncenter size-full wp-image-615" /></a></p>
<li>if I&#8217;m on the local machine, it displays only a &#8220;%&#8221; on <a href="http://blog.lostpackets.de/wp-content/uploads/2011/11/2011-11-29-144556_650x461_scrot.png"></a>the left side and the current path on the right (disappears when written ino)</li>
<li>if the current directory is under (git) version control, some git status information is displayed(thanks to <a href="https://github.com/olivierverdier/zsh-git-prompt.git">zsh-git-prompt</a>, which you need to install, if you want this too)</li>
<li>when the last command exited with a nonzero exit code, the exit code is shown on its own line</li>
<li>if I have &#8220;elevated privileges&#8221; (i.e. root), &#8220;ROOT&#8221; is displayed with a RED background and the machine name</li>
<li>if logged in over ssh, user- and hostname are displayed</li>
<li>after commands taking longer than 2 seconds some timing statistics are shown (this is not technically part of the prompt…</li>
<p>Here is the relevant part of my zshrc:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export REPORTTIME=2<br />
<br />
setopt prompt_subst<br />
source ~/.zsh/git-prompt/zshrc.sh<br />
<br />
if [ $SSH_CONNECTION ]; then SSH=&quot;%n@%m&quot;; else SSH=&quot;&quot;; fi<br />
<br />
PROMPT='%(?..$PR_RED%?\<br />
<br />
)%{$reset_color%}%(!.$PR_RED%SROOT%s$PR_NO_COLOUR@%B%m%b.)$SSH$(git_super_status)%# '<br />
RPROMPT='%~'</div></div>
<p>ps: the colour scheme is the very trendy <a href="https://github.com/altercation/solarized">solarized</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/11/29/minimal-zsh-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pyCardDAV</title>
		<link>http://blog.lostpackets.de/2011/08/13/pycarddav/</link>
		<comments>http://blog.lostpackets.de/2011/08/13/pycarddav/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 13:17:53 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=586</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/>In the past week I hacked together a simple CLI CardDAV client for use with mutt&#8217;s query_command. At the moment it is read-only, is only tested with davical and only saves email addresses. If you are still interested, you can check it out at http://pycarddav.lostpackets.de]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><br/><p>In the past week I hacked together a simple CLI CardDAV client for use with mutt&#8217;s query_command. At the moment it is read-only, is only tested with davical and only saves email addresses. If you are still interested, you can check it out at <a href="http://pycarddav.lostpackets.de">http://pycarddav.lostpackets.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/08/13/pycarddav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD/Postgresql</title>
		<link>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/</link>
		<comments>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 17:09:36 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd postgresql semaphores]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=582</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>Error: postgres[993]: [1-1] FATAL: could not create semaphores: No space left on device postgres[993]: [1-2] DETAIL: Failed system call was semget(5432003, 17, 03600). postgres[993]: [1-3] HINT: This error does *not* mean that you have run out of disk space. postgres[993]: [1-4] It occurs when either the system limit for the maximum number of semaphore sets [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>Error:</p>
<blockquote><p>
postgres[993]: [1-1] FATAL:  could not create semaphores: No space left on device<br />
postgres[993]: [1-2] DETAIL:  Failed system call was semget(5432003, 17, 03600).<br />
postgres[993]: [1-3] HINT:  This error does *not* mean that you have run out of disk space.<br />
postgres[993]: [1-4]     It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of<br />
postgres[993]: [1-5]  semaphores (SEMMNS), would be exceeded.  You need to raise the respective kernel parameter.  Alternatively, reduce PostgreSQL&#8217;s<br />
postgres[993]: [1-6]  consumption of semaphores by reducing its max_connections parameter (currently 40).<br />
postgres[993]: [1-7]     The PostgreSQL documentation contains more information about configuring your system for PostgreSQL. </p>
</blockquote>
<p>Fix:</p>
<p>add the following to <em>/boot/loader.conf</em></p>
<blockquote><p>
kern.ipc.semmni=255<br />
kern.ipc.semmns=512<br />
kern.ipc.semmnu=256
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/07/09/freebsdpostgresql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>X100P besser als ihr Ruf</title>
		<link>http://blog.lostpackets.de/2011/02/14/x100p-besser-als-ihr-ruf/</link>
		<comments>http://blog.lostpackets.de/2011/02/14/x100p-besser-als-ihr-ruf/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 01:05:41 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Telephon]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[dahdi]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[pots]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=574</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/tel.png" width="65" height="45" alt="" title="Telephon" /><br/>Da es seit kurzem DAHDI für FreeBSD gibt, habe ich letze Woche eine alte X100P PCI-Karte in meinen FreeBSD Homeserver gesteckt und habe mal wieder Asterisk installiert. Über CSipSimple (großartige Software übrigens) bin ich nun auch über mein Android Telephon mit dem Festnetz verbunden. Von der Tonqualität war ich äußerts positiv überrascht, da X100P Karten [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/comp1.png" width="52" height="45" alt="" title="Computing" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/tel.png" width="65" height="45" alt="" title="Telephon" /><br/><p>Da es seit kurzem <a href="http://freebsdfoundation.blogspot.com/2010/10/update-on-dahdi-project.html">DAHDI für FreeBSD</a> gibt, habe ich letze Woche eine alte <a href="http://www.x100p.com/products/FXO.php">X100P</a> PCI-Karte in meinen FreeBSD Homeserver gesteckt und habe mal wieder Asterisk installiert. Über <a href="http://http://code.google.com/p/csipsimple/">CSipSimple</a> (großartige Software übrigens) bin ich nun auch über mein Android Telephon mit dem Festnetz verbunden.</p>
<p>Von der Tonqualität war ich äußerts positiv überrascht, da X100P Karten einen außerordentlich schlechten Ruf genießen und Digium den Vertrieb solcher Karten ganz eingestellt hat und nur noch billige China-Klone erhältich sind. Auch haben mich <a href="http://blog.lostpackets.de/asterisk-auf-freebsd-mit-avm-fritzcard/">meine letzen Asterisk-POTS/ISDN Experimente</a> mit FritzCard und HFC basierten ISDN-Karten nicht dauerhaft befriedigt. Damals gab es aber auch noch nicht den <a href="http://www.rowetel.com/blog/?page_id=454">Open Source Line Echo Canceller (OSLEC)</a> der ebenfalls in DAHDI für FreeBSD (misc/dahdi) enthalten ist. Insgesamt von Echo keine Spur, nur ein leichtes Rauschen am VOIP Ende.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2011/02/14/x100p-besser-als-ihr-ruf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ABBYY CLI OCR on FreeBSD 8.1</title>
		<link>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/</link>
		<comments>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 12:30:26 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ocr]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=562</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>ABBYY CLI OCR for Linux installs (and works) nicely on FreeBSD. Just install the linuxulator ( I use emulators/linux_base-f9), if your / is on a SD Card like mine you might want to mount something else to /opt, as ABBYY OCR takes more than 730MB there. Just run the .sh executable to install. Before being [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p><a href="http://www.ocr4linux.com">ABBYY CLI OCR for Linux</a> installs (and works) nicely on FreeBSD. Just install the <a href="http://www.freebsd.org/doc/handbook/linuxemu.html">linuxulator</a> ( I use <span class="mono">emulators/linux_base-f9</span>), if your / is on a SD Card like mine you might want to mount something else to <span class="mono">/opt</span>, as ABBYY OCR takes more than 730MB there. Just run the <span class="mono">.sh</span> executable to install. Before being able to run <span class="mono">abbyyocr</span> you need to <span class="mono">export LD_LIBRARY_PATH=/opt/ABBYYOCR</span> ( I put it in my <span class="mono">.shellrc</span>). Happy OCRing!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/11/abbyy-cli-ocr-on-freebsd-8-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching: aus open wird see</title>
		<link>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/</link>
		<comments>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 00:43:27 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=551</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/>Wer OS Xs Kommandozeilentool open gerne benutzt, dem sei hiermit run-mailcap empfohlen. run-mailcap öffnet je nach Option Dateien zum lesen, editieren oder drucken, auf Debian sind dafür auch schon entsprechenden Aliase bereits gesetzt (see, edit, compose, print) auf FreeBSD muss selber Hand angelegt werden. Vorteil: es können auch weiter CLI Programme geöffnet werden. Der MIME [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/><p>Wer OS Xs Kommandozeilentool <span class="mono">open</span> gerne benutzt, dem sei hiermit <span class="mono">run-mailcap</span> empfohlen. <span class="mono">run-mailcap</span> öffnet je nach Option Dateien zum lesen, editieren oder drucken, auf Debian sind dafür auch schon entsprechenden Aliase bereits gesetzt (<span class="mono">see, edit, compose, print</span>) auf FreeBSD muss selber Hand angelegt werden. Vorteil: es können auch weiter CLI Programme geöffnet werden.</p>
<p>Der MIME Typ läßt sich übrigens mit <span class="mono">file &#8211;mime-type</span> bestimmen.</p>
<p>Mit welchem Programm die Datei geöffnet wird, hängt von den Einstellungen in <em>~/.mailcap</em> und <em>~/.mime.types</em> ab, die entsprechenden Systemeinstellungen sind <em>/etc/mailcap</em> und <em>/etc/mime.types</em>, bzw bei FreeBSD in <em>/usr/local/etc/</em> zu finden.</p>
<p>Für alte GNU/Linux/*BSD Hasen wird das nichts neues sein, ich hab erst heute danach gesucht.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/10/switching-aus-open-wird-see/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching</title>
		<link>http://blog.lostpackets.de/2010/10/09/switching/</link>
		<comments>http://blog.lostpackets.de/2010/10/09/switching/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 22:35:36 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=522</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/>Ich verabschiede mich mehr und mehr aus praktischen und ideologischen Gründen von OS X. Die meisten Programme die ich benutze sind zwar Open Source, aber ein paar OS X spezifische nutze (oder nutzte) ich dann doch. Daher schaue ich mich derzeit nach Alternativen für solche Programme um. Hier die ersten vier: EDA (Eagle) GPLeda (gschem [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><img src="http://blog.lostpackets.de/wp-content/uploads/icons/mac.png" width="41" height="45" alt="" title="mac" /><br/><p>Ich verabschiede mich mehr und mehr aus praktischen und ideologischen Gründen von OS X. Die meisten Programme die ich benutze sind zwar Open Source, aber ein paar OS X spezifische nutze (oder nutzte) ich dann doch. Daher schaue ich mich derzeit nach Alternativen für solche Programme um. Hier die ersten vier:</p>
<p><strong>EDA</strong> (Eagle)</p>
<ul>
<li>
<a href="http://www.gpleda.org/index.html">GPLeda (gschem &#038; pcb)</a> zwar etwas gewöhnungsbedürftig (nicht das EAGLE das nicht wäre), aber dann schnell zu bedienen, kann alles was man erwartet und macht mehr Spaß als Eagle. Benutze ich auch schon länger auf OS X.
</li>
</ul>
<p> <strong>Musicplayer</strong> (iTunes)</p>
<ul>
<li><a href="http://banshee.fm/">banshee</a>: echter iTunes Klon, gefällt mir aber mitlerweile besser als iTunes, fühlt sich schneller an, synchronisiert mit meinem Android Telefon. Gibt es auch als Beta (instabil und nicht fehlender Device Support) für OS X.</li>
</ul>
<p><strong>OCR Software</strong>(ABBYY Reaader)</p>
<ul>
<li><a href="http://www.ocr4linux.com/">ABBYY CLI OCR for Linux</a> <del datetime="2010-10-10T12:31:49+00:00">selbst noch nicht ausprobiert aber ABBYY Fine Reader for Mac rockt.,</del> Die einzige proprietäre Software die ich bislang auf freien Betriebsystemen einsetze: Kosten: 149€ (einmal) für 12 000  Seiten pro Jahr (gibt natürlich auch größere Seitenanzahlen, aber mit 12 000 Seiten werde ich wohl im Jahr auskommen). Man kann einen <a href="http://www.abbyy.com/sdk/fre/request?purpose=trial">Demo Key anfordern</a> (wird auch prompt zugesendet). Wer nicht gerne für Software Geld ausgibt (ich habe kein Problem damit) wird sich wohl mit einer der freien OCR Pakete auseinandersetzen müssen.  Besonders gut sieht das aber noch nicht aus, siehe <a href="http://www.splitbrain.org/blog/2010-06/15-linux_ocr_software_comparison">Linux OCR Software Comparison<br />
</a></li>
</ul>
<ul></ul>
<p><strong>Outliner</strong> (Omni Outliner) </p>
<ul>
<li><a href="http://orgmode.org">emacs org-mode</a> emacs, igitt, pfui, bäh, Fingerkrampf, aber bester Outliner ever! (vim-outliner kann leider nichts&#8230;) Werd mich wohl noch etwas an emacs gewöhnen müssen, aber da muss ich jetzt durch</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/10/09/switching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gschem/gEDA symbol for PGA2311/PGA2310</title>
		<link>http://blog.lostpackets.de/2010/05/18/gschemgeda-symbol-for-pga2311pga2310/</link>
		<comments>http://blog.lostpackets.de/2010/05/18/gschemgeda-symbol-for-pga2311pga2310/#comments</comments>
		<pubDate>Mon, 17 May 2010 23:14:39 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[elektronik]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=494</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/elektronik.png" width="54" height="45" alt="" title="elektronik" /><br/>gschem/gEDA Symbol für TI/Burr-Brown PGA2311/PGA2310: pga2311.sym pga2311.src]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/elektronik.png" width="54" height="45" alt="" title="elektronik" /><br/><p> <a href="http://blog.lostpackets.de/wp-content/uploads/2010/05/pga2310.png" rel="lightbox[pics494]" title="pga2311"><img src="http://blog.lostpackets.de/wp-content/uploads/2010/05/pga2310.thumbnail.png" alt="" width="103" height="200" class="attachment wp-att-495 " /></a></p>
<p><a href="http://www.geda.seul.org">gschem/gEDA</a> Symbol für TI/Burr-Brown PGA2311/PGA2310:<br />
<a href="http://blog.lostpackets.de/wp-content/uploads/2010/05/pga2311.sym">pga2311.sym</a><br />
<a href="http://blog.lostpackets.de/wp-content/uploads/2010/05/pga2311.src">pga2311.src</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/05/18/gschemgeda-symbol-for-pga2311pga2310/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>etherpad FreeBSD</title>
		<link>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/</link>
		<comments>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 22:38:32 +0000</pubDate>
		<dc:creator>Christian Geier</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[etherpad]]></category>
		<category><![CDATA[mod_proxy]]></category>

		<guid isPermaLink="false">http://blog.lostpackets.de/?p=468</guid>
		<description><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/>etherpad works very well on FreeBSD. Installing it is pretty straight forward and you can mostly follow &#8220;generic&#8221; Linux Howtos, but there are some differences, listed here. update 20.08.2011: added basic rc.d script update 2010-10-2: make sure you install scala 2.7.7, scala 2.8.0 won&#8217;t work you don&#8217;t have to change the EXPORT and cp commands [...]]]></description>
			<content:encoded><![CDATA[<img src="http://blog.lostpackets.de/wp-content/uploads/icons/FreeBSD.png" width="45" height="47" alt="" title="FreeBSD" /><br/><p>etherpad works very well on FreeBSD. Installing it is pretty straight forward and you can mostly follow &#8220;generic&#8221; Linux Howtos, but there are some differences, listed here.<br />
<span id="more-468"></span></p>
<p><strong>update 20.08.2011:</strong><br />
added basic rc.d script</p>
<p><strong>update 2010-10-2:</strong></p>
<ul>
<li>make sure you install scala 2.7.7, scala 2.8.0 won&#8217;t work</li>
<li>you don&#8217;t have to change the EXPORT and cp commands any more, just get <a href="http://github.com/redhog/pad">redhog</a>s etherpad version from github <em>git clone http://github.com/redhog/pad.git</em> which has some nice additions anyway</li>
</ul>
<p>/update</p>
<p>Some etherpad Linux Howtos:</p>
<ul>
<li><a href="http://code.google.com/p/etherpad/wiki/Instructions">instructions from google code wiki</a></li>
<li><a href="http://mclear.co.uk/2010/03/10/installing-etherpad-on-debian/">etherpad on debian</a></li>
<li><a href="http://pauleira.com/13/installing-etherpad/">very elaborate on for CentOS</a></li>
</ul>
<p>install:</p>
<ul>
<li>JDK, I use <span class="mono">java/jdk16</span></li>
<li><span class="mono">lang/scala</span></li>
<li>mysql, I use <span class="mono">databases/mysql51-server</span></li>
<li><span class="mono">databases/mysql-connector-java</span></li>
<li><span class="mono">shells/bash</span></li>
<li><span class="mono">devel/mercurial</span></li>
</ul>
<p>since some of the scripts use <span class=mono>#!/bin/shell</span> I do</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ln -s /usr/local/bin/bash /bin/bash</div></div>
<p>otherwise you can just grep through the source later and replace all <span class=mono>#!/bin/bash</span> with <span class=mono>#!/usr/local/bin/bash</span></p>
<p>make sure that <span class=mono>CP_CMD=&#8221;/bin/cp -R -n&#8221; </span> in <em>etherpad/trunk/infrastructure/bin/compilecache.sh</em> i.e. by replacing Darwin with FreeBSD in line 18 or just change line 17.</p>
<p>the exports are:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export JAVA_HOME=&quot;/usr/local/diablo-jdk1.6.0&quot;<br />
export SCALA_HOME=&quot;/usr/local/share/scala-2.7.7&quot;<br />
export JAVA=&quot;$JAVA_HOME/bin/java&quot;<br />
export SCALA=&quot;$SCALA_HOME/bin/scala&quot;<br />
export PATH=&quot;$JAVA_HOME/bin:$SCALA_HOME/bin:/usr/local/mysql/bin:$PATH&quot;<br />
export MYSQL_CONNECTOR_JAR=&quot;/usr/local/share/java/classes/mysql-connector-java.jar&quot;</div></div>
<p>you might consider to add an etherpad user.</p>
<p>for reaching etherpad through port 80 I use apache&#8217;s mod_proxy. The configurations I found didn&#8217;t work for me, this did:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;virtualhost *:80&gt;<br />
&nbsp; ServerName yourdomain.tld<br />
&nbsp; ServerSignature Off<br />
<br />
&nbsp; ErrorLog /var/log/apache2/yourdomain.tld/error.log<br />
&nbsp; LogLevel warn<br />
&nbsp; CustomLog /var/log/apache2/yourdomain.tld/access.log combined<br />
&nbsp; <br />
&nbsp; ProxyRequests Off<br />
&nbsp; <br />
&nbsp; &lt;proxy *&gt;<br />
&nbsp; &nbsp; Order deny,allow<br />
&nbsp; &nbsp; Allow from all <br />
&nbsp; &lt;/proxy&gt;<br />
<br />
&nbsp; ProxyPass / http://localhost:9000/<br />
&nbsp; ProxyPassReverse / http://localhost:9000/<br />
&nbsp; ProxyPreserveHost on<br />
&lt;/virtualhost&gt;</div></div>
<p>don&#8217;t forget to load mod_proxy and mod_proxy_http</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">LoadModule proxy_module libexec/apache2/mod_proxy.so<br />
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so</div></div>
<p>if you are using apache2 and don&#8217;t have mod_proxy installed, just make it again with <span class=mono>WITH_PROXY_MODULES=yes</span></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /usr/ports/www/apache20<br />
make WITH_PROXY_MODULES=yes<br />
make deinstall<br />
make reinstall</div></div>
<p>Here is a very basic rc.d script (can only start etherpad). You have to change the path to your etherpad installation.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">!/bin/sh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
#<br />
<br />
# PROVIDE: etherpad<br />
# REQUIRE: LOGIN<br />
# KEYWORD: shutdown<br />
#<br />
# Add the following line to /etc/rc.conf to enable etherpad:<br />
#<br />
# etherpad_enable=&quot;YES&quot;<br />
#<br />
<br />
. /etc/rc.subr<br />
<br />
name=&quot;etherpad&quot;<br />
rcvar=${name}_enable<br />
<br />
<br />
start_cmd=&quot;${name}_start&quot;<br />
#stop_cmd=&quot;${name}_stop&quot;<br />
<br />
load_rc_config $name<br />
<br />
etherpad_user=&quot;etherpad&quot;<br />
procname=&quot;java&quot;<br />
<br />
<br />
pidfile=/var/run/etherpad/etherpad.pid<br />
daemon_args=&quot; -c -f /path/to/etherpad/bin/run.sh&quot;<br />
etherpad_start()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; su -l ${etherpad_user} -c &quot;/usr/sbin/daemon ${daemon_args}&quot;<br />
}<br />
<br />
run_rc_command &quot;$1&quot;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.lostpackets.de/2010/03/31/etherpad-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

