<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>shell &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/shell/</link>
	<description>Feed of posts on WordPress.com tagged "shell"</description>
	<pubDate>Tue, 24 Nov 2009 04:06:28 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Black Dog G2 SmallCracker]]></title>
<link>http://lurecult.wordpress.com/2009/11/23/black-dog-g2-smallcracker/</link>
<pubDate>Mon, 23 Nov 2009 13:21:57 +0000</pubDate>
<dc:creator>Lure Cult</dc:creator>
<guid>http://lurecult.wordpress.com/2009/11/23/black-dog-g2-smallcracker/</guid>
<description><![CDATA[El Shell Cracker Mini Imitación exacta de un pez sol o bluegill, el nuevo swimbait SmallCracker de B]]></description>
<content:encoded><![CDATA[El Shell Cracker Mini Imitación exacta de un pez sol o bluegill, el nuevo swimbait SmallCracker de B]]></content:encoded>
</item>
<item>
<title><![CDATA[shell: partition &amp;&amp; hdd backup ]]></title>
<link>http://guruway.wordpress.com/2009/11/23/shell-partition-hdd-backup/</link>
<pubDate>Mon, 23 Nov 2009 09:31:40 +0000</pubDate>
<dc:creator>guruway</dc:creator>
<guid>http://guruway.wordpress.com/2009/11/23/shell-partition-hdd-backup/</guid>
<description><![CDATA[dd if=/dev/sda of=/dev/sdb // склонировали диск1 на диск2 dd if=/dev/sda of=~/disk1.img // склониров]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>dd if=/dev/sda of=/dev/sdb</strong>  // склонировали диск1 на диск2<br />
<strong>dd if=/dev/sda of=~/disk1.img</strong> // склонировали диск1 в файл</p>
<p><strong>dd if=/dev/sda1 of=/dev/sdb1</strong> // склонировали 1 раздел 1ого диска в 1ый раздел 2ого диска</p>
<p><strong>dd if=/dev/sda1 of=~/disk1_1.img</strong> // склонировали 1 раздел 1ого диска в файл</p>
<p><strong>dd if=disk1.img of=/dev/sda</strong> // сделали восстановление из файла на диск.</p>
<p><strong>dd if=disk2.img of=/dev/sda1</strong> // сделали восстановление из файла на раздел</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[HowTo: convertire MKV in AVI]]></title>
<link>http://idl3.wordpress.com/2009/11/23/howto-convertire-mkv-in-avi/</link>
<pubDate>Mon, 23 Nov 2009 08:58:40 +0000</pubDate>
<dc:creator>idl3</dc:creator>
<guid>http://idl3.wordpress.com/2009/11/23/howto-convertire-mkv-in-avi/</guid>
<description><![CDATA[Non so perche&#8217; vogliate fare una cosa del genere, ma se proprio volete convertire un file Matr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Non so perche&#8217; vogliate fare una cosa del genere, ma se proprio volete <strong>convertire un file <a href="http://it.wikipedia.org/wiki/Matroska">Matroska</a> in un formato AVI</strong> potete usare <code>mencoder</code>. Vediamo come.</p>
<p><img src="http://idl3.wordpress.com/files/2009/11/matroska.png?w=150" alt="" title="matroska" width="150" height="150" class="alignleft size-thumbnail wp-image-1201" />Prima di tutto vediamo cosa sono questi file <a href="http://www.matroska.org/">Matroska</a>. Possiamo averne di tre tipi: <em>MKV</em> (video), <em>MKA</em> (audio) e <em>MKS</em> (sottotitoli), per crearli viene utilizzato l&#8217;<acronym title="Extensible Binary Meta Language">EBML</acronym>. Si tratta di un buon formato, anche se puo&#8217; dare <strong>qualche problemino</strong> con alcuni riproduttori di video, ma questo e&#8217; un problema dei riproduttori (o lettori) e non del formato del file. Comunque, ipotizziamo ci sia un buon motivo dietro il vostro desiderio di <strong>convertire il vostro bel video MKV in un altro formato</strong>. Per prima cosa dovete sapere in quale formato convertire, vediamone due.</p>
<p>Se volete <strong>convertire da Matroska a <a href="http://it.wikipedia.org/wiki/Xvid">Xvid</a></strong> dovete dare questo <strong>comando</strong>:<br />
<code>$ mencoder INPUT.mkv -ofps 25 -ovc xvid -oac mp3lame -lameopts abr:br=192 -srate 48000 -xvidencopts fixed_quant=4 -vf scale -zoom -xy 720 -o OUTPUT.avi</code><br />
analizzare ogni singola opzione sarebbe lungo e per voi inutile, andatevi dunque a leggere la <a href="http://www.mplayerhq.hu/DOCS/HTML-single/it/MPlayer.html">guida</a> di <code>mencoder</code>. Vi dico solo che l&#8217;opzione <code>xvidencopts fixed_quant</code> indica la <strong>qualita&#8217;</strong> (3 buona qualita&#8217; ma meno compressione, 5 bassa qualita&#8217; alta compressione), <strong>4 e&#8217; una buona via di mezzo</strong>. Se non ne siete soddisfatti potete sempre ripetere il comando cambiando i valori.</p>
<p>Potete anche <strong>convertire il vostro file MKV in formato <a href="http://it.wikipedia.org/wiki/DivX">DivX</a> 5</strong>, con questo <strong>comando</strong>:<br />
<code>$ mencoder INPUT.mkv -o OUTPUT.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=700:vpass=1 -ffourcc DIVX50 -oac mp3lame -vf scale -zoom -xy 720</code></p>
<p>E&#8217; comunque consigliabile, laddove possibile, il formato Xvid rispetto al DivX, per varie ragioni.</p>
<p>Se doveste avere (come accade spesso) un file MKV con <strong>due tracce audio</strong>, allora dovete aggiungere una o piu&#8217; opzioni per indicare quale utilizzare. Ma prima di tutto dovete <strong>individuare la traccia audio che vi interessa</strong>, per farlo date questo comando:<br />
<code>$ mplayer -v INPUT.mkv</code><br />
leggete e cercate qualcosa del genere:</p>
<pre>[...]
...  -aid N, -alang LNG
...  -aid N, -alang LNG
[...]</pre>
<p>dove al posto di <em>N</em> c&#8217;e&#8217; un numero e al posto di <em>LNG</em> c&#8217;e&#8217; la lingua, ad esempio <code>-aid 1, -alang ita</code> e <code>-aid 2, -alang eng</code>. Ora <strong>avete tutto quello che vi serve</strong>. Il comando per creare un file in Xvid con la <strong>traccia audio in italiano</strong> sara&#8217; dunque (stando all&#8217;esempio):<br />
<code>$ mencoder INPUT.mkv -ofps 25 -ovc xvid -oac mp3lame -lameopts abr:br=128 -srate 48000 -vf scale -zoom -xy 720 -xvidencopts fixed_quant=4  -aid 1 -alang ita -o OUTPUT.avi</code></p>
<p><img src="http://idl3.wordpress.com/files/2009/11/video.jpg?w=150" alt="" title="video" width="150" height="150" class="alignright size-thumbnail wp-image-1202" />Certe volte (a seconda del formato audio) ci potrebbero essere <strong>problemi</strong> ad utilizzare questo sistema. In questi casi ci viene in aiuto <a href="http://www.bunkus.org/videotools/mkvtoolnix/index.html">mkvtoolnix</a>. Essendo <a href="http://packages.debian.org/lenny/mkvtoolnix">pacchettizzato</a>, per installarlo sulla nostra <strong>Debian</strong> facciamo cosi&#8217;:<br />
<code># apt-get install mkvtoolnix</code><br />
il <em>tool</em> contiene <strong>varie applicazioni</strong>, tra cui <code>mkvmerge</code>, <code>mkvinfo</code> e <code>mkvextract</code>. Quella che fa al caso nostro e&#8217; <strong>mkvextract</strong>, leggiamoci dunque la <a href="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html">guida</a>, che ci suggerisce la <strong>seguente procedura</strong>.</p>
<p>Prima di tutto dobbiamo <strong>identificare le tracce audio</strong> (e gli eventuali sottotitoli):<br />
<code>$ mkvmerge -i movie.mkv</code><br />
che ad esempio ci restituisce questo <em>output</em>:</p>
<pre>File ’movie.mkv’: container: Matroska
Track ID 1: video (V_MS/VFW/FOURCC, DIV3)
Track ID 2: audio (A_MPEG/L3)
Track ID 3: audio (A_VORBIS)
Track ID 4: subtitles (S_TEXT/UTF8)
Track ID 5: subtitles (S_TEXT/UTF8)</pre>
<p>Come vedete la traccia 2 e&#8217; un <strong>formato audio MP3</strong>, la traccia 3 e&#8217; un <strong>formato audio OGG</strong> e poi abbiamo i <strong>due sottotitoli</strong>. Se vogliamo la seconda traccia audio e i secondi sottotitoli, allora diamo questo <strong>comando</strong>:<br />
<code>$ mkvextract tracks movie.mkv 2:audio.mp3 5:subtitles.srt</code></p>
<p>Ora <a href="http://idl3.wordpress.com/2009/09/25/howto-tagliare-video-e-unire-audio-e-video-con-ffmpeg-e-mencoder/">potete usare ffmpeg</a> sul file MKV per <strong>estrarre solo il video</strong>:<br />
<code>$ ffmpeg -i INPUT.mkv -an -vcodec copy -y  OUTPUT.mkv</code><br />
e poi convertite con <code>mencoder</code> usando l&#8217;opzione <code>audiofile</code> per indicargli il <strong>file audio esterno</strong> (che abbiamo estratto con mkvextract):<br />
<code>$ mencoder INPUT.mkv -ofps 25 -ovc xvid -oac mp3lame -lameopts abr:br=192 -srate 48000 -xvidencopts fixed_quant=4 -vf scale -zoom -xy 720 -audiofile audio.mp3 -o OUTPUT.avi</code></p>
<p>Adesso avete il vostro bel <strong>file video in formato AVI XviD riproducibile nei piu&#8217; normali lettori</strong>. Se siete estimatori delle lingue originali, ma non le conoscete e volete i <strong>sottotitoli</strong>, basta inserirli <strong>nella stessa directory del file video</strong>. Generalmente per far si che il lettore li legga basta che file video e sottotitoli abbiano <strong>lo stesso nome</strong> (solo l&#8217;estensione diversa). Ad esempio: <code>Filmstrepitoso.avi</code> e <code>Filmstrepitoso.srt</code>. Puo&#8217; pero&#8217; capitare che ci siano lettori che <strong>non leggono i sottotitoli</strong> . Allora dovete <a href="http://idl3.wordpress.com/2009/10/10/1-scollegamenti/">inserirli nel file video</a>, in questo modo:<br />
<code>$ mencoder -ovc xvid -xvidencopts fixed_quant=4 -oac copy -sub Filmstrepitoso.srt -subfont-text-scale 4 -o Filmstrepitosoconsottotitoli.avi Filmstrepitoso.avi</code></p>
<p>Fatto, ora potete godervi il vostro <strong>film con i sottotitoli</strong> anche nel piu&#8217; <strong>scadente</strong> dei lettori.</p>
<hr />
<p style="text-align:right;"><a href="#content" title="torna su">[^] torna su</a>&#160;&#124;&#160;<a href="http://postli.com/post?u=http://idl3.wordpress.com/2009/11/23/howto-convertire-mkv-in-avi/&#38;t=HowTo: convertire MKV in AVI" title="Post to Postli" style="color:blue;text-decoration:none;">post<span style="color:orange;">&#60;</span><span style="color:red;">li</span><span style="color:orange;">&#62;</span></a>&#160;&#124;&#160;<a href="http://www.wikio.it/vote?url=http://idl3.wordpress.com/2009/11/23/howto-convertire-mkv-in-avi/" target="_blank"><img src="http://www.wikio.it/shared/img/vote/wikio2.gif" border="0" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[together]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/together/</link>
<pubDate>Mon, 23 Nov 2009 02:04:05 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/together/</guid>
<description><![CDATA[Callie Shell: &#8220;It was primary morning in New Hampshire. Barack and Michelle Obama had been cam]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="callie couple" src="http://digitaljournalist.org/issue0810/images/callie/21.jpg" alt="" width="640" height="426" /></p>
<p>Callie Shell: &#8220;It was primary morning in New Hampshire. Barack and Michelle Obama had been campaigning separately all week. In the first few months of 2008 their private time seemed to consist of a few crossover moments in back hallways before rallies. This moment was rare and you could tell they just loved being able to sit together. Jan. 8, 2008.&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[soleless]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/soleless/</link>
<pubDate>Mon, 23 Nov 2009 02:00:36 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/soleless/</guid>
<description><![CDATA[Senator Obama was doing press interviews by telephone in a holding room between events. Sometime lat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="shoes" src="http://digitaljournalist.org/issue0810/images/callie/19.jpg" alt="" width="640" height="426" /></p>
<p>Senator Obama was doing press interviews by telephone in a holding room between events. Sometime later as he was getting ready to begin his event, he asked me if I was photographing his shoes. When I said yes, he told me that he had already had them resoled once since he entered the race a year earlier. Providence, R.I., 3/1/2008. Callie Shell.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[no sweat]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/no-sweat/</link>
<pubDate>Mon, 23 Nov 2009 01:56:18 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/no-sweat/</guid>
<description><![CDATA[Two staffers had just passed this site and done two pull-ups. Not to be outdone, Obama did three wit]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="gym" src="http://digitaljournalist.org/issue0810/images/callie/18.jpg" alt="" width="640" height="426" /></p>
<p>Two staffers had just passed this site and done two pull-ups. Not to be outdone, Obama did three with ease, dropped and walked out to make a speech. Missoula, Mont., 4/5/2008. Callie Shell.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[forty winks]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/fort-winks/</link>
<pubDate>Mon, 23 Nov 2009 01:52:07 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/fort-winks/</guid>
<description><![CDATA[Asleep somewhere between Derry and Salem, N.H., 1/6/2008. Callie Shell.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="callie 4" src="http://digitaljournalist.org/issue0810/images/callie/15.jpg" alt="" width="605" height="403" /></p>
<p>Asleep somewhere between Derry and Salem, N.H., 1/6/2008. Callie Shell.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[time frame]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/time-frame/</link>
<pubDate>Mon, 23 Nov 2009 01:44:47 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/time-frame/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="time cover" src="http://digitaljournalist.org/issue0810/images/callie/00.jpg" alt="" width="616" height="822" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[time out]]></title>
<link>http://chipsticks.wordpress.com/2009/11/23/time-out-2/</link>
<pubDate>Mon, 23 Nov 2009 01:41:30 +0000</pubDate>
<dc:creator>chipsticks</dc:creator>
<guid>http://chipsticks.wordpress.com/2009/11/23/time-out-2/</guid>
<description><![CDATA[Muscatine, Iowa, Nov. 7, 2007. Callie Shell.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" title="callie 1" src="http://obamajawn.com/wp-content/uploads/2008/10/05.jpg" alt="" width="648" height="432" /></p>
<p>Muscatine, Iowa, Nov. 7, 2007. Callie Shell.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Wood Spirals]]></title>
<link>http://beadheadearrings.wordpress.com/2009/11/23/32/</link>
<pubDate>Mon, 23 Nov 2009 00:13:42 +0000</pubDate>
<dc:creator>BeadHead Becky</dc:creator>
<guid>http://beadheadearrings.wordpress.com/2009/11/23/32/</guid>
<description><![CDATA[Sterling Silver Earwires glass pressed leaf and silver metal beads 1 1/2″ in length $10 (includes ta]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://beadheadearrings.wordpress.com/files/2009/11/wood_spirals.png"><img class="alignleft size-full wp-image-31" title="wood_spirals" src="http://beadheadearrings.wordpress.com/files/2009/11/wood_spirals.png" alt="" width="200" height="200" /></a>Sterling Silver Earwires<br />
glass pressed leaf and silver metal beads<br />
1 1/2″ in length</p>
<p>$10 (includes tax &#38; shipping)</p>
<p><a href="mailto:b.simmermacher@insightbb.com">I want these!</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Computers, computers and more computers]]></title>
<link>http://milehighgeek.wordpress.com/2009/11/22/computers-computers-and-more-computers/</link>
<pubDate>Sun, 22 Nov 2009 22:19:50 +0000</pubDate>
<dc:creator>Neil Hewitt</dc:creator>
<guid>http://milehighgeek.wordpress.com/2009/11/22/computers-computers-and-more-computers/</guid>
<description><![CDATA[It&#8217;s been a busy couple of weeks on the project. I had a few vacation days left to take at wor]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_173" class="wp-caption alignleft" style="width: 160px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0054.jpg"><img class="size-thumbnail wp-image-173 " title="IMG_0054" src="http://milehighgeek.wordpress.com/files/2009/11/img_0054.jpg?w=150" alt="" width="150" height="112" /></a><p class="wp-caption-text"> </p></div>
<p>It&#8217;s been a busy couple of weeks on the project. I had a few vacation days left to take at work, so I nabbed a week off and put it to good use making some progress. With the basic shell assembled and painted, I wanted to get onto the basic computing power for the sim, and in particular to creating the various mountings needed to place the various bits in the shell.</p>
<p><!--more-->As I mentioned in a previous installment, I plan on putting all the computing and electronics gear needed for the sim into the shell itself, so that it&#8217;s essentially self-contained. This contrasts with some other sims where the computing power is a stack of beige boxes lined up against the next-door wall &#8211; there&#8217;s nothing wrong with that approach, I just wanted something that was all-in-one.</p>
<p>In Phase 1, the sim will be powered by four PCs: two &#8216;conventional&#8217; PCs, an HP tablet PC and a recycled Asus R2 ultra-mobile PC (UMPC) that I happened to have lying around doing nothing. One conventional PC (PC1) will power the main display and nothing else at all &#8211; most likely I&#8217;ll even have sound disabled on this machine so that all the CPU power available goes to rendering the front view and get the frame rates up as high as I possibly can. The second conventional PC (PC2) will run the left and right-hand screens that will serve as PFD/MFD in glass cockpit aircraft, and analog panels in others, and will also be the place where most of the controls (yoke etc) plug in via USB. The tablet PC (PC3) will serve as an additional control panel display, but &#8211; with its touch screen &#8211; will also be a control center, where the custom screens I&#8217;m planning to write to control aspects of the sim itself and of simulated aircraft where I have no physical controls available &#8211; engine fuel feeds, for example &#8211; will also run. Running off PC3 will be a second, 7&#8243; touchscreen monitor which will be physically located in the pedestal and will provide a radio stack. Lastly, the UMPC (PC4) will be located in the pedestal and will serve as CDU, weather radar and various ancillary screens that would normally appear in that position.</p>
<p>By way of specs, PC1 is powered by a quad-core Q9450 chip which runs stock at 2.66GHz but can be clocked to 3.2GHz and even a bit further quite happily in my experience; PC2 runs on an older quad-core Xeon X3210 which runs stock at 2.13GHz but I have been able to push to 2.7GHz reliably. Neither of these are as fast as you can get, although the Q9450 overclocked is very competitive with anything else in the Core 2 Quad range. Both boards have 4GB DDR2-800 RAM on them. For now I&#8217;m holding off going to Core i7, though at some point I&#8217;ll most likely want to do so for the main rendering board. PC3, the tablet, uses a Core 2 mobile chip running at 3GHz and has 2GB RAM on board, with a 13&#8243; 4:3 touch (sadly not multi-touch) screen. PC4, the UMPC, is rather underpowered compared to all the others, designed as it was as a small, low-heat platform. It runs a Pentium 4-class Celeron at a meagre 900MHz and sports a rather insipid 1GB of RAM, but since its purpose in the sim is to run a single panel at a time and be touch-sensitive, this it does reasonably well. It&#8217;s also the only PC in the solution which will be running Windows XP rather than Windows 7, simply for the hardware support and memory overhead.</p>
<p>PC1 and 2 exist in the form of bits and pieces &#8211; motherboard, CPU etc pulled together from previous projects and upgrades with some bought new for the project. They are not complete PC systems; although one is made from parts mostly pulled from a server which had a case and was in use as a development server, I am not attempting to install a whole PC enclosure inside the shell &#8211; it just wouldn&#8217;t fit. Instead I&#8217;m going for a barebones approach and as such, I needed to construct an enclosure and mounting system for these PCs within the main shell.</p>
<p>Originally I was going to put one board on the left-hand side of the console at the rear, and the other on the right, but a quick check of dimensions proved that I wouldn&#8217;t have room left to mount the control yokes, and I can&#8217;t re-size those. I then settled on a plan to mount them in a double-decker style in the middle of the console behind the mounting for the tablet PC, where there will be no embedded control hardware. This left me needing to fashion some form of enclosure.</p>
<p>Since wood, rather than metal, is my medium for this project, it would be necessary to create a wooden frame. This would be open to maximise airflow. I set out by measuring up the ATX motherboard dimensions and then cutting out two panels of 6mm MDF with a 20mm margin around the edges to provide room to place support structures. In the event I mis-measured and left only a 10mm margin and was forced to adapt a little later on rather than start again. I used scrap wood left over from earlier in the build, which is why the finished result doesn&#8217;t look hugely polished; as it&#8217;ll never be seen in normal use, it doesn&#8217;t need to be, and my stock of untouched MDF can be used for other purposes.</p>
<p>Next I took a scrap old AMD K7 motherboard (which is ancient, but ATX has stayed the same for countless years so it was fine as a template I could afford to get dirty and broken) and used this to mark the positions of the screw-holes where the board is screwed into the retainers. I had to pop off to Maplin to get a packet of motherboard retaining bolts so I could populate out the board with them.</p>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0048.jpg"><img class="size-medium wp-image-171" title="IMG_0048" src="http://milehighgeek.wordpress.com/files/2009/11/img_0048.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">Putting retaining bolts onto the &#39;bottom deck&#39; board</p></div>
<p>Once this was done with both boards I measured the height of a standard PC expansion card to the retaining rail where the card is screwed in, as I would need to provide a similar support structure in my frame. I then cut some pine baton down to the right length to act as supports for the top deck, and positioned these around the edge of the bottom board.</p>
<div id="attachment_172" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0051.jpg"><img class="size-medium wp-image-172" title="IMG_0051" src="http://milehighgeek.wordpress.com/files/2009/11/img_0051.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">Support pillars in place, with K7 motherboard in as a test</p></div>
<p>Into the top of each pillar I drilled a deep 4mm hole to accomodate a machine screw. I then drilled a wider 8mm hole, 4mm deep, at the top of each 4mm hole &#8211; this was, in hindsight, the wrong way to do it. I should have drilled the larger hole first and then I&#8217;d have had a better guide for the smaller hole; but with a drill press this is immaterial provided you keep the material fixed in the right place. Into the larger hole I placed a nut for a 4mm machine screw and glued it into place. I could then screw a 4mm bolt into the pillar with the nut acting as the anchor. Finally I drilled 4mm hole in the top deck board in the appropriate place, and could then mount one on top of the other.</p>
<p>A further two batons went on the bottom deck right at the rear of the structure, with two more directly above them on the top deck, cut and grooved to interlock to provide a single long baton running the full height of two boards + full-height expansion cards, and then into the top of those batons I drilled 6mm holese and put 6mm tee nuts to accomodate 6mm roofing bolts. A strip of MDF (made deliberately over-wide for reasons which will become clear later) went on top and provided a support structure for the expansion cards on the top deck. Two smaller strips of MDF were then run up the back of the vertical support batons and tee-and-bolt combinations placed in them at 3 locations to lock the whole structure together when assembled. The finished product looks like this:</p>
<div id="attachment_173" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0054.jpg"><img class="size-medium wp-image-173" title="IMG_0054" src="http://milehighgeek.wordpress.com/files/2009/11/img_0054.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">Completed double-deck frame for PC1 and 2</p></div>
<p>This whole structure fits into the central part of the console and is bolted down with four bolts at the corners into the main shelf of the console.</p>
<p>Next, I needed to mount the power supply units to run these two PCs. Originally I tried constructing a shelf behind the PC enclosure, keeping the PSUs in place with artfully-bodged screws and a couple of angle-brackets (these actually work really well, and again, &#8216;polish&#8217; wasn&#8217;t the aim here, so don&#8217;t knock it!).</p>
<div id="attachment_174" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0056.jpg"><img class="size-medium wp-image-174" title="IMG_0056" src="http://milehighgeek.wordpress.com/files/2009/11/img_0056.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">PSU shelf, Take 1</p></div>
<p>Sadly, this pushed the main PC enclosure frame so far forward that the full-length graphics card used would foul the tablet PC mounting, so I had to abandon this. I went for the simplest thing that could work, which was to split the shelf in the middle and mount the two halves on the other side of the vertical divider in each case, like this:</p>
<div id="attachment_175" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0057.jpg"><img class="size-medium wp-image-175" title="IMG_0057" src="http://milehighgeek.wordpress.com/files/2009/11/img_0057.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">PSU shelf, Take 2</p></div>
<p>An extra steel support bracket was used for each to help bear the weight of the PSU. Keeping the PSU up high like this to give clearance below for the other parts &#8211; notably the yoke assembly &#8211; is critical, so a shelf was necessary.</p>
<p>Once I tried to plug it all in for a test, of course, I discovered that the ATX power and P4 ancillary power leads on both PSUs were just too short to reach. In modern PCs the PSU is located close to the main board and there&#8217;s no need to have miles of free cable. While some PSUs provide more than others, one of the supplies I was using for the project had particularly short cables. No amount of bodging was going to fix this. So, a further trip to Maplin bought me a pair of ATX and P4 cable extensions, designed for installing PSUs into large server cases. With these, I was finally able to make all the connections with room to spare. Time to fire the PCs up and make sure they still work!</p>
<div id="attachment_176" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0058.jpg"><img class="size-medium wp-image-176" title="IMG_0058" src="http://milehighgeek.wordpress.com/files/2009/11/img_0058.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">It lives! Both PCs fired up and running.</p></div>
<p>To my relief, both of them fired up immediately, so I shut them down, put the displays for PFD and MFD into place on the front panel, and connected them up. You&#8217;ll have to take my word that they&#8217;re working in the picture below, because my lousy phone camera is unable to deal with the contrast in the shot and is overwhelmed by the glare (I must remember to recharge my proper camera and start using that for picture-taking):</p>
<div id="attachment_177" class="wp-caption aligncenter" style="width: 310px"><a href="http://milehighgeek.wordpress.com/files/2009/11/img_0059.jpg"><img class="size-medium wp-image-177" title="IMG_0059" src="http://milehighgeek.wordpress.com/files/2009/11/img_0059.jpg?w=300" alt="" width="300" height="225" /></a><p class="wp-caption-text">No, it&#39;s not the Amityville Horror house...</p></div>
<p>Each PC will now be outfitted with a brand new solid-state drive (SSD) which should help it go like lightning, reduce noise and power consumption and &#8211; importantly &#8211; heat. Because neither needs much local storage, I&#8217;m putting 60GB models in both. The tablet and UMPC both have small laptop HDDs which I will leave in for now.</p>
<p>Next up is work on the yoke. I need to convert a standard CH Products yoke, adding 120mm to its shaft length, and finding a way to fit it permanently into the console. Soldering iron time&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Zimbra Backup Script ver 1.4]]></title>
<link>http://hidx.wordpress.com/2009/11/23/zimbra-backup-script-ver-1-4/</link>
<pubDate>Sun, 22 Nov 2009 22:10:58 +0000</pubDate>
<dc:creator>Максим HidX</dc:creator>
<guid>http://hidx.wordpress.com/2009/11/23/zimbra-backup-script-ver-1-4/</guid>
<description><![CDATA[#!/bin/bash # Автор скрипта: Бочкин Максим. # 16.11.09 Ver=1.3 #### Settings #### ZimbraPath=/opt/zi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><code>#!/bin/bash<br />
# Автор скрипта: Бочкин Максим.<br />
# 16.11.09<br />
Ver=1.3</p>
<p>#### Settings ####</p>
<p>ZimbraPath=/opt/zimbra<br />
ZimbraBackupPath=/data/zimbra/current/sync<br />
ZimbraBackupLog=/tmp/ZimbraBackup.log<br />
ZimbraArchivePath=/data/zimbra/current<br />
ZimbraArchiveName=Backup.tar.gz<br />
ZimbraAdminMail=bmw@ain.ru<br />
ZimbraAdminPhone=79067187680@sms.beemail.ru</p>
<p>#### Step - 1 ####</p>
<p>touch $ZimbraBackupLog<br />
echo "" &#62; $ZimbraBackupLog</p>
<p># mkdir -p $ZimbraBackupPath</p>
<p>check() {</p>
<p>echo "Проверяю систему:" &#62;&#62; $ZimbraBackupLog<br />
echo "" &#62;&#62; $ZimbraBackupLog</p>
<p>#Ckek free space backup dir</p>
<p>STAT=(`df -k  /data&#124;tail -n1&#124;awk '{print$4}'`)<br />
if [ "$STAT" -le "14641684" ]<br />
then<br />
    echo "Свободное место на томе с Backup меньше чем 14 гигабайт. Диск заполнен на: `df -h /data&#124;tail -n1&#124;awk '{print$5}'`"<br />
    echo "Ошибка Backup. Свободное место на томе с Backup меньше чем 14 гигабайт. Диск заполнен на: `df -h /opt&#124;tail -n1&#124;awk '{print$5}'`" &#124; mutt -s "ZimbraBackup Error..." $ZimbraAdminMail<br />
    exit 1<br />
fi<br />
echo "Проверка свободного места - [Успешно]" &#62;&#62; $ZimbraBackupLog</p>
<p># Check Zimbra Directory #<br />
if [ ! -d $ZimbraPath ]<br />
then<br />
    echo "$ZimbraPath Не найден!"<br />
    echo "$ZimbraPath not found! Exiting" &#124; mail -s "ZimbraBackup: ERROR - Zimbra path not found" $ZimbraAdminMail<br />
    exit 1<br />
fi<br />
echo "Проверка директории Zimbra - [Успешно]" &#62;&#62; $ZimbraBackupLog</p>
<p># Check: Run Script as Root? #<br />
ROOT_UID=0<br />
if [ "$UID" -ne "$ROOT_UID" ]<br />
then<br />
   echo "Запустите скрипт от пользователя: "root"."<br />
   exit 1<br />
fi<br />
echo "Проверка root привелегий - [Успешно]" &#62;&#62; $ZimbraBackupLog</p>
<p># Check dir<br />
if [ ! -d $ZimbraBackupPath ]<br />
then<br />
    echo "$ZimbraBackupPath Не найден!"<br />
    echo "Not found backup directory. Backup Error" &#124; mail -s "ZimbraBackup: ERROR - Backup directory not found" $ZimbraAdminMail<br />
    exit 1<br />
fi<br />
echo "Проверка директории для архивации - [Успешно]" &#62;&#62; $ZimbraBackupLog<br />
}</p>
<p>help() {</p>
<p>    echo<br />
    echo "Версия скрипта: $Ver"<br />
    echo<br />
    echo "#### Settings #### - Секция настроек."<br />
    echo "#### Step - 1 #### - Секция подготовки и проверки."<br />
    echo "#### Step - 2 #### - Секция архивации Zimbra."<br />
    echo "#### Step - 3 #### - Секция пост обработки."<br />
    echo<br />
    echo "Для создания архива используйте ключ:    -b  ($0 -b)"<br />
    echo "Для справки используйте ключ:            -h  ($0 -h)"<br />
    echo "Все уведомления придут на: $ZimbraAdminMail"<br />
    echo<br />
}</p>
<p>#### Step - 2 ####</p>
<p>backup() {</p>
<p># Start Info<br />
    echo "" &#62;&#62; $ZimbraBackupLog<br />
    echo "[---------------------------[`date +%Y-%m-%d--%H-%M-%S`]---------------------------]" &#62;&#62; $ZimbraBackupLog</p>
<p># First syncing<br />
    echo "[+----][`date +%Y-%m-%d--%H-%M-%S`] - Начата первичная синхронизация..." &#62;&#62; $ZimbraBackupLog<br />
    rsync -avHK --delete $ZimbraPath $ZimbraBackupPath/<br />
    echo "[+----][`date +%Y-%m-%d--%H-%M-%S`] - Первичная синхронизация закончена..." &#62;&#62; $ZimbraBackupLog</p>
<p># Stoping Zimbra Service<br />
    echo "[++---][`date +%Y-%m-%d--%H-%M-%S`] - Останавливаю сервисы Zimbra..." &#62;&#62; $ZimbraBackupLog<br />
    /etc/init.d/zimbra stop # &#62;&#62; $ZimbraBackupLog<br />
    sleep 25<br />
    echo "[++---][`date +%Y-%m-%d--%H-%M-%S`] - Все сервисы Zimbra остановлены..." &#62;&#62; $ZimbraBackupLog</p>
<p># Second syncing<br />
    echo "[+++--][`date +%Y-%m-%d--%H-%M-%S`] - Начата вторичная синхронизация..." &#62;&#62; $ZimbraBackupLog<br />
    rsync -avHK --delete $ZimbraPath $ZimbraBackupPath/<br />
    echo "[+++--][`date +%Y-%m-%d--%H-%M-%S`] - Вторичная синхронизация закончена..." &#62;&#62; $ZimbraBackupLog</p>
<p># Starting Zimbra<br />
    echo "[++++-][`date +%Y-%m-%d--%H-%M-%S`] - Запускаю сервисы Zimbra..." &#62;&#62; $ZimbraBackupLog<br />
    /etc/init.d/zimbra start &#62;&#62; $ZimbraBackupLog<br />
    sleep 5<br />
    echo "[++++-][`date +%Y-%m-%d--%H-%M-%S`] - Все сервисы Zimbra запущены..." &#62;&#62; $ZimbraBackupLog</p>
<p># Archiving zimbra temp dir<br />
    echo "[+++++][`date +%Y-%m-%d--%H-%M-%S`] - Начинаю архивацию файлов..." &#62;&#62; $ZimbraBackupLog<br />
    tar -zcvf $ZimbraArchivePath/Backup.tar.gz  $ZimbraBackupPath<br />
    echo "[+++++][`date +%Y-%m-%d--%H-%M-%S`] - Архивация папки [$ZimbraBackupPath] - успешно закончена..." &#62;&#62; $ZimbraBackupLog</p>
<p>}</p>
<p>#### Step - 3 ####</p>
<p>post_check() {</p>
<p># Check working zimbra service<br />
    sudo -u zimbra /opt/zimbra/bin/zmcontrol -v  &#62;&#62; $ZimbraBackupLog<br />
    sudo -u zimbra /opt/zimbra/bin/zmcontrol status &#62;&#62; $ZimbraBackupLog</p>
<p># Finish info<br />
    min=$(($SECONDS / 60))<br />
    echo "" &#62;&#62; $ZimbraBackupLog<br />
    echo "Хостнэйм: $HOSTNAME" &#62;&#62; $ZimbraBackupLog<br />
    echo "Система: $OSTYPE" &#62;&#62; $ZimbraBackupLog<br />
    echo "Время работы скрипта: $min (min)" &#62;&#62; $ZimbraBackupLog<br />
    echo "Размер директории с рабочей Zimbra: `du -sh $ZimbraPath &#124; tail -n1`" &#62;&#62; $ZimbraBackupLog<br />
    echo "Размер директории с копией Zimbra : `du -sh $ZimbraBackupPath &#124; tail -n1`" &#62;&#62; $ZimbraBackupLog<br />
    echo "Размер службы статистики: `du -sh $ZimbraPath/logger &#124; tail -n1`" &#62;&#62; $ZimbraBackupLog<br />
    echo "Размер почтового хранилища: `du -sh $ZimbraPath/store &#124; tail -n1`" &#62;&#62; $ZimbraBackupLog<br />
    echo "Размер архивного файла $ZimbraArchiveName: `du -sh $ZimbraArchivePath/$ZimbraArchiveName &#124; tail -n1`" &#62;&#62; $ZimbraBackupLog<br />
    echo "" &#62;&#62; $ZimbraBackupLog<br />
    echo "Свободное место на томе с Zimbra: `df -h /opt&#124;tail -n1&#124;awk '{print$4}'`" &#62;&#62; $ZimbraBackupLog<br />
    echo "Свободное место на томе с Backup: `df -h /data&#124;tail -n1&#124;awk '{print$4}'`" &#62;&#62; $ZimbraBackupLog<br />
    echo "" &#62;&#62; $ZimbraBackupLog<br />
    echo "-----Версия скрипта: $Ver" &#62;&#62; $ZimbraBackupLog</p>
<p>    cp $ZimbraBackupLog $ZimbraArchivePath/ZimbraBackupLog.txt<br />
    cat $ZimbraBackupLog &#124; mutt -s "Архивация сервера Zimbra выполнена успешно..." $ZimbraAdminMail<br />
    echo "ZimbraBackup successfull... $min (min)" &#124; mail -s "ZimbraBackup successfull..." $ZimbraAdminPhone<br />
    rm $ZimbraBackupLog<br />
}</p>
<p>case $1 in<br />
-h)<br />
help<br />
;;<br />
-b)<br />
check<br />
backup<br />
post_check<br />
;;<br />
*)<br />
    echo<br />
    echo "Скрипт работает с ключами. Для справки запустите $0 -h"<br />
    echo<br />
;;<br />
esac</p>
<p>echo "Done."<br />
exit 0</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[My zshrc]]></title>
<link>http://miselaneos.wordpress.com/2009/11/22/my-zshrc/</link>
<pubDate>Sun, 22 Nov 2009 16:19:41 +0000</pubDate>
<dc:creator>masterloki</dc:creator>
<guid>http://miselaneos.wordpress.com/2009/11/22/my-zshrc/</guid>
<description><![CDATA[Este es mi archivo zshrc # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=350]]></description>
<content:encoded><![CDATA[Este es mi archivo zshrc # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=350]]></content:encoded>
</item>
<item>
<title><![CDATA[Iso erstellen]]></title>
<link>http://codecocktail.wordpress.com/2009/11/22/iso-erstellen/</link>
<pubDate>Sun, 22 Nov 2009 14:41:15 +0000</pubDate>
<dc:creator>charlysan</dc:creator>
<guid>http://codecocktail.wordpress.com/2009/11/22/iso-erstellen/</guid>
<description><![CDATA[(15:35:20) Clemens: weißt du wie man isos erstellt von ner cd? (15:35:37) Clemens: also ich weiß es ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="font-size:x-small;"><span style="color:#cc0000;">(15:35:20) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">weißt du wie man isos erstellt von ner cd?</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:35:37) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">also ich weiß es nur es is cool wenn man sowas weiß da kann ich es dir ja gleich verraten xD</span></span></span><br />
<span style="color:#204a87;"><span style="font-size:x-small;">(15:36:35) </span></span>charly &#8211; got root? : lol<br />
<span style="color:#204a87;"><span style="font-size:x-small;">(15:36:38) </span></span>charly &#8211; got root? : na dann hau raus<br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:36:52) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">erst musst du die block und volume size auslesen</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:05) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">etwa so</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:36) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">isoinfo -d -i /dev/cdrom &#124; grep -i -E &#8216;block size&#124;volume size&#8217;</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:43) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">wobei ich diesen befehl gespeichert hab</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:44) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">^^</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:49) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">dann zeigt er dir das an</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:57) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">und du erstellst das image mit dd</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:37:59) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">etwa so</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:38:38) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">dd if=/dev/dcrom of=deineiso.iso bs=&#60;block size ovn oben&#62; count=&#60;volume size von oben&#62;</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:38:40) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">geil wa</span></span></span><br />
<span style="font-size:x-small;"><span style="color:#cc0000;">(15:39:04) </span></span>Clemens: <span style="color:#000000;"><span style="font-family:Segoe UI;"><span style="font-size:small;">ich meine  /dev/cdrom</span></span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Shell fish ban near sewage plant]]></title>
<link>http://fishingheadlines.wordpress.com/2009/11/22/shell-fish-ban-near-sewage-plant/</link>
<pubDate>Sun, 22 Nov 2009 13:57:40 +0000</pubDate>
<dc:creator>wnewsfeed6061</dc:creator>
<guid>http://fishingheadlines.wordpress.com/2009/11/22/shell-fish-ban-near-sewage-plant/</guid>
<description><![CDATA[Shell fishing beds in Southampton Water are closed following a problem at a nearby sewage works]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Shell fishing beds in Southampton Water are closed following a problem at a nearby sewage works&#8230;. From BBC News. <a href="http://news.bbc.co.uk/go/rss/-/2/hi/uk_news/england/hampshire/8373013.stm">Full story</a></p>
<p>This site may contain information about:  go fishing.  The blog is also related to: fishing trips.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Crear particiones con la herramienta cfdisk (Linux)]]></title>
<link>http://miblogcurricular.wordpress.com/2009/11/22/crear-particiones-con-la-herramienta-cfdisk-linux/</link>
<pubDate>Sun, 22 Nov 2009 11:02:51 +0000</pubDate>
<dc:creator>Miquel</dc:creator>
<guid>http://miblogcurricular.wordpress.com/2009/11/22/crear-particiones-con-la-herramienta-cfdisk-linux/</guid>
<description><![CDATA[En este tutorial veremos como crear particiones, darles formato y como prepararlas para realizar la ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>En este tutorial veremos como crear particiones, darles formato y como prepararlas para realizar la instalación del Sistema Operativo.</p>
<p>Para realizar los pasos de este tutorial necesitaremos un Cd Live de cualquier distribución Linux <em>(en mi caso Damn Small Linux)</em>, distribuciones mas gráficas como Ubuntu incorporan otras herramientas de particionado mas accesibles como GParted que no requieren el uso de la terminal, sin embargo, cfdisk es una opción valida en cualquier distribución Linux, a diferencia de la herramienta GParted.</p>
<p>Lo primero que debemos hacer es abrir la terminal <em>(shell)</em> a la que podremos acceder desde el menú inicial de nuestro Linux, generalmente desde &#8220;Aplicaciones/Accesorios&#8221;, lo primero que tendremos que teclear es &#8220;<strong>sudo su</strong>&#8221; para iniciar sesión con root, una vez hecho esto dispondremos de todos los privilegios, entre ellos, realizar particiones en el disco duro, tecleamos &#8220;<strong>cfdisk</strong>&#8221; , en caso de no disponer de tabla de particiones nos preguntará si deseamos crear una, le indicamos que &#8220;<strong>y</strong>&#8220;.</p>
<p><a href="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-principio.jpg"><img class="aligncenter size-full wp-image-74" title="pantalla inicial cfdisk" src="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-principio.jpg" alt="" width="510" height="340" /></a></p>
<p>Nos encontramos en la <em>interface</em> del programa cfdisk, con las teclas de dirección (arriba y abajo) nos desplazaremos por las particiones una vez creadas, con las teclas de direccion (derecha e izquierda) nos desplazaremos por las opciones que nos ofrece el programa, entre ellas a destacar:</p>
<ul>
<li><strong>New:</strong> Nos permite crear particiones eligiendo su tamaño, localización en el HDD&#8230;</li>
<li><strong>Type:</strong> Nos permite escoger que tipo de sistema de archivos utilizará la partición.</li>
<li><strong>Bootable:</strong> Servirá para marcar que partición será accesible desde el arranque.</li>
<li><strong>Write:</strong> Guardará todos los cambios realizados en la tabla de particiones.</li>
</ul>
<p>Una vez sepamos que hace cada opción es fácil crear las particiones para poder instalar una distribución Linux.</p>
<p>El primer paso es seleccionar &#8220;<strong>New</strong>&#8220;, seleccionamos &#8220;<strong>Primary</strong>&#8221; debido a que en esta partición queremos almacenar un Sistema operativo, le asignamos el tamaño de la partición en función de que cumple los requisitos mínimos requeridos por el SO y que se ajusta a nuestras necesidades.<br />
Indicamos que la partición se coloque en el principio &#8220;<strong>Beginning</strong>&#8220;.</p>
<div id="attachment_75" class="wp-caption aligncenter" style="width: 520px"><a href="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-sistemaarchivos.jpg"><img class="size-full wp-image-75" title="sistemas de archivo" src="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-sistemaarchivos.jpg" alt="" width="510" height="147" /></a><p class="wp-caption-text">Todas las posibilidades que nos brinda la opción &#34;type&#34;</p></div>
<p>Ahora nos encontremos con la tabla de particiones, ahora ya no está vacía y podemos observar que consta nuestra reciente creación, nos situamos encima de la partición recién creada y seleccionamos en las opciones &#8220;<strong>Bootable</strong>&#8221; y &#8220;<strong>Type&#8221;</strong>, en type deberemos seleccionar el sistema de archivos de la partición, en nuestro caso, queremos alojar una distribución Linux, por lo tanto, necesitaremos el formato de archivos compatible con Linux, tendremos que teclear el <strong>numero 83</strong> que como podréis comprobar en la parte superior, corresponde al tipo &#8220;<strong>Linux&#8221; </strong> ya tenemos creada y configurada nuestra partición primaria, sin embargo, nos queda otra, volvemos a crear una partición, sin embargo, esta vez seleccionamos &#8220;<strong>Logical</strong>&#8221; y le asignamos de tamaño <strong>1 GB</strong>, indicamos que coloque la partición al final &#8220;<strong>End</strong>&#8221; y está vez, <strong>no seleccionamos</strong> la opción &#8220;<em>bootable&#8221;</em>, pero si tenemos que asignarle el tipo de sistema de archivos, seleccionamos la opción <strong>82</strong> que corresponde a &#8220;<em>Linux swap</em>&#8220;.</p>
<p>Ya tenemos configuradas las dos particiones, pero no creadas, aquí es donde entra la opción &#8220;<strong>Write</strong>&#8220;, pulsamos y confirmamos con un &#8220;<em>yes</em>&#8221; cuando nos pregunte si estamos seguros, esperamos a que termine y listo, podemos salir con la opción &#8220;<strong>Quit</strong>&#8220;.</p>
<div id="attachment_76" class="wp-caption aligncenter" style="width: 520px"><a href="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-write.jpg"><img class="size-full wp-image-76" title="aspecto final de la tabla de particiones" src="http://miblogcurricular.wordpress.com/files/2009/11/cfdisk-write.jpg" alt="" width="510" height="340" /></a><p class="wp-caption-text">Este es el aspecto final de la tabla (el tamaño de las particiones depende de cada uno...)</p></div>
<p>Este tutorial explica la creación de particiones primarias y lógicas, una normal y otra de intercambio para la instalación de un Damn Small Linux, si solo deseáis crear una partición para disponer de mas en vuestro Linux, las opciones escogidas han de ser &#8220;<strong>logical</strong>&#8221; si no queréis instalar un SO, &#8220;<strong>End</strong>&#8221; para colocarla al final y formato &#8220;<strong>Linux</strong>&#8220;.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[sculptures: plume, 2009]]></title>
<link>http://sarahnance.com/2009/11/21/plume/</link>
<pubDate>Sat, 21 Nov 2009 22:13:04 +0000</pubDate>
<dc:creator>sarahnance</dc:creator>
<guid>http://sarahnance.com/2009/11/21/plume/</guid>
<description><![CDATA[shell in resin; 2009 ©sarahnance]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;">
<div id="attachment_608" class="wp-caption aligncenter" style="width: 308px"><a href="http://sarahnance.wordpress.com/files/2009/11/nance12.jpg"><img class="size-large wp-image-608" title="nance12" src="http://sarahnance.wordpress.com/files/2009/11/nance12.jpg?w=1024" alt="art sculpture artist sarah nance shell in resin" width="298" height="224" /></a><p class="wp-caption-text">shell in resin; 2009 ©sarahnance</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[# 222 - DJIBOUTI / 1, shell]]></title>
<link>http://animalonstamps.wordpress.com/2009/11/21/222-djibouti-1-shell/</link>
<pubDate>Sat, 21 Nov 2009 18:01:30 +0000</pubDate>
<dc:creator>fiume051</dc:creator>
<guid>http://animalonstamps.wordpress.com/2009/11/21/222-djibouti-1-shell/</guid>
<description><![CDATA[Republic of DJIBOUTI stamp: 15 francs year: 1983 marine life: sehll &#8211; Marginella obtusa]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://animalonstamps.wordpress.com/files/2009/11/dzibuti.gif"><img class="alignnone size-medium wp-image-1022" title="Džibuti" src="http://animalonstamps.wordpress.com/files/2009/11/dzibuti.gif?w=300" alt="" width="71" height="47" /></a></p>
<p><strong>Republic of DJIBOUTI</strong></p>
<p>stamp: 15 francs</p>
<p>year: 1983</p>
<p>marine life: sehll &#8211; <em>Marginella obtusa</em></p>
<p style="text-align:center;"><em></em><a href="http://animalonstamps.wordpress.com/files/2009/11/djibouti-1.jpg"><img class="alignnone size-medium wp-image-1021" title="Djibouti-1" src="http://animalonstamps.wordpress.com/files/2009/11/djibouti-1.jpg?w=297" alt="" width="297" height="300" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tussen nationaal en internationaal kapitaal (2)]]></title>
<link>http://yvespernet.wordpress.com/2009/11/21/tussen-nationaal-en-internationaal-kapitaal-2/</link>
<pubDate>Sat, 21 Nov 2009 11:55:02 +0000</pubDate>
<dc:creator>yvespernet</dc:creator>
<guid>http://yvespernet.wordpress.com/2009/11/21/tussen-nationaal-en-internationaal-kapitaal-2/</guid>
<description><![CDATA[De staat en belastingen Wanneer we de grenzen van soevereiniteit tussen bedrijven en de staat, en du]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><strong><em>De staat en belastingen</em></strong></p>
<p>Wanneer we de grenzen van soevereiniteit tussen bedrijven en de staat, en dus tussen economie en politiek beleid, willen bespreken, is het nodig om de zaken concreter te bekijken. Immanuel Wallerstein heeft in zijn “World System Analysis” gesteld dat de soevereine staten proberen om in de volgende zeven gebieden zoveel mogelijk autoriteit op te bouwen : (1) Staten zetten de regels uit waar de voorwaarden bepaald worden waarin kapitaal, goederen en arbeid hun grenzen mogen overschrijden. (2)Staten bepalen de wetten met betrekking tot eigendomsrechten. (3) Staten bepalen de regels met betrekking tot arbeids- en loonsbeleid. (4) Staten bepalen welke kosten bedrijven moeten internaliseren. (5) Staten bepalen welke economische sectoren gemonopoliseerd mogen worden en in welke mate en vorm. (6) Staten bepalen de mate, vorm en inning van belasting. (7) Staten kunnen ingrijpen in het beleid van bedrijven binnenin hun grenzen, waarmee zij echter ook indirect de beslissingen van andere staten bepalen.</p>
<p>We hebben elders in dit artikel reeds besproken dat het internationale grootkapitaal ijvert om zoveel mogelijk beperkingen op de vrije handel af te schaffen. Hiertegenover staan dan de arbeidersbewegingen die net staatsinterventie willen om zo sociale wetgeving af te dwingen. Het is echter ook duidelijk dat vele grote bedrijven toch wel een zekere vorm van staat willen behouden om bepaalde dingen af te dwingen. In het begin van dit hoofdstuk hebben we het reeds gehad over hoe de centrale staat in de eerste plaats zijn macht uitbreidde om zoveel mogelijk belastingsgeld naar de staat te kunnen doen vloeien. Om uit te leggen waarom vele van de grote bedrijven toch nog steeds een zekere vorm van staat willen, is het nodig om het principe van belastingen en de gevolgen van het gebruik daarvan van naderbij te bekijken.</p>
<p>Één van de meest gehoorde, en favoriete, kritieken op het principe van de staat is dat zij belastingen heffen. Sterker nog, heel het principe van belastingen heffen is net één van de kernpunten geweest waar heel het principe van de staat rond gebouwd is geweest in vroegere eeuwen. Er wordt wel eens gezegd dat niemand graag belastingen betaalt, maar eigenlijk is dit helemaal niet zo. Al zullen velen het niet graag toegeven, bijna iedereen, zowel bedrijven als personen, wilt belastingen afdragen zodat de staat kan zorgen voor bepaalde voorzieningen die opgebouwd en onderhouden worden met belastingsgeld. De grote kritiek op belastingen komt eigenlijk neer op twee bedenkingen:</p>
<p>Het belastingsgeld wordt niet nuttig besteed: deze kritiek komt neer op de bedenking dat het belastingsgeld niet gebruikt wordt om diegenen te helpen die het braaf afdragen, maar om politici, bureaucraten, de staat zelf of vreemdelingen te onderhouden. En we kunnen inderdaad stellen dat in vele West-Europese staten het belastingsgeld op deze manier wordt misbruikt.</p>
<p>Hoe meer belastingen voor de staat, hoe minder geld de anderen hebben: belastingsgeld afdragen betekent eigenlijk het plaatsen van persoonlijke financiële middelen in één grote gemeenschappelijke pot, waarover de controle in handen ligt van de vertegenwoordigers van de gemeenschap, maar niet in de handen van de individuele leden van die gemeenschap.</p>
<p>Wanneer we kijken naar de tweede bedenking, botsen we ineens op een praktisch gevolg van belastingsgeld. De staat herverdeelt het belastingsgeld via sociale voorzieningen, openbare voorzieningen en subsidies. Dit gecombineerd met het feit dat de staat tevens de controle heeft over de wetten m.b.t. personen- en goederenverkeer geeft de staat eigenlijk enorm veel macht. Zodra de staat echter die macht gebruikt, kunnen we niet spreken over neutraliteit. Elke beslissing die de staat neemt op dit vlak is automatisch een bevoordeling of benadeling van de vele groepen, personen of bedrijven in de samenleving. Er bestaat dan ook geen neutrale houding van de staat wanneer het op ingrijpen in de markt aankomt, net omdat de staat de beschikking heeft over grote financiële stromen, namelijk de belastingen. Door het aanwenden van deze belastingsgelden bepaalt de staat een zeer groot deel van de samenleving. De subsidiëring van bepaalde culturele initiatieven en het niet-subsidiëren van anderen kan zeer diepgaande effecten hebben op de ontwikkeling van de geesten in de maatschappij.</p>
<p>Vanuit die optiek is het dus naast monetaire politiek ook zeer belangrijk om als staat een controle te behouden over de inning van de belastingen. Met het gebruik van deze collectieve pot geld kan men immers meer doen dan de staat onderhouden en in openbare voorzieningen voorzien, het kan ook een cultuurbeleid en een mentaliteit sturen. Het kan ook een economie wijzigen door bepaalde sectoren, of zelfs individuele bedrijven, te bevoordelen. Dit is dan ook één van de redenen dat bedrijven nog steeds een zekere mate van staat zullen aanvaarden. Door het huidige systeem waarbij de politieke elite samenspant met de economische en culturele elites, is het beheersen van de staat handig om zo aan extra gelden voor het bekomen van een agenda. Ondanks het feit dat ik in de vorige stukken heb gesteld dat een staat soeverein moet zijn in zijn gebieden, volgens de zeven stellingen van Immanuel Wallerstein, sluit dit echter toch niet uit dat een staat invloed heeft op het beleid van een andere staat zonder dat daarbij noodzakelijk sprake moet zijn van geweld.</p>
<p><strong><em>Conclusie</em></strong></p>
<p>We kunnen dan ook stellen dat voor ons solidaristische volksnationalisten het van vitaal belang is om een functionerende staat te hebben die de volksgemeenschap en diens economie ondersteunt om zo het algemeen belang te dienen. Offensieven van het internationale grootkapitaal hiertegen dienen tegengehouden worden door een nieuw nationaal verbond van werkgevers en werknemers. Die eersten kunnen gemotiveerd worden om hier te blijven door speciale verankeringswetten (belastingsvoordelen als een bedrijf minstens x-aantal jaar gegarandeerd hier blijft en bij eventueel faillissement onder tijdelijke overheidscuratele komt). De staat dient ook zijn legitimatie uit de volksgemeenschap te halen omdat hij anders zijn volledige bestaansrecht verliest. Onze revolutie dient dan ook niet alleen een volksnationale revolutie te zijn, ze dient ook een revolutie in de structuren te zijn. Edgard Delvo zei het nog het beste door te stellen dat een volksgemeenschap dient ondersteunt te worden door een volksstaat.</p>
<p>Aldus, laten we strijden voor de Dietse Volksstaat!<br />
<strong></strong></p>
<p style="text-align:right;"><strong>Yves Pernet</strong></p>
<p style="text-align:left;"><em><strong>Bronnen</strong></em></p>
<ol>
<li>ROBIN, M.-M., “De wereld volgens Monsanto”, Uitgeverij De Geus, Breda, 2009</li>
<li>WIENSHER-HANKS, M., “Early Modern Europe, 1450-1789”, Cambridge University Press, Cambridge, 2006, pp.96-97</li>
<li>WALLERSTEIN, I. “World system analysis: an introduction”, Duke University Press, Durham, 2004, p.53</li>
<li>&#60;http://globalguerrillas.typepad.com/globalguerrillas/2006/05/journal_shell_r.html&#62; (nagekeken op 17 juni 2009)</li>
<li>“In the ongoing war between Shell Oil and Nigeria&#8217;s open source guerrilla movement (MEND), has reached a new level. Shell Oil was ordered by a Nigerian court (likely with Nigerian government support) to pay $1.5 billion in reparations for environmental damage to the Niger delta. Shell has refused to pay”</li>
<li>WALLERSTEIN, I. “World system analysis: an introduction”, Duke University Press, Durham, 2004, p.53</li>
<li>BROWN, E., “The Web of Debt”, Third Millenium Press, Baton Rouge, 2008, p.415</li>
<li>HUMMEL, W., “A Plan for Monetary Reform”, &#60; http://wfhummel.net/&#62;</li>
<li>WALLERSTEIN, I. “World system analysis: an introduction”, Duke University Press, Durham, 2004, p.46</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aalborg Kongres &amp; Kultur Center]]></title>
<link>http://expopedia.wordpress.com/2009/11/21/aalborg-kongres-kultur-center/</link>
<pubDate>Sat, 21 Nov 2009 05:00:14 +0000</pubDate>
<dc:creator>expopedia</dc:creator>
<guid>http://expopedia.wordpress.com/2009/11/21/aalborg-kongres-kultur-center/</guid>
<description><![CDATA[This venue has recently been added on Expopedia, the tradefair service finder. Visit our website for]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This venue has recently been added on <a href="http://www.expopedia.net" title="tradefair service finder">Expopedia</a>, the tradefair service finder. Visit our website for more information.</p>
<p><strong>Aalborg Kongres &#38; Kultur Center</strong><br />
P.O. Box 149<br />
9100 Aalborg (Denmark)<br />
<a href="http://aalborg-kongres-kultur-center.expopedia.net" title="Aalborg Kongres &#38; Kultur Center information on Expopedia">More information about Aalborg Kongres &#38; Kultur Center &#8230;</a></p>
<p>An overview of the available activities for Aalborg Kongres &#38; Kultur Center &#8230;</p>
<ul>
<li><a href="http://index.expopedia.net/stand-construction-custom-build-aalborg-kongres-kultur-center_en-e6795-5435.html" title="Stand construction: custom build Aalborg Kongres &#38; Kultur Center">Stand construction: custom build</a></li>
<li><a href="http://index.expopedia.net/waste-treatment-refuse-disposal-aalborg-kongres-kultur-center_en-e6795-5393.html" title="Waste treatment / Refuse disposal Aalborg Kongres &#38; Kultur Center">Waste treatment / Refuse disposal</a></li>
<li><a href="http://index.expopedia.net/rental-audio-visual-ict-aalborg-kongres-kultur-center_en-e6795-5443.html" title="Rental: audio visual, ICT Aalborg Kongres &#38; Kultur Center">Rental: audio visual, ICT</a></li>
<li><a href="http://index.expopedia.net/communication-magazines-online-aalborg-kongres-kultur-center_en-e6795-5403.html" title="Communication / Magazines / Online Aalborg Kongres &#38; Kultur Center">Communication / Magazines / Online</a></li>
<li><a href="http://index.expopedia.net/floorcovering-carpet-aalborg-kongres-kultur-center_en-e6795-5455.html" title="Floorcovering / Carpet Aalborg Kongres &#38; Kultur Center">Floorcovering / Carpet</a></li>
<li><a href="http://index.expopedia.net/consultancy-aalborg-kongres-kultur-center_en-e6795-5404.html" title="Consultancy Aalborg Kongres &#38; Kultur Center">Consultancy</a></li>
<li><a href="http://index.expopedia.net/events-exhibition-organisation-aalborg-kongres-kultur-center_en-e6795-5411.html" title="Events / exhibition organisation Aalborg Kongres &#38; Kultur Center">Events / exhibition organisation</a></li>
<li><a href="http://index.expopedia.net/banners-aalborg-kongres-kultur-center_en-e6795-5396.html" title="Banners Aalborg Kongres &#38; Kultur Center">Banners</a></li>
<li><a href="http://index.expopedia.net/handling-aalborg-kongres-kultur-center_en-e6795-5413.html" title="Handling Aalborg Kongres &#38; Kultur Center">Handling</a></li>
<li><a href="http://index.expopedia.net/subcontractor-installationdismantling-aalborg-kongres-kultur-center_en-e6795-5424.html" title="Subcontractor installation/dismantling Aalborg Kongres &#38; Kultur Center">Subcontractor installation/dismantling</a></li>
<li><a href="http://index.expopedia.net/rental-lighting-installations-aalborg-kongres-kultur-center_en-e6795-5450.html" title="Rental: lighting installations Aalborg Kongres &#38; Kultur Center">Rental: lighting installations</a></li>
<li><a href="http://index.expopedia.net/lettering-signage-aalborg-kongres-kultur-center_en-e6795-5397.html" title="Lettering / Signage Aalborg Kongres &#38; Kultur Center">Lettering / Signage</a></li>
<li><a href="http://index.expopedia.net/displays-designfabrication-aalborg-kongres-kultur-center_en-e6795-5407.html" title="Displays (design/fabrication) Aalborg Kongres &#38; Kultur Center">Displays (design/fabrication)</a></li>
<li><a href="http://index.expopedia.net/stand-construction-shell-scheme-aalborg-kongres-kultur-center_en-e6795-5436.html" title="Stand construction: shell scheme Aalborg Kongres &#38; Kultur Center">Stand construction: shell scheme</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Recursive Grep Example]]></title>
<link>http://jaysonlorenzen.wordpress.com/2009/11/20/recursive-grep-example/</link>
<pubDate>Fri, 20 Nov 2009 21:57:28 +0000</pubDate>
<dc:creator>Jayson</dc:creator>
<guid>http://jaysonlorenzen.wordpress.com/2009/11/20/recursive-grep-example/</guid>
<description><![CDATA[Nothing really needing explaining here, but wanted an example for doing a recrsive grep handy as I c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nothing really needing explaining here, but wanted an example for doing a recrsive grep handy as I can never remember it.</p>
<p>&#160;</p>
<p>grep -RH &#8211;include &#8220;*.java&#8221; TEXT_I_AM_LOOKING_FOR *</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[BASH Shell: For Loop File Names With Spaces]]></title>
<link>http://johnsofteng.wordpress.com/2009/11/20/bash-shell-for-loop-file-names-with-spaces/</link>
<pubDate>Fri, 20 Nov 2009 21:39:53 +0000</pubDate>
<dc:creator>johnsofteng</dc:creator>
<guid>http://johnsofteng.wordpress.com/2009/11/20/bash-shell-for-loop-file-names-with-spaces/</guid>
<description><![CDATA[BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of files. Howe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.cyberciti.biz/faq/bash-for-loop/">BASH for loop</a> works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some problem. for loop uses $IFS variable to determine what the field separators are. By default $IFS is set to the space character. There are multiple solutions to this problem.</p>
<h2>Set $IFS variable</h2>
<p>Try it as follows:</p>
<pre>#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for f in *
do
  echo "$f"
done
IFS=$SAVEIFS</pre>
<p>OR</p>
<pre>#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
# set me
FILES=/data/*
for f in $FILES
do
  echo "$f"
done
# restore $IFS
IFS=$SAVEIFS</pre>
<h3>More examples using $IFS and while loop</h3>
<p>Now you know that if the field delimiters are not whitespace, you can set IFS. For example, <a href="http://www.cyberciti.biz/faq/bash-while-loop/">while loop</a> can be used to get all fields from /etc/passwd file:</p>
<pre>....
while IFS=: read userName passWord userID groupID geCos homeDir userShell
do
      echo "$userName -&#62; $homeDir"
done &#60; /etc/passwd</pre>
<h2>Using old good find command to process file names</h2>
<p>To process the output of <a href="http://www.cyberciti.biz/tips/tag/find-command">find</a> with a command, try as follows:</p>
<pre>find . -print0 &#124; while read -d $'' file
do
  echo -v "$file"
done</pre>
<p>Try to copy files to /tmp with spaces in a filename using <a href="http://www.cyberciti.biz/faq/tag/find-command/">find command</a> and shell pipes:</p>
<pre>find . -print0 &#124; while read -d $'' file; do cp -v "$file" /tmp; done</pre>
<h2>Processing filenames using an array</h2>
<p>Sometimes you need <a href="http://www.cyberciti.biz/faq/finding-bash-shell-array-length-elements/">read a file into an array</a> as one array element per line. Following script will read file names into an array and you can process each file using for loop. This is useful for complex tasks:</p>
<pre>#!/bin/bash
DIR="$1"

# failsafe - fall back to current directory
[ "$DIR" == "" ] &#38;&#38; DIR="." 

# save and change IFS
OLDIFS=$IFS
IFS=$'\n' 

# read all file name into an array
fileArray=($(find $DIR -type f))

# restore it
IFS=$OLDIFS

# get length of an array
tLen=${#fileArray[@]}

# use for loop read all filenames
for (( i=0; i&#60;${tLen}; i++ ));
do
  echo "${fileArray[$i]}"
done</pre>
<h3>Playing mp3s with spaces in file names</h3>
<p>Place following code in your ~/.bashrc file:</p>
<pre>mp3(){
	local o=$IFS
	IFS=$(echo -en "\n\b")
	/usr/bin/beep-media-player "$(cat  $@)" &#38;
	IFS=o
}</pre>
<p>Keep list of all mp3s in a text file such as follows (~/eng.mp3.txt):</p>
<pre>/nas/english/Adriano Celentano - Susanna.mp3
/nas/english/Nick Cave &#38; Kylie Minogue - Where The Wild Roses Grow.mp3
/nas/english/Roberta Flack - Kiling Me Softly With This Song.mp3
/nas/english/The Beatles - Girl.mp3
/nas/english/John Lennon - Stand By Me.mp3
/nas/english/The Seatbelts, Cowboy Bebop - 01-Tank.mp3</pre>
<p>To play just type:<br />
<code>$ mp3 eng.mp3.txt</code></p>
<p>&#160;</p>
<p><code>Reference:</code></p>
<p><code><a href="http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html">http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html</a></code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[cli] Find out success status of a command in BASH/ CSH]]></title>
<link>http://nixtricks.wordpress.com/2009/11/20/cli-find-out-success-status-of-a-command-in-bash-csh/</link>
<pubDate>Fri, 20 Nov 2009 21:10:54 +0000</pubDate>
<dc:creator>kousik</dc:creator>
<guid>http://nixtricks.wordpress.com/2009/11/20/cli-find-out-success-status-of-a-command-in-bash-csh/</guid>
<description><![CDATA[To know the return value of a command, in BASH run $ echo $? and in CSH/ TCSH run $ echo $status whi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>To know the return value of a command, in BASH run<br />
<code> $ echo $?</code><br />
and in CSH/ TCSH run<br />
<code> $ echo $status</code><br />
which will give you the return value (0 or 1) of the last command (the one issued just before the <code> echo</code>).</p>
<p>In both the shells, if the above spits out 0 (zero),  it means the previous command was successfully completed, otherwise it&#8217;ll give rise to 1 (unsuccessful!) &#8212; quite contrary to our concept of 0 being false and 1 being true, eh!</p>
<p><strong>Credit:</strong> <a href="http://oraclespin.wordpress.com/2009/06/14/how-to-find-successfailure-status-of-a-command-in-different-shells/" target="_blank">Oracle Spin</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Roskilde Kongrescenter]]></title>
<link>http://expopedia.wordpress.com/2009/11/20/roskilde-kongrescenter/</link>
<pubDate>Fri, 20 Nov 2009 21:00:12 +0000</pubDate>
<dc:creator>expopedia</dc:creator>
<guid>http://expopedia.wordpress.com/2009/11/20/roskilde-kongrescenter/</guid>
<description><![CDATA[This venue has recently been added on Expopedia, the tradefair service finder. Visit our website for]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This venue has recently been added on <a href="http://www.expopedia.net" title="tradefair service finder">Expopedia</a>, the tradefair service finder. Visit our website for more information.</p>
<p><strong>Roskilde Kongrescenter</strong><br />
Møllehusvej 15<br />
4000 Roskilde (Denmark)<br />
<a href="http://roskilde-kongrescenter.expopedia.net" title="Roskilde Kongrescenter information on Expopedia">More information about Roskilde Kongrescenter &#8230;</a></p>
<p>An overview of the available activities for Roskilde Kongrescenter &#8230;</p>
<ul>
<li><a href="http://index.expopedia.net/stand-construction-custom-build-roskilde-kongrescenter_en-e6799-5435.html" title="Stand construction: custom build Roskilde Kongrescenter">Stand construction: custom build</a></li>
<li><a href="http://index.expopedia.net/waste-treatment-refuse-disposal-roskilde-kongrescenter_en-e6799-5393.html" title="Waste treatment / Refuse disposal Roskilde Kongrescenter">Waste treatment / Refuse disposal</a></li>
<li><a href="http://index.expopedia.net/rental-audio-visual-ict-roskilde-kongrescenter_en-e6799-5443.html" title="Rental: audio visual, ICT Roskilde Kongrescenter">Rental: audio visual, ICT</a></li>
<li><a href="http://index.expopedia.net/communication-magazines-online-roskilde-kongrescenter_en-e6799-5403.html" title="Communication / Magazines / Online Roskilde Kongrescenter">Communication / Magazines / Online</a></li>
<li><a href="http://index.expopedia.net/floorcovering-carpet-roskilde-kongrescenter_en-e6799-5455.html" title="Floorcovering / Carpet Roskilde Kongrescenter">Floorcovering / Carpet</a></li>
<li><a href="http://index.expopedia.net/consultancy-roskilde-kongrescenter_en-e6799-5404.html" title="Consultancy Roskilde Kongrescenter">Consultancy</a></li>
<li><a href="http://index.expopedia.net/events-exhibition-organisation-roskilde-kongrescenter_en-e6799-5411.html" title="Events / exhibition organisation Roskilde Kongrescenter">Events / exhibition organisation</a></li>
<li><a href="http://index.expopedia.net/banners-roskilde-kongrescenter_en-e6799-5396.html" title="Banners Roskilde Kongrescenter">Banners</a></li>
<li><a href="http://index.expopedia.net/handling-roskilde-kongrescenter_en-e6799-5413.html" title="Handling Roskilde Kongrescenter">Handling</a></li>
<li><a href="http://index.expopedia.net/subcontractor-installationdismantling-roskilde-kongrescenter_en-e6799-5424.html" title="Subcontractor installation/dismantling Roskilde Kongrescenter">Subcontractor installation/dismantling</a></li>
<li><a href="http://index.expopedia.net/rental-lighting-installations-roskilde-kongrescenter_en-e6799-5450.html" title="Rental: lighting installations Roskilde Kongrescenter">Rental: lighting installations</a></li>
<li><a href="http://index.expopedia.net/lettering-signage-roskilde-kongrescenter_en-e6799-5397.html" title="Lettering / Signage Roskilde Kongrescenter">Lettering / Signage</a></li>
<li><a href="http://index.expopedia.net/displays-designfabrication-roskilde-kongrescenter_en-e6799-5407.html" title="Displays (design/fabrication) Roskilde Kongrescenter">Displays (design/fabrication)</a></li>
<li><a href="http://index.expopedia.net/stand-construction-shell-scheme-roskilde-kongrescenter_en-e6799-5436.html" title="Stand construction: shell scheme Roskilde Kongrescenter">Stand construction: shell scheme</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tussen nationaal en internationaal kapitaal (1)]]></title>
<link>http://yvespernet.wordpress.com/2009/11/20/tussen-nationaal-en-internationaal-kapitaal-1/</link>
<pubDate>Fri, 20 Nov 2009 11:47:11 +0000</pubDate>
<dc:creator>yvespernet</dc:creator>
<guid>http://yvespernet.wordpress.com/2009/11/20/tussen-nationaal-en-internationaal-kapitaal-1/</guid>
<description><![CDATA[Door een paar problemen die ik met WordPress ondervond, heb ik een tijd niets kunnen plaatsen. Bij d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Door een paar problemen die ik met WordPress ondervond, heb ik een tijd niets kunnen plaatsen. Bij deze zou dat dus normaal moeten opgelost zijn. Dit weekend zit ik in Bretagne voor het congres van ADSAV, maar normaal gezien zou de komende dagen hier één van mijn artikels voor het crisisnummer van Revolte moeten verschijnen.</p>
<p style="text-align:justify;"><strong><em>Inleiding</em></strong></p>
<p style="text-align:justify;"><em>Bedrijven klagen graag over wetten en regels die staat uitvaardigt m.b.t. interventie in de economie. We stellen echter ook vast dat de meeste bedrijven zich zullen uitspreken in voorkeur voor een staat. De staat kan immers de bedrijven beschermen en een economische politiek voeren waar zij baat bij hebben. Ook de arbeiders hebben baat bij een staat die zorgt voor sociale wetgeving en dus sociale rust, waar de bedrijven op hun beurt dan weer baat bij hebben. Algemeen gezien kan men stellen dat een volksnationalistische staat zorgt voor de nodige economische, politieke en sociale stabiliteit om in een degelijk niveau van welzijn én welvaart te voorzien. Maar tegenover deze bedrijven staan de grote multinationals van het grootkapitaal die net zullen ijveren naar zo weinig mogelijk staatsingrijpen. Dit omdat hun vertakkingen immers internationaal zijn en van zo een grote omvang dat zij enkel nog maar kunnen tegengehouden worden door staatsingrijpen. Zonder dat ingrijpen zouden zij immers monopolieposities kunnen innemen en volledig hun zin doen, vaak met desastreuze ecologische, sociale en economische gevolgen . Het is dus zeer belangrijk om in te zien dat men niet kan spreken van “hét kapitaal”, maar dat we een onderscheid moeten maken tussen het nationaal kapitaal en het internationaal (groot)kapitaal. Voor we dus verdergaan over de rol van de staat is het even nodig om stil te staan bij het verschil tussen deze twee.</em></p>
<p style="text-align:justify;"><strong><em>Het verschil tussen nationaal en globaal kapitaal</em></strong></p>
<p style="text-align:justify;"><strong>Het nationaal kapitaa</strong>l verkiest zich te hechten aan een staat en diens inwoners om zijn economische activiteiten te ontplooien. Ze zullen hun best doen om zoveel mogelijk van de subsidies in handen te krijgen om hun activiteiten op nationaal niveau uit te bouwen. Eventueel zijn daar wel internationale vertakkingen bij, maar deze vorm van kapitaal blijft zijn zwaartepunt in één land houden en zal bij besparingen ook in dat land als laatste besparen.</p>
<p style="text-align:justify;"><strong>Het internationaal grootkapitaal</strong> heeft geen binding meer met één land. Hun hoofdvestiging is niet uitgekozen vanwege een emotionele verbinding, maar vanwege pure machtspolitiek. Zij zullen zich vestigen in een sterke staat die ze kunnen gebruiken om andere landen onder druk te zetten. Zodra zij echter kunnen, zullen zij echter de macht van de staat op de economie ondermijnen om hun activiteiten te vergroten. Voor het grootkapitaal telt enkel winst en nog meer winst.</p>
<p style="text-align:justify;">Dit verschil is belangrijk voor onze strijd aangezien we vriend van vijand moeten kunnen onderscheiden. We zijn geen marxisten die alle kapitaalbezitters smeerlappen vinden, wij wensen ook niet een communistisch systeem te organiseren waarbij vooral de armoede collectief bezit is. Het is echter wel onze strijd dat wij wensen te strijden tegen entiteiten die onze eigenheid en onafhankelijkheid aanvallen. En momenteel is het grootkapitaal “goed” bezig met dat te doen en helaas met succes. Daarom moeten we ook onze bondgenoten gedeeltelijk zoeken in het nationale kapitaal, zonder daardoor blind te worden voor het feit dat ook in het nationale kapitaal elementen zitten die maar al te graag tot het internationale grootkapitaal willen horen.</p>
<p style="text-align:justify;"><strong><em>De legitimatie van de staat</em></strong></p>
<p style="text-align:justify;">Liberalen en anarcho-kapitalisten stellen het bestaan van de staat en diens macht over maatschappij regelmatig in vraag. De eersten willen nog een minimum aan staat behouden, anarcho-kapitalisten willen echter alle vorm van staat afschaffen en alles overlaten aan de bedrijven en de vrije markt. Voor ons solidaristische volksnationalisten is dit echter onmogelijk. Wij beschouwen de staat immers als een hulpmiddel en een verdediging van de volksgemeenschap. In onze visie dienen de staatsgrenzen getrokken te worden rond de grenzen van volkeren en niet omgekeerd. Vanuit die optiek is de volksgemeenschap dus de kern en drijvende motor van het bestaan van de staat en tevens de oorzaak en middel van die staat om te functioneren. Verder stellen wij ook dat door het bestaan van de staat de volksgemeenschap en diens economie kan worden beschermd tegen het grootkapitaal dat enkel denkt aan winst en niets geeft om sociale wetgeving, of de ecologische en sociale gevolgen van hun manier van zaken doen.</p>
<p style="text-align:justify;">Maar het is belachelijk om te denken dat een staat altijd perfect functioneert. Indien dat wel het geval zou zijn, zouden we niet met de problemen van vandaag de dag zitten. Het is dan ook belangrijk om een nationaal besef van plicht in te bouwen in de mensen die de bureaucratie van de staat bemannen. Wanneer de staat immers geplaagd wordt door grote corruptie en belastingsgelden het centrale gezag niet bereiken, zullen mensen de staat gaan beschouwen als een manier op zich om winst te maken. Waarop het centrale gezag vervolgens zal reageren door de staat te gaan gebruiken als een verzameling middelen die verkocht kunnen worden om aan geld te geraken. Niet enkel in de huidige corrupte Afrikaanse staten kunnen we dit terugvinden, ook bij ons hebben we dit probleem gehad in de geschiedenis van de staatsvorming. Kijken we maar naar de 16de eeuw waarbij posities in de staat verkocht worden. Als deelnemer aan het parlement van Parijs moest men gewoon 6.000 livres betalen in 1522, tegen 1600 was dit 60.000 livres geworden , om deze functie te krijgen. Normaal vereiste dit juridisch onderwijs en kunnen, maar doordat het centraal gezag constant geld nodig had, door het ontbreken van een vaste stroom belastingen en de visie op de staat als een manier van persoonlijke verrijking, en dus dit soort functies verkocht.</p>
<p style="text-align:justify;">Sterker nog, een nachtwakerstaat zoals vele liberalen voorstellen is net veel kwetsbaarder voor dingen als een staatsgreep. Het principe van een staat houdt immers nog steeds in dat een staat de volledige autoriteit heeft binnen de bevoegdheidsgrenzen die door de staat worden gesteld. Maar wanneer de staat zijn handen aftrekt van belangrijke en winstgevende economische sectoren, kweken zij een groot ongenoegen naar de bevolking toe. Dit doordat dit meestal gebeurt in landen waar multinationals opeens enorm veel macht krijgen en allesbehalve ethisch handelen. Dit leidt tot sociale onrust waar de staat, wegens gebrek aan financiële middelen, niet kan ingrijpen. Landen waar de staat de controle afgeeft op economisch vlak zijn dan ook kwetsbaarder voor militaire staatsgrepen . Kijken we bvb maar naar landen waar de staat zich volledig heeft teruggetrokken uit de oliesector en die bedrijven grote macht hebben. Nigeria is daar een goed voorbeeld van, waar de Movement for the Emancipation of the Niger Delta, vecht tegen het beleid van Shell. Shell heeft ook in het verleden reeds voorvechters van de bevolking daar laten vermoorden. In het geval van de Niger delta en Shell heeft Shell meerdere keren in het verleden zelfs geweigerd om te betalen voor de door hen veroorzaakte milieuschade . Pas onlangs hebben zij een minimum aan schadevergoeding betaald voor de moord op een emancipatievoorman. Ook moeten we onthouden dat een machtsvacuüm altijd opgevuld zal worden. Als het centrale gezag ondermijnd wordt, zal het gezag steeds op een lager niveau worden hersteld . Het resultaat van het uitvoeren van dit soort anarchistische avonturen zal dan ook enkel leiden tot het opkomen van lokale krijgsheren die de volksgemeenschap enkel verdelen.</p>
<p style="text-align:justify;">Een andere kritiek die vaak wordt gehoord over de staat is de stelling dat staatsbedrijven hopeloos inefficiënt zijn en gigantisch veel verlies draaien, ten koste van de gemeenschapsgelden van de belastingen. Het is een feit dat staatsbedrijven vaak door politieke spelletjes beperkt worden in hun werking en ook dringend gesaneerd moeten worden. We mogen ook de dubieuze rol van sommige vakbondsmilitanten niet negeren. De vakbond is een organisatie die wij dienen toe te juichen, maar zoals bij andere organisaties zitten ook daar rotte appels die liever staken omdat dat spannender en leuker is. Het is dan ook nodig dat het personeelsbeleid bij de overheid op kwaliteiten en werkinzet worden gebaseerd en niet op vaste benoemingen moet steunen, al mogen we natuurlijk niet raken aan het principe van sociale wetgeving en bescherming.</p>
<p style="text-align:justify;">Maar we mogen ook een andere visie hierop niet vergeten: overheidsbedrijven die niet geprivatiseerd geraken, zijn vaak de sectoren waar bedrijven (nog) geen winst op kunnen maken. Wanneer de staatsbedrijven immers geprivatiseerd worden, zien we niet een daling in prijzen en een verhoging in aanbod. Integendeel, de liberalisering van de energiesector in België zorgde ervoor dat energieprijzen hier 30% naar boven gingen. De liberalisering van het spoorwegsysteem in Groot-Brittannië zorgde voor grote prijsstijgingen, een grote stijging in ongelukken en het bijna instorten van het spoorwegsysteem . Het hebben van staatsbedrijven die betaald worden door belastingsgeld heeft reeds in het verleden aangetoond dat het een beter aanbod kan geven dan de liberalisering van die bedrijven. Kijken we maar naar de voornoemde voorbeelden of als we verder van huis willen kijken: Indië. Een Indische studie naar tevredenheid van klanten over dienstverlening en aanbod van producten in de banksector had als resultaat dat de overheidsbank Bank of India op alle vlakken het best scoorde . Een ander heikel punt met het bestaan van de staat zijn de belastingen.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
