<?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>tov's Blog</title>
	<atom:link href="http://blog.nobody-is-like.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobody-is-like.me</link>
	<description>Just another (geeky) WordPress weblog</description>
	<lastBuildDate>Tue, 15 May 2012 09:19:41 +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>Rails Own Logger</title>
		<link>http://blog.nobody-is-like.me/2011/07/rails-own-logger/</link>
		<comments>http://blog.nobody-is-like.me/2011/07/rails-own-logger/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 14:53:39 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=93</guid>
		<description><![CDATA[I was in need of a logging mechanism that prints all log messages with a &#8220;severity&#8221; that equals or is higher of &#8220;INFO&#8221; to STDOUT (I&#8217;m using multilog for actual logging stuff). As I wasn&#8217;t able to google a solution I came up with the following (not quite elaborated) code: &#160; class OwnLogger &#60; Logger [...]]]></description>
			<content:encoded><![CDATA[<p>I was in need of a logging mechanism that prints all log messages with a &#8220;severity&#8221; that equals or is higher of &#8220;INFO&#8221; to STDOUT (I&#8217;m using <a title="multilog" href="http://cr.yp.to/daemontools/multilog.html">multilog</a> for actual logging stuff).</p>
<p>As I wasn&#8217;t able to google a solution I came up with the following (not quite elaborated) code:</p>
<p>&nbsp;</p>
<pre class="brush:ruby">class OwnLogger &lt; Logger

    include Severity
    SEV_LABEL = %w(DEBUG INFO WARN ERROR FATAL ANY)

    def add(severity, message = nil, progname = nil, &amp;block)
      time = Time.now
      if ENV['LOG_FROM_INFO_TO_STDOUT']
        if severity &gt;= INFO
          msg = "#{$$}:#{SEV_LABEL[severity]}:" + time.strftime("%Y-%m-%dT%H:%M:%S.") &lt;&lt; "%06d " % time.usec + ":"
          if message.nil?
            if block_given?
              message = yield
            else
              message = progname
              progname = @progname

            end
            msg += message.to_s
            puts msg
          end
        end
        super
      end

    end</pre>
<p>So if you put the following lines in your /config/application.rb you&#8217;ll get what I got <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<pre class="brush:ruby">config.logger = OwnLogger.new(File.dirname(__FILE__) + "/../log/#{ENV['PROCNAME']}#{Rails.env}.log")
</pre>
<p>AND (most important) you&#8217;ll still have the &#8220;normal&#8221; logfile containing all messages</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2011/07/rails-own-logger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schuhmacherei Janisch</title>
		<link>http://blog.nobody-is-like.me/2011/07/schuhmacherei-janisch/</link>
		<comments>http://blog.nobody-is-like.me/2011/07/schuhmacherei-janisch/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 10:33:35 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Empfehlungen]]></category>
		<category><![CDATA[Empfehlung]]></category>
		<category><![CDATA[Schuhe]]></category>
		<category><![CDATA[Werbung]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=89</guid>
		<description><![CDATA[Schamlose Werbung Wenn Ihr liebgewordene Schuhe mal nicht wegwerfen sondern lieber reparieren lassen wollt und zufällig in der Nähe von Solingen seid, dann besucht doch mal die Familie Janisch. Die erledigen das dann für Euch&#8230; Details unter Schuhmacherei-Janisch.de Klare Empfehlung von mir!]]></description>
			<content:encoded><![CDATA[<p>Schamlose Werbung <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Wenn Ihr liebgewordene  Schuhe mal nicht wegwerfen sondern lieber reparieren lassen wollt und zufällig in der Nähe von Solingen seid, dann besucht doch mal die Familie Janisch.</p>
<p>Die erledigen das dann für Euch&#8230;</p>
<p>Details unter <a href="http://www.schuhmacherei-janisch.de">Schuhmacherei-Janisch.de</a></p>
<p>Klare Empfehlung von mir!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2011/07/schuhmacherei-janisch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get the ID value of a serial column after insertation</title>
		<link>http://blog.nobody-is-like.me/2011/04/get-the-id-value-of-a-serial-column-after-insertation/</link>
		<comments>http://blog.nobody-is-like.me/2011/04/get-the-id-value-of-a-serial-column-after-insertation/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 15:18:08 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Informix Serial Ruby]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/2011/04/get-the-id-value-of-a-serial-column-after-insertation/</guid>
		<description><![CDATA[Just took me 2 hours of Googling&#8230; I found: http://stackoverflow.com/questions/246983/informix-how-to-get-an-id-of-the-last-inserted-record [...]The value of the last SERIAL insert is stored in the SQLCA record, as the second entry in the sqlerrd array. Brian’s answer is correct for ESQL/C, but you haven’t mentioned what language you’re using. If you’re writing a stored procedure, the value can be [...]]]></description>
			<content:encoded><![CDATA[<p>Just took me 2 hours of Googling&#8230;</p>
<p>I found:<br />
<a href="http://stackoverflow.com/questions/246983/informix-how-to-get-an-id-of-the-last-inserted-record">http://stackoverflow.com/questions/246983/informix-how-to-get-an-id-of-the-last-inserted-record</a></p>
<p>[...]The value of the last SERIAL insert is stored in the SQLCA record, as the second entry in the sqlerrd array. Brian’s answer is correct for ESQL/C, but you haven’t mentioned what language you’re using.<br />
If you’re writing a stored procedure, the value can be found thus:<br />
LET new_id = DBINFO(‚sqlca.sqlerrd1‘);<br />
It can also be found in $sth-&gt;{ix_sqlerrd}[1] if using DBI<br />
There are variants for other languages/interfaces, but I’m sure you’ll get the idea.<br />
[...]</p>
<p>I got the idea and have created the following procedure</p>
<p>CREATE PROCEDURE lastid ()<br />
         RETURNING integer;<br />
            DEFINE lastid integer;<br />
LET lastid = DBINFO(&#8216;sqlca.sqlerrd1&#8242;);<br />
RETURN lastid;<br />
END PROCEDURE</p>
<p>So to get the latest column you just use </p>
<p>select lastid() from table(set{1})</p>
<p>btw.: If you want to make use of this in Rails, I’d some success with:</p>
<p>class InformixConnect &lt; ActiveRecord::Base<br />
  self.abstract_class = true<br />
  establish_connection :development_informix</p>
<p>  def save<br />
    super<br />
    self.id = self.connection.select_value(&#8220;select lastid() from table(set{1})&#8221;)<br />
  end</p>
<p>end</p>
<p>so a model like</p>
<p>class Customer &lt; InformixConnect<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />
end</p>
<p>would be able to connect to Informix and to get correct values from the DB without the<br />
usage of sequences!</p>
<p><strong>ERROR<br />
</strong>Unfortunately the stuff above (overwriting the save method) does not work for some reasons.</p>
<p>I have patched</p>
<p>  class InformixAdapter &lt; AbstractAdapter</p>
<p>     def prefetch_primary_key?(table_name = nil)<br />
        false<br />
      end<br />
&#8230;.</p>
<p>     def insert(sql, name= nil, pk= nil, id_value= nil, sequence_name = nil)<br />
        execute(sql)<br />
        select_value(&#8220;select lastid() from table(set{1})&#8221;)<br />
      end<br />
&#8230;..</p>
<p>This works!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2011/04/get-the-id-value-of-a-serial-column-after-insertation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix broken application icons in Mac OS X Snow Leopard</title>
		<link>http://blog.nobody-is-like.me/2010/12/fix-broken-application-icons-in-mac-os-x-snow-leopard/</link>
		<comments>http://blog.nobody-is-like.me/2010/12/fix-broken-application-icons-in-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 08:35:30 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/2010/12/fix-broken-application-icons/</guid>
		<description><![CDATA[So it happened again: Most of my application icons were broken, i.e. only visible in a very low resolution. After googling a bit I found the following discussion: http://discussions.apple.com/thread.jspa?threadID=2142401 mdi’s suggestion did the trick for me: http://discussions.apple.com/message.jspa?messageID=10296267#10296267 What I did: open Terminal.app (If you never did&#8230; : Try „spotlight-search“ &#8211;&#62; Terminal) enter cd /private/var/folders enter [...]]]></description>
			<content:encoded><![CDATA[<p>So it happened again:</p>
<p>Most of my application icons were broken, i.e. only visible in a very low resolution.</p>
<p>After googling a bit I found the following discussion:<br />
<a href="http://discussions.apple.com/thread.jspa?threadID=2142401">http://discussions.apple.com/thread.jspa?threadID=2142401</a></p>
<p>mdi’s suggestion did the trick for me: <a href="http://discussions.apple.com/message.jspa?messageID=10296267#10296267">http://discussions.apple.com/message.jspa?messageID=10296267#10296267</a></p>
<p>What I did:</p>
<ul style="list-style-type: disc">
<li>open Terminal.app (If you never did&#8230; : Try „spotlight-search“ &#8211;&gt; Terminal)</li>
<li>enter cd /private/var/folders</li>
<li>enter sudo find . -name &#8220;com.apple.QuickLook.thumbnailcache&#8221;|xargs sudo rm -rf</li>
</ul>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(you will have to enter your password)</p>
<ul style="list-style-type: disc">
<li>Restart Finder.app using „Apple-Menu&#8211;&gt; „quit immediately (It’s „Sofort Beenden“ in German. Dunno the english term) or press </li>
<li><span style="font-size: 13pt;">command+option+escape</span>“. Chose „Finder restart“.</li>
<li>Be happy <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>OK, to be honest I had to restart to be really happy <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_neutral.gif' alt=':-|' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2010/12/fix-broken-application-icons-in-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NoMethodError: undefined method `empty?&#8217; for 8:Fixnum</title>
		<link>http://blog.nobody-is-like.me/2010/11/nomethoderror-undefined-method-empty-for-8fixnum/</link>
		<comments>http://blog.nobody-is-like.me/2010/11/nomethoderror-undefined-method-empty-for-8fixnum/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 16:28:46 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/2010/11/nomethoderror-undefined-method-empty-for-8fixnum/</guid>
		<description><![CDATA[Argh&#8230; This f&#8230;ine error message above has been thrown during a records = Model.find(:first). Guess why: I made use of a legacy table that contained the attribute „type“. I just had to add a self.inheritance_column=&#8217;itype&#8217; into my model and now everything’s OK. Rails: Do you consider this as friendly error messages?]]></description>
			<content:encoded><![CDATA[<p>Argh&#8230;<br />
This f&#8230;ine error message above has been thrown during a</p>
<p>records = Model.find(:first).</p>
<p>Guess why:</p>
<p>I made use of a legacy table that contained the attribute „type“. I just had to add a</p>
<p>  self.inheritance_column=&#8217;itype&#8217;  </p>
<p>into my model and now everything’s OK.</p>
<p>Rails: Do you consider this as friendly error messages?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2010/11/nomethoderror-undefined-method-empty-for-8fixnum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brainfuck</title>
		<link>http://blog.nobody-is-like.me/2010/03/brainfuck/</link>
		<comments>http://blog.nobody-is-like.me/2010/03/brainfuck/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 10:31:12 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programmierung]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=57</guid>
		<description><![CDATA[Hmmm&#8230; Kleine Fingerübung in Perl (pre-alpha ) Ah ja: Brainfuck: http://lmgtfy.com/?q=Brainfuck #!/usr/bin/env perl use Term::ReadKey; ReadMode 'raw'; my $debug = 0; my $code; if ($ARGV[0]){ { local $/ = undef; local *FILE; open FILE, "+++++++++[-]+++[>++++++++++++.]]></description>
			<content:encoded><![CDATA[<p>Hmmm&#8230; Kleine Fingerübung in Perl (pre-alpha <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>Ah ja: Brainfuck: <a href="http://lmgtfy.com/?q=Brainfuck">http://lmgtfy.com/?q=Brainfuck</a></p>
<pre>#!/usr/bin/env perl
use Term::ReadKey;
ReadMode 'raw';
my $debug = 0;

my $code;
if ($ARGV[0]){
	{ local $/ = undef; local *FILE; open FILE, "<".$ARGV[0]; $code = <FILE>; close FILE }
}

$code ||=
">+++++++++[<+++++++++++++>-]<-.-----.+++++++
.>+++[>++++++++++<-]
>++.<<----.+++.
--------- . -------.>++++[<+++++>-]<+.>++++++++++.";

$code =~ s/[^\.,+-\[\]<>]//msg;
$| = 1;
my @val;
@val[ 0 .. 29999 ] = (0) x 30000;
my $vpt = 0;
my @ls;
my @le;
my $lpt = 0;
my $cc  = 0;
my @c   = split( '', $code );
my $nc  = @c;
while ( $cc < $nc ) {
    $_ = $c[ $cc++ ];
    print "vpt:$vpt \$val[\$vpt]"
      . $val[$vpt]
      . " loop_counter:$loop_counter loop(counter)_start:"
      . $ls[$loop_counter]
      . " loop(counter)_end:"
      . $le[$loop_counter]
      . " cc:$cc command:$_\n"
      if $debug;
    /</ and do { $vpt        and $vpt--; next };
    />/ and do { $vpt < @val and $vpt++; next };
    /\+/ and do { $val[$vpt] = $val[$vpt] + 1; next; };
    /\-/ and do { $val[$vpt] = $val[$vpt] - 1; next; };
    /\./ and do { print chr( $val[$vpt] ); next; };
    /\,/ and do { $val[$vpt] = ord( ReadKey 0 ); next; };
    /\[/ and do {
        if   ( $val[$vpt] ) { $ls[ $lpt++ ] = $cc - 1 }
        else                { $cc = defined $le[$lpt] ? $le[$lpt] : (index($code,']',$cc)+1) }
        next;
    };
    /\]/ and do {
        $le[ --$lpt ] = $cc;
        $cc = $ls[$lpt];
        next;
    };
}
print "\n";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2010/03/brainfuck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging via MacJournal</title>
		<link>http://blog.nobody-is-like.me/2010/03/blogging-via-macjournal/</link>
		<comments>http://blog.nobody-is-like.me/2010/03/blogging-via-macjournal/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:17:37 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/2010/03/10/blogging-via-macjournal/</guid>
		<description><![CDATA[Umpft. Ich konnte dem aktuellen http://www.macheist.com Nano-Bundle natürlich doch nicht widerstehen. Monkey-Islands war eine Versuchung wert und vor allen Dingen Tweetie 2.0. Jetzt habe ich auch noch MacJournal dazu bekommen und bin eigentlich ziemlich begeistert. Blogging mit einem vernünftigen Client Verschlüsselung privater Einträge Export von Einträgen als HTML, PDF etc. Volltextsuche via Spotlight. Synchronisation via [...]]]></description>
			<content:encoded><![CDATA[<p>Umpft.<br />
Ich konnte dem aktuellen <a href="http://www.macheist.com">http://www.macheist.com</a> Nano-Bundle natürlich doch nicht widerstehen. Monkey-Islands war eine Versuchung wert und vor allen Dingen Tweetie 2.0.</p>
<p>Jetzt habe ich auch noch <a href="http://www.marinersoftware.com/sitepage.php?page=85">MacJournal</a> dazu bekommen und bin eigentlich ziemlich begeistert.</p>
<ul style="list-style-type: disc">
<li>Blogging mit einem vernünftigen Client</li>
<li>Verschlüsselung privater Einträge</li>
<li>Export von Einträgen als HTML, PDF etc.</li>
<li>Volltextsuche via Spotlight.</li>
<li>Synchronisation via Mobile-Me (muss noch TeamDrive ausprobieren)</li>
</ul>
<p>Und alle so „Yeah“!</p>
<p>P.S. Und die Probleme von Safari mit WordPress brauchen mich jetzt auch nicht mehr zu kümmern</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2010/03/blogging-via-macjournal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spendenaktion für Haiti</title>
		<link>http://blog.nobody-is-like.me/2010/01/spendenaktion-fur-haiti/</link>
		<comments>http://blog.nobody-is-like.me/2010/01/spendenaktion-fur-haiti/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 11:54:10 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=48</guid>
		<description><![CDATA[@johnny von Spreeblick hat eine Spendenaktion für die Erdbebenopfer von Haiti in&#8217;s Leben gerufen. Nicht, dass es nicht auch andere Wege des Spendens gäbe, aber das Problem ist ja (und das löst sich durch solche Aktionen halt), dass &#8220;man&#8221; (ja, auch ich) in der Regel den A&#8230; ja nicht hochkriegt. Also: Wenn Ihr Eure Kontonummer [...]]]></description>
			<content:encoded><![CDATA[<p>@johnny von<a title="Spendenaktion" href="http://www.spreeblick.com/2010/01/15/rettungsanker-haiti-spendenaktion/" target="_self"> Spreeblick</a> hat eine Spendenaktion für die Erdbebenopfer von Haiti in&#8217;s Leben gerufen.</p>
<p>Nicht, dass es nicht auch andere Wege des Spendens gäbe, aber das Problem ist ja (und das löst sich durch solche Aktionen halt), dass &#8220;man&#8221; (ja, auch ich) in der Regel den A&#8230; ja nicht hochkriegt.</p>
<p>Also: Wenn Ihr Eure Kontonummer noch kennt, einfach mal auf obigen Link clicken!</p>
<p>Danke sehr!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2010/01/spendenaktion-fur-haiti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to delete an LVM snapshot</title>
		<link>http://blog.nobody-is-like.me/2009/12/how-to-delete-an-lvm-snapshot/</link>
		<comments>http://blog.nobody-is-like.me/2009/12/how-to-delete-an-lvm-snapshot/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:36:40 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=44</guid>
		<description><![CDATA[Problem: Centos did not boot after a failure with an LVM snapshot. It got stuck at: Setting up Logical Volume Management: (part of rc.sysinit) Solution: Boot: 1) grub &#8220;e&#8221; (to edit the first line) 2) append &#8220;init = /bin/bash&#8221; to kernel parameters 3) boot (Enter, &#8220;b&#8221;) (append &#8220;Single&#8221; should work as well but it didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Problem: Centos did not boot after a failure with an LVM snapshot.</p>
<p>It got stuck at:</p>
<p>Setting up Logical Volume Management: (part of rc.sysinit)</p>
<p>Solution:</p>
<p>Boot:<br />
1) grub &#8220;e&#8221; (to edit the first line)<br />
2) append &#8220;init = /bin/bash&#8221; to kernel parameters<br />
3) boot (Enter, &#8220;b&#8221;)</p>
<p>(append &#8220;Single&#8221; should work as well but it didn&#8217;t as far as I remember)</p>
<p>Console<br />
1) mount / -o remount (enables rw mode)<br />
2) vi /etc/lvm/lvm.conf<br />
3) replace<br />
locking_dir = &#8220;/var/lock/lvm&#8221;<br />
by<br />
locking_dir = &#8220;/tmp&#8221;<br />
(this is because &#8220;lvremove&#8221; does not recognize the &#8211;ignorelockingfailure parameter)<br />
4) cd /sbin<br />
5) ./lvm.static lvdisplay &#8211;ignorelockingfailure (not sure if this param is necessary after editing lvm.conf)<br />
6) Find the snapshot path: /dev/your_volumegroup/your_logical_volume_snapshot<br />
7) remove: ./lvm.static lvremove /dev/your_volumegroup/your_logical_volume_snapshot<br />
 <img src='http://blog.nobody-is-like.me/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> reboot<br />
9) be happy as it works now!</p>
<p>10) ask yourself if you should have re-edited lvm.conf&#8230;</p>
<p>I have forgotten to do so but as &#8220;/tmp&#8221; is more or less recommended in lvm.conf.</p>
<p>Hope that helps either people or me (in future).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2009/12/how-to-delete-an-lvm-snapshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete Trash Bin (Recycle.Bin) in Windows Server</title>
		<link>http://blog.nobody-is-like.me/2009/12/delete-trash-bin-recycle-bin-in-windows-server/</link>
		<comments>http://blog.nobody-is-like.me/2009/12/delete-trash-bin-recycle-bin-in-windows-server/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:29:32 +0000</pubDate>
		<dc:creator>tov</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://blog.nobody-is-like.me/?p=41</guid>
		<description><![CDATA[Seems that it sometimes only pretends to have deleted the f&#8230;ine dustbin. Try cd /d C:\$Recycle.bin dir /AH rd /s /q &#8220;NameOfFolder&#8221; if you need some space]]></description>
			<content:encoded><![CDATA[<p>Seems that it sometimes only pretends to have deleted the f&#8230;ine dustbin.</p>
<p>Try</p>
<p>cd /d C:\$Recycle.bin<br />
dir /AH<br />
rd /s /q &#8220;NameOfFolder&#8221;</p>
<p>if you need some space</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nobody-is-like.me/2009/12/delete-trash-bin-recycle-bin-in-windows-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

