<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2961372143426150222</id><updated>2024-02-19T12:28:02.415+01:00</updated><category term="linux"/><category term="bash"/><category term="script"/><category term="gtd"/><category term="art"/><category term="philosophy"/><category term="psychology"/><category term="tech"/><category term="movies"/><category term="emotions"/><category term="existentialism"/><category term="insight"/><category term="business"/><category term="comedy"/><category term="economy"/><category term="kindle"/><category term="music"/><category term="purpose"/><category term="system"/><category term="fitness"/><category term="minimalism"/><category term="religion"/><category term="therapy"/><category term="war"/><category term="xfce"/><title type='text'>Bicetre</title><subtitle type='html'>Personal blog: /linux/psychology/philosophy/gtd/business/art/etc ... yeah, it&#39;s a mess.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-6171801322266234441</id><published>2014-12-22T00:58:00.004+01:00</published><updated>2014-12-22T00:59:21.212+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Norwegian holiday file for pal</title><content type='html'>
I started using pal as a calendar. It stores the appointments as clean text. I love it. You can ofc sync the files with
dropbox to android, and there you can use simple linux tools to display it too. Anyway ...
&lt;p&gt;
norway.pal:
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap;
word-wrap:break-word;&quot;&gt;
NO Norway
00001224 Julaften
00001225 F&amp;oslash;rste Juldag
00001226 Andre Juledag
00001231 Nytt&amp;aring;rsaften
00000101 Nytt&amp;aring;rsdag
00000501 Arbeidernes dag
00000508 Frigj&amp;oslash;ringsdagen 1945
00000517 grunnlovsdagen
00000729 olsok
*03L1 sommertid begynner
*10L1 sommertid slutter
Easter 1. p&amp;aring;skedag
Easter+001 2. p&amp;aring;skedag
Easter-002 langfredag
Easter-003 skj&amp;aelig;rtorsdag
Easter-007 palmes&amp;oslash;ndag
Easter-049 fastelavn
Easter+039 kristi himmelfartsdag
Easter+049 1. pinsedag
Easter+050 2. pinsedag
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/6171801322266234441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2014/12/norwegian-holiday-file-for-pal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/6171801322266234441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/6171801322266234441'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2014/12/norwegian-holiday-file-for-pal.html' title='Norwegian holiday file for pal'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-3419895756059868422</id><published>2012-09-09T12:33:00.002+02:00</published><updated>2012-09-09T12:35:50.683+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>How to start gui application from cron</title><content type='html'>I&#39;ve got a slow internet connection right now, so I needed a way to start deluge when I&#39;m asleep. Cron won&#39;t let you start GUI
applications without tweaking it. So i searched the web, and made this script, it&#39;s based on &lt;a
href=&quot;http://stackoverflow.com/questions/8219242/can-cron-jobs-use-gnome-open&quot;&gt;this post&lt;/a&gt;
&lt;p&gt;
&lt;b&gt;cgs(Cron Gui Start):&lt;/b&gt;
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;You need to exchange &quot;openbox&quot; with whatever your windowmanagers cmd name is, check &#39;ps -A&#39;, could be e.g.: gnome-session&lt;/i&gt;)&lt;/font&gt;
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid
#000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
for pid in $(pgrep openbox); do
unset COOKIE
COOKIE=&quot;$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$pid/environ|cut -d= -f2-)&quot;
GNUSER=&quot;$(ps --no-heading -o uname $pid)&quot;
sudo -u &quot;$GNUSER&quot; DBUS_SESSION_BUS_ADDRESS=&quot;$COOKIE&quot; &quot;$@&quot;
done
&lt;p&gt;
unset COOKIE
&lt;/pre&gt;
&lt;p&gt;
&lt;b&gt;Examples from cronetab&lt;/b&gt;
&lt;p&gt;
00 08 * * * cgs /usr/bin/notify-send &quot;Time to do some wrk&quot; &lt;br&gt;
00 02 * * * cgs deluge



</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/3419895756059868422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/09/how-to-start-gui-application-from-cron.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3419895756059868422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3419895756059868422'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/09/how-to-start-gui-application-from-cron.html' title='How to start gui application from cron'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-592859098106230492</id><published>2012-09-07T14:00:00.001+02:00</published><updated>2012-09-11T19:19:03.477+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>How to view compressed images in linux</title><content type='html'>Since we&#39;re not quite in the paper-less society yet, I often have to scan documents for archiving. Before, I used &quot;convert&quot; to
make multiple images into a pdf-file. This works ok, but i think I found a simpler and easier method. Compress images (most
fm&#39;s lets you do this with ease), and then use this script to view them. E.i. I made this script to view compressed images in
linux. It simply extracts the archive to /tmp/tarpics and starts viewing them. Works great, similar to a PDF or multiple images
in a folder. I call the files filename.jpg.tar.gz, so i can make these files open with this script as default.
&lt;br /&gt;
&lt;b&gt;tarpics&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #FFFF99; border: 1px solid #000000; color: black; margin: 25px; padding: 3px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;file=${@/file:\/\/}
rm -r /tmp/tarpics; mkdir /tmp/tarpics;tar -C /tmp/tarpics/ -xf $file;feh -F -Z -q /tmp/tarpics/
&lt;/pre&gt;
&lt;span style=&quot;color: #65ade4;&quot;&gt;(&lt;i&gt;Usage: tarpics file.jpg.tar.gz&lt;/i&gt;)&lt;/span&gt;
I&#39;ve recently switched to the image viewer &quot;feh&quot;, which needs a wrapper to open images from a fm ... i integrated the above
code into the wrapper, so the wrapper handles all images-files including jpg.tar.gz files.
&lt;br /&gt;
&lt;b&gt;feh-open&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #FFFF99; border: 1px solid #000000; color: black; margin: 25px; padding: 3px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;file=${@/file:\/\/}
if [[ &quot;$file&quot; == http* ]] ; then { feh $file; exit 1; } fi
if [[ &quot;$file&quot; == *.jpg.tar.gz ]]
then rm -r /tmp/tarpics; mkdir /tmp/tarpics;tar -C /tmp/tarpics/ -xf $file;feh -F -Z -q /tmp/tarpics/
else {
if [[ $file == ${file%*/*} ]]
then feh -F -Z -q --start-at &quot;$file&quot; *
else feh -F -Z -q --start-at &quot;$file&quot; &quot;${file%*/*}&quot;
fi
}
fi
&lt;/pre&gt;
&lt;span style=&quot;color: #65ade4;&quot;&gt;(&lt;i&gt;Usage: feh-open file.jpg.tar.gz&lt;/i&gt;)&lt;/span&gt; or &lt;span style=&quot;color: #65ade4;&quot;&gt;(&lt;i&gt;feh-open file.jpg&lt;/i&gt;)&lt;/span&gt;
Of course I use &lt;a href=&quot;http://bicetre.blogspot.com/2012/02/bash-open.html&quot;&gt;bash-open&lt;/a&gt; to open the files with.

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/592859098106230492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/09/view-compressed-images-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/592859098106230492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/592859098106230492'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/09/view-compressed-images-in-linux.html' title='How to view compressed images in linux'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-4983628101330066022</id><published>2012-07-06T00:35:00.001+02:00</published><updated>2012-07-06T01:57:02.171+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="kindle"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Kindle collection script (bash)</title><content type='html'>There are some tools for
linux to make collection in Kindle(e.g.: &lt;a href=&quot;http://www.mobileread.com/forums/showthread.php?t=118635&quot;&gt;plugin for calibre&lt;/a&gt; ), and even a
&lt;a href=&quot;http://www.accwebworks.com/kindle&quot;&gt;webtool&lt;/a&gt;, but i like to do things localy and from bash. So I made a script to put books in colelctions, based on what folder theire in,
so the books in /mnt/kindle/documents/fiction are put in the &#39;fiction&#39; collection etc.  Make sure there are no subfolders.
&lt;p&gt;
When you make new collections (add new folders), you need to reboot the kindle: Menu → Settings → Menu (again) → reboot
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;Remember to edit $kid&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
kid=/mnt/kindle
hp=/mnt/us/documents #don&#39;t edit
IFS=$(echo -en &quot;\n\b&quot;)

if mount|grep $kid &gt;&gt; /dev/null; then {
&lt;p&gt;
(echo &quot;{&quot;
for col in $(find $kid/documents -type d|awk -F &quot;/&quot; &#39;{print $5}&#39;|sed &#39;1d&#39;|sort -u);
do
echo &quot;&#39;,\&quot;$col@en-us\&quot;:{\&quot;items\&quot;:[&#39;&quot;
for i in $(cd $kid/documents/$col;ls *.*|grep -v pdr)
do
echo &quot;&#39;\&quot;*$(echo -n &quot;$hp/$col/$i&quot;|shasum|cut -c -40)\&quot;&#39;,&quot;
done
echo &quot;],&#39;\&quot;lastAccess\&quot;&#39;:0}&quot;
done
echo &quot;}&quot;)|xargs|sed -e &#39;s/ //g&#39; -e &#39;s/{,/{/g&#39; -e &#39;s/,]/]/g&#39; &gt; $kid/system/collections.json
}
else echo &quot;kindle not mounted&quot;
fi
&lt;/pre&gt;
&lt;p&gt;
&lt;a name=&quot;Some extra tips about the kindle&quot;&gt;&lt;/a&gt;&lt;h2&gt;Some extra tips about the kindle&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://wiki.mobileread.com/wiki/Kindle_HowTo:_Change_Margin&quot;&gt;Kindle HowTo: Change Margin&lt;/a&gt; I changed them from 40 to 5, which works great
&lt;li&gt; &lt;a href=&quot;http://gbenthien.net/Kindle/html_for_kindle.html&quot;&gt;Make your own kindle book, throught html coding&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.amazon.com/gp/feature.html?ie=UTF8&amp;docId=1000765211&quot;&quot;&gt;and generate it with Kindlegen&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; To view images, you have to zip them: in linux: zip -9 myfile *.jpg , the kindle will scale the images, but for larges/best possible images, think about rotating and format.
&lt;li&gt; Also check out my earlier post, on &lt;a href=&quot;http://bicetre.blogspot.no/2012/05/i-got-advice-from-friend-to-check-out.html&quot;&gt;how to make install a new kindle screensaver&lt;/a&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/4983628101330066022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/07/kindle-collection-script-bash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4983628101330066022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4983628101330066022'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/07/kindle-collection-script-bash.html' title='Kindle collection script (bash)'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-3773944973572366732</id><published>2012-07-06T00:15:00.001+02:00</published><updated>2012-07-06T00:16:24.362+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="art"/><category scheme="http://www.blogger.com/atom/ns#" term="business"/><category scheme="http://www.blogger.com/atom/ns#" term="comedy"/><category scheme="http://www.blogger.com/atom/ns#" term="economy"/><category scheme="http://www.blogger.com/atom/ns#" term="insight"/><category scheme="http://www.blogger.com/atom/ns#" term="psychology"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Multilink 2</title><content type='html'>&lt;a href=&quot;http://www.emptykingdom.com/main/featured/michal-dziekan/&quot;&gt;&lt;img src=&quot;http://www.emptykingdom.com/main/wp-content/uploads/2011/01/03_a.jpg&quot; width=&quot;800&quot;&gt;&lt;/a&gt;&lt;br&gt;
&lt;ul&gt;
&lt;li&gt; Art/Design
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://artboom.info/design/60-coolest-packaging-designs.html&quot;&gt; Coolest Packaging Designs &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.habbenink.com/51176/425338/fine-art/shapes-of-conscious&quot;&gt; Shapes of Conscious &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Business
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.financialsense.com/contributors/ugo-bardi/peak-civilization/&quot;&gt; Peak Civilization &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.businessweek.com/news/2012-07-03/switzerland-sweden-are-world-s-most-innovative-countries&quot;&gt; Switzerland, Sweden Are World’s Most Innovative Countries &lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Global_Innovation_Index_(INSEAD)#Conceptual_framework&quot;&gt; Global Innovation Index &lt;/a&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt; Tech
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.coolerado.com/why-coolerado/&quot;&gt; New technology in airconditioning&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=MShbP3OpASA&quot;&gt;Aalto Talk with Linus Torvalds [Full-length]&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Politics
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.guardian.co.uk/technology/2012/jun/18/google-reports-alarming-rise-censorship?cat=technology&amp;type=article&quot;&gt; Google reports &#39;alarming&#39; rise in censorship by governments &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://vorige.nrc.nl/international/article2246821.ece/Netherlands_to_close_prisons_for_lack_of_criminals&quot;&gt; Netherlands to close prisons for lack of criminals &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Psychology
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://skeptikai.com/2012/01/19/left-brain-vs-right-brain-learning-styles/&quot;&gt;Learning styles debunked&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://zocalopublicsquare.org/thepublicsquare/2011/11/30/how-doctors-die/read/nexus/&quot;&gt;how doctors die&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.smithsonianmag.com/arts-culture/Teller-Reveals-His-Secrets.html?c=y&amp;page=3&quot;&gt; Teller Reveals His Secrets &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.chopcow.com/self-help-books/index.php&quot;&gt;90% of all self help books say the same thing&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Music
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=ATW3bx6yEQA&quot;&gt; Bathory-Ring Of Gold &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=iZBusfAE3Gw&quot;&gt; A Static Lullaby - Toxic &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=H2-1u8xvk54&quot;&gt; Comptine d&#39;Un Autre Étéeacute- Die fabelhafte Welt der Améeacutelie Piano [Large Version 2010] &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=20PQBtyfNZY&quot;&gt; JUNO - &quot;All I Want Is You&quot; Video &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=xuR_GxPYFGU&amp;feature=related&quot;&gt; Red Fang - Wires &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Video
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=h__uutzcQXc&quot;&gt; The Newsroom: Will McAvoy Opening Rant &lt;/a&gt; Looks like a good series
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=gugjMmXQrDo&quot;&gt; Kids ask for light in &#39;best ever&#39; anti-smoking ad &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Fun
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=u-yLGIH7W9Y&quot;&gt; Shit Girls Say - Episode 1/3 &lt;/a&gt;
&lt;/ul&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/3773944973572366732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/07/multilink-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3773944973572366732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3773944973572366732'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/07/multilink-2.html' title='Multilink 2'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-7593270549827226863</id><published>2012-06-22T00:16:00.001+02:00</published><updated>2012-06-22T00:18:01.968+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="art"/><category scheme="http://www.blogger.com/atom/ns#" term="existentialism"/><category scheme="http://www.blogger.com/atom/ns#" term="insight"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="philosophy"/><title type='text'>Multilink 1</title><content type='html'>&lt;img src=&quot;http://25.media.tumblr.com/tumblr_m5qi4oOcRR1qc0cxpo1_500.gif&quot;&gt;
&lt;ul&gt;
&lt;li&gt; Art/design/architecture
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.agencyartanimation.com:89/iasblognew?p=2995/&quot;&gt; Sunken bridge &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://drawingarchitecture.tumblr.com/&quot;&gt; Drawing ARCHITECTURE &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.complexification.net/gallery/&quot;&gt;gallery of computation&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Interviews/videos
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=9DYRGd-_Yc4&quot;&gt; One Of The Greatest Speeches Ever Made &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.thedailyshow.com/watch/tue-april-24-2012/exclusive---madeleine-albright-extended-interview-pt--1&quot;&gt; Madeleine Albright 1&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.thedailyshow.com/watch/tue-april-24-2012/exclusive---madeleine-albright-extended-interview-pt--2&quot;&gt; Madeleine Albright 2&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=OAfXSgRxQEc&quot;&gt; Hard Talk-Alan Moore Interview 1/2 &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=tn95a3gGaW0&amp;feature=relmfu&quot;&gt; Hard Talk-Alan Moore Interview 2/2 &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=XhyHlKHIeZY&quot;&gt; Salvador Dali - Mike Wallace interview 1958 - Part 1/2 &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=ZOENxpE313k&quot;&gt;Salvador Dali - Mike Wallace interview 1958 - Part 2/2 &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Music &lt;font color=65ADE4&gt;(&lt;i&gt;trance, folk, hiphop, mystic, some very old&lt;/i&gt;)&lt;/font&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=Cdk1gwWH-Cg&quot;&gt; too Legit to quit &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=nY7GnAq6Znw#!&quot;&gt; Jon Gomm - Passionflower &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=7NbN_UKf6gA&quot;&gt; HAGGARD Awaking The Centuries &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=g0L5RFspwyE&amp;feature=related&quot;&gt; Dead Can Dance - Song of the Stars &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=1KdXjFDKVZA&quot;&gt; Dead Can Dance - Indus &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=W6TTS_PHCCY&quot;&gt; DAEMONIA NYMPHE-Summoning Divine Selene &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;v=HcXNPI-IPPM&quot;&gt; DIE ANTWOORD - BABY&#39;S ON FIRE (OFFICIAL) &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=lGupr_ISDtc&amp;feature=BFa&amp;list=PLF646D087C101DFE0&quot;&gt; Percival - Jomsborg viking and slavic music &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=qXKd7uuehlw&quot;&gt; The new Basshunter - DotA video. &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=RW6NWTIh3VE&quot;&gt; Mr.Oizo - Flat Beat &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=sgsOBkSDLj4&amp;feature=related&quot;&gt;antiloop - in my mind&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=9dTn7p_O-rU&amp;feature=related&quot;&gt; Omnia - Moon &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=W6TTS_PHCCY&quot;&gt; DAEMONIA NYMPHE &lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=97XFWOqU7X4&quot;&gt; Ulver - Ulvsblakk &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Politics
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;http://www.usnews.com/news/articles/2012/04/20/kopimism-swedens-pirate-religion-begins-to-plunder-america&quot;&gt; Kopimism, Sweden&#39;s Pirate Religion, Begins to Plunder America &lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt; Funny/cute
&lt;ul&gt;
&lt;li&gt; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq6agJb7kwS1suf291pJFCrFQ6MDlgL0YihrYbpm0w11bh-vCMp3UaERyS8blFnygrz9GZDDEARY9SiDR4CFL55v_7oIScYqRT6otPZB7l-3Midi7uHSlLzi9d0kwuS8C2nmGUMm3o6YM/s1600/Funny+Cat+Sleeping+-+Piss+Off+Sun+-+I%2527m+Not+Done+With+Yesterday+Yet.jpg&quot;&gt;Lolcat &lt;/a&gt;
&lt;/ul&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/7593270549827226863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/06/multilink-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7593270549827226863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7593270549827226863'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/06/multilink-1.html' title='Multilink 1'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-4250474805102397228</id><published>2012-06-20T21:09:00.001+02:00</published><updated>2012-06-21T00:05:21.328+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="business"/><category scheme="http://www.blogger.com/atom/ns#" term="economy"/><category scheme="http://www.blogger.com/atom/ns#" term="system"/><title type='text'>Edward Conard</title><content type='html'>Interesting interview with Edward Conard, where he argues for capitalism and reward for risk. He&#39;s the author of the book &lt;a href=&quot;http://www.amazon.com/Unintended-Consequences-Everything-Youve-Economy/dp/1591845505/ref=sr_1_1?ie=UTF8&amp;qid=1340229870&amp;sr=8-1&amp;keywords=Unintended+Consequences&quot;&gt;Unintended Consequences.&lt;/a&gt;
&lt;p&gt;
&lt;table style=&#39;font:11px arial; color:#333; background-color:#f5f5f5&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;512&#39; height=&#39;340&#39;&gt;&lt;tbody&gt;&lt;tr style=&#39;background-color:#e5e5e5&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com&#39;&gt;The Daily Show with Jon Stewart&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:2px 5px 0px 5px; text-align:right; font-weight:bold;&#39;&gt;Mon - Thurs 11p / 10c&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39; colspan=&#39;2&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/watch/thu-june-7-2012/exclusive---edward-conard-extended-interview-pt--1&#39;&gt;Exclusive - Edward Conard Extended Interview Pt. 1&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px; background-color:#353535&#39; valign=&#39;middle&#39;&gt;&lt;td colspan=&#39;2&#39; style=&#39;padding:2px 5px 0px 5px; width:512px; overflow:hidden; text-align:right&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#96deff; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/&#39;&gt;www.thedailyshow.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;embed style=&#39;display:block&#39; src=&#39;http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:414979&#39; width=&#39;512&#39; height=&#39;288&#39; type=&#39;application/x-shockwave-flash&#39; wmode=&#39;window&#39; allowFullscreen=&#39;true&#39; flashvars=&#39;autoPlay=false&#39; allowscriptaccess=&#39;always&#39; allownetworking=&#39;all&#39; bgcolor=&#39;#000000&#39;&gt;&lt;/embed&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:18px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;table style=&#39;margin:0px; text-align:center&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;100%&#39; height=&#39;100%&#39;&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.thedailyshow.com/full-episodes/&#39;&gt;Daily Show Full Episodes&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.indecisionforever.com/&#39;&gt;Political Humor &amp; Satire Blog&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.facebook.com/thedailyshow&#39;&gt;The Daily Show on Facebook&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

      &lt;table style=&#39;font:11px arial; color:#333; background-color:#f5f5f5&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;512&#39; height=&#39;340&#39;&gt;&lt;tbody&gt;&lt;tr style=&#39;background-color:#e5e5e5&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com&#39;&gt;The Daily Show with Jon Stewart&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:2px 5px 0px 5px; text-align:right; font-weight:bold;&#39;&gt;Mon - Thurs 11p / 10c&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39; colspan=&#39;2&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/watch/thu-june-7-2012/exclusive---edward-conard-extended-interview-pt--2&#39;&gt;Exclusive - Edward Conard Extended Interview Pt. 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px; background-color:#353535&#39; valign=&#39;middle&#39;&gt;&lt;td colspan=&#39;2&#39; style=&#39;padding:2px 5px 0px 5px; width:512px; overflow:hidden; text-align:right&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#96deff; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/&#39;&gt;www.thedailyshow.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;embed style=&#39;display:block&#39; src=&#39;http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:414980&#39; width=&#39;512&#39; height=&#39;288&#39; type=&#39;application/x-shockwave-flash&#39; wmode=&#39;window&#39; allowFullscreen=&#39;true&#39; flashvars=&#39;autoPlay=false&#39; allowscriptaccess=&#39;always&#39; allownetworking=&#39;all&#39; bgcolor=&#39;#000000&#39;&gt;&lt;/embed&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:18px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;table style=&#39;margin:0px; text-align:center&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;100%&#39; height=&#39;100%&#39;&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.thedailyshow.com/full-episodes/&#39;&gt;Daily Show Full Episodes&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.indecisionforever.com/&#39;&gt;Political Humor &amp; Satire Blog&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.facebook.com/thedailyshow&#39;&gt;The Daily Show on Facebook&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

      &lt;table style=&#39;font:11px arial; color:#333; background-color:#f5f5f5&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;512&#39; height=&#39;340&#39;&gt;&lt;tbody&gt;&lt;tr style=&#39;background-color:#e5e5e5&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com&#39;&gt;The Daily Show with Jon Stewart&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:2px 5px 0px 5px; text-align:right; font-weight:bold;&#39;&gt;Mon - Thurs 11p / 10c&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39; colspan=&#39;2&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/watch/thu-june-7-2012/exclusive---edward-conard-extended-interview-pt--3&#39;&gt;Exclusive - Edward Conard Extended Interview Pt. 3&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px; background-color:#353535&#39; valign=&#39;middle&#39;&gt;&lt;td colspan=&#39;2&#39; style=&#39;padding:2px 5px 0px 5px; width:512px; overflow:hidden; text-align:right&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#96deff; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/&#39;&gt;www.thedailyshow.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;embed style=&#39;display:block&#39; src=&#39;http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:414981&#39; width=&#39;512&#39; height=&#39;288&#39; type=&#39;application/x-shockwave-flash&#39; wmode=&#39;window&#39; allowFullscreen=&#39;true&#39; flashvars=&#39;autoPlay=false&#39; allowscriptaccess=&#39;always&#39; allownetworking=&#39;all&#39; bgcolor=&#39;#000000&#39;&gt;&lt;/embed&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:18px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;table style=&#39;margin:0px; text-align:center&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;100%&#39; height=&#39;100%&#39;&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.thedailyshow.com/full-episodes/&#39;&gt;Daily Show Full Episodes&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.indecisionforever.com/&#39;&gt;Political Humor &amp; Satire Blog&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.facebook.com/thedailyshow&#39;&gt;The Daily Show on Facebook&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/4250474805102397228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/06/edward-conard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4250474805102397228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4250474805102397228'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/06/edward-conard.html' title='Edward Conard'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5444529290182551699</id><published>2012-06-12T09:58:00.000+02:00</published><updated>2012-07-07T16:39:40.484+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="movies"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>mplayer_resume</title><content type='html'>&lt;img src=&quot;http://www.mplayerosx.ch/icon.png&quot; align=right&gt;
I made this script for mplayer
&lt;p&gt;
&lt;ul&gt;
&lt;li&gt; &lt;b&gt;Features&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt; Resumes playing videos/audiobooks with mplayer, where you left off
&lt;li&gt; If it is a playlist (file.pl), it will also remember which file you were watching
&lt;li&gt; To clear all history/bookmarks just delete ~/.mplayer_resume
&lt;/ul&gt;
&lt;li&gt; Names of files played with mplayer_resume must be unique, so you can&#39;t keep track of two playlists called playlist.pl (even if they are in different folders).
&lt;li&gt; And without further adieu ...
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
folder=/home/$USER/.mplayer_resume
pls=pl # playlist postfix
ol=20 # repeats n seconds from where you left off
file=${@##*file://} #don&#39;t edit
bn=$(basename &quot;$file&quot;)
[ -a $folder ]||mkdir $folder
if [[ $file = /x/trin* ]]; then {
mplayer &quot;$file&quot;
exit 1
} ; fi
if [ -a &quot;$folder/$bn&quot; ]
then {
ss=$(cat &quot;$folder/$bn&quot;|sed -e &#39;s/A:/\nA:/g&#39;|sed -n &#39;/^A:/s/^A:[[:space:]]*\([[:digit:]\.]*\).*$/\1/p&#39;|tail -n 1)
ss=$(echo $ss-$ol|bc)
if [[ &quot;$bn&quot; = *.$pls ]];then {
cf=$(grep Playing &quot;$folder/$bn&quot;|tail -n 1|sed -e &#39;s/\.$//g&#39; -e &#39;s/^Playing //g&#39;)
line=$(($(grep -n $(basename &quot;$cf&quot;) &quot;$file&quot; |awk -F &quot;:&quot; &#39;{print $1}&#39;)-1))
if [[ $line = 0 ]] ;then line=-1;fi
echo -e &quot;volume 0\npt_step $line \nseek $ss 2&quot; &gt; $folder/prerun
mplayer -input file=$folder/prerun -playlist &quot;$file&quot;|tee &quot;$folder/$bn&quot;|grep Playing
}
else mplayer &quot;$file&quot; -ss $ss &amp;&gt; &quot;$folder/$bn&quot; ;fi
}
else
if [[ $bn = *.$pls ]];then mplayer -playlist &quot;$file&quot; &amp;&gt; &quot;$folder/$bn&quot;
else mplayer &quot;$file&quot; &amp;&gt; &quot;$folder/$bn&quot;; fi
fi
&lt;/pre&gt;
&lt;p&gt;

&lt;li&gt; Just set &lt;a href=&quot;http://bicetre.blogspot.no/2012/02/bash-open.html&quot;&gt;bash-open&lt;/a&gt; or xdg-open to open video-files and .pl.files with mplayer_resume, easy.
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5444529290182551699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/06/mplayerresume.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5444529290182551699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5444529290182551699'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/06/mplayerresume.html' title='mplayer_resume'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5678597496853787214</id><published>2012-06-03T18:25:00.000+02:00</published><updated>2012-06-09T21:37:29.871+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="minimalism"/><title type='text'>Openbox</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.asus.com/websites/global/products/3qRH01yHQFgo84hY/P_500.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.asus.com/websites/global/products/3qRH01yHQFgo84hY/P_500.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;&quot; name=&quot;openbox&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h1&gt;
openbox&lt;/h1&gt;
I&#39;m still running debian. I just went from using xfce to openbox, as a window manager, since I didn&#39;t use any of the menus/panel anyways. After install openbox
only have a right-click menu, so if you want a panel/dock or whatever you have to install this yourself. It&#39;s also highly configurable,
you can lose the window-decoration etc. There is a graphical configuration tool (obconf), but you can also edit
~/.config/openbox/rc.xml, which gives you a lot more options. All i needed to do was to add some keyboard-shortcuts, and run
applications with &lt;a href=&quot;http://bicetre.blogspot.no/2012/04/bash-run.html&quot;&gt;bash-run&lt;/a&gt;, i like the simplicity. No panel, no clock, no blinking icons, just focus on what you are doing. And it
feels real fast, even on my Asus Eee Box (the pic →).
&lt;p&gt;

After &lt;b&gt;install&lt;/b&gt; run :&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;
white-space:pre-wrap; word-wrap:break-word;&quot;&gt; openbox --replace &lt;/pre&gt; ... to change windows manager, and, if you don&#39;t have a graphical
login that lets you choose window manager, put :&lt;pre style=&quot;padding:3px; border:1px solid #000000;
margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;exec openbox-session&lt;/pre&gt; at the end of
~/&lt;b&gt;.xsession&lt;/b&gt;, create .xsession if it does not exist. You can also put other commands, you want to run at startup, in ~/.xsession, but they
need to precede &#39;exec openbox&#39;, and they need to be run in the backgroun (add a &amp; at the end of the command) e.g.:
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
feh --bg-fill /x/bilder/wallpapers/debian.png&amp;
&lt;/pre&gt; ... to set the &lt;b&gt;wallpaper&lt;/b&gt;.
&lt;p&gt;
Here is my .xsession
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
/BACKUP/bic/uib&amp;
feh --bg-fill /x/bilder/wallpapers/debian.png&amp;
exec openbox
&lt;/pre&gt;
&lt;hr&gt;
&lt;p&gt;
To &quot;&lt;b&gt;log out&lt;/b&gt;&quot;, or exit to the login shell:
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
openbox --exit
&lt;/pre&gt;
&lt;p&gt;
I use &quot;tint2&quot;, if i need a &lt;b&gt;panel&lt;/b&gt;, e.g. for dropbox. From the terminal, tint2 starts in the forground so it is easy to start and stop.
&lt;p&gt;

&lt;hr /&gt;
The ~/.config/openbox/rc.xml file has examples in it, for configuring openbox, but heres how to set shortcuts: &lt;span&gt;(&lt;i&gt;W=windows-key C=ctrl A=alt&lt;/i&gt;)&lt;/span&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #FFFF99; border: 1px solid #000000; color: black; margin: 25px; padding: 3px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&amp;lt;keybind key=&quot;W-q&quot;&amp;gt; &amp;lt;action name=&quot;Execute&quot;&amp;gt; &amp;lt;command&amp;gt;/BACKUP/bic/playall -q&amp;lt;/command&amp;gt; &amp;lt;/action&amp;gt; &amp;lt;/keybind&amp;gt;
&amp;lt;keybind key=&quot;XF86AudioLowerVolume&quot;&amp;gt; &amp;lt;action name=&quot;Execute&quot;&amp;gt; &amp;lt;command&amp;gt;/BACKUP/bic/volume -d&amp;lt;/command&amp;gt; &amp;lt;/action&amp;gt; &amp;lt;/keybind&amp;gt;
&amp;lt;keybind key=&quot;XF86AudioRaiseVolume&quot;&amp;gt; &amp;lt;action name=&quot;Execute&quot;&amp;gt; &amp;lt;command&amp;gt;/BACKUP/bic/volume -u&amp;lt;/command&amp;gt; &amp;lt;/action&amp;gt; &amp;lt;/keybind&amp;gt;
&amp;lt;keybind key=&quot;XF86AudioMute&quot;&amp;gt; &amp;lt;action name=&quot;Execute&quot;&amp;gt; &amp;lt;command&amp;gt;/BACKUP/bic/volume -m&amp;lt;/command&amp;gt; &amp;lt;/action&amp;gt; &amp;lt;/keybind&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;a href=&quot;http://fc00.deviantart.net/fs34/f/2008/306/0/3/Debian_wallpaper_by_bulwiarz.png&quot;&gt;BTW: nice wallpaper:&lt;br /&gt;&lt;img border=&quot;0&quot; src=&quot;http://fc00.deviantart.net/fs34/f/2008/306/0/3/Debian_wallpaper_by_bulwiarz.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;/center&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5678597496853787214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/06/openbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5678597496853787214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5678597496853787214'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/06/openbox.html' title='Openbox'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-6687315031547096071</id><published>2012-05-16T01:50:00.004+02:00</published><updated>2012-05-16T01:58:24.849+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kindle"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Make your own Kindle screensaver in linux</title><content type='html'>I got advice from a friend to check out amazons Kindle, which I now Love! I thought it was a closed system, for only amazon bought
books. Turns out you can mount it as a hdd and upload multiple formats, althought you probably want to use the mobi format. Anyways, it
comes with a boring screensaver. There are some guides on the net on how to make your own, but not for linux afaik. So I made one. It&#39;s
easy easy peasy.
&lt;p&gt;
I use debian (testing) and kindle 4, without adds/touch/fire or anything like that: &lt;a
href=&quot;http://mydigitaldefense.com/wp-content/uploads/2011/09/Kindle-4-300x289.jpg&quot;&gt;this one&lt;/a&gt;
&lt;p&gt;
If you can&#39;t mount your kindle:
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
sudo apt-get install mtpfs
reboot
&lt;/pre&gt;
&lt;h3&gt;Make your own kindle screensaver, with linux&lt;/h3&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#&lt;font color=65ADE4&gt;(&lt;i&gt; connect the kindle device with USB&lt;/i&gt;)&lt;/font&gt;
mount /mnt/kindle # &lt;font color=65ADE4&gt;(&lt;i&gt;mount your kindle device&lt;/i&gt;)&lt;/font&gt;
cp /mnt/kindle/DONT_HALT_ON_REPAIR /mnt/kindle/ENABLE_DIAGS # &lt;font color=65ADE4&gt;(&lt;i&gt;which will enable &quot;diagnostick mode&quot;&lt;/i&gt;)&lt;/font&gt;
umount /mnt/kindle #&lt;font color=65ADE4&gt;(&lt;i&gt; and remove USB cable&lt;/i&gt;)&lt;/font&gt;
&lt;/pre&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt; On kindle, press Home → Menu → select &quot;Settings&quot; → Menu again → Restart
&lt;li&gt; You will now be in diagnostic mode
&lt;ul&gt;
&lt;li&gt; Select &quot;N) Misc individual diagnostics&quot;
&lt;li&gt; Select &quot;U) Utilities&quot;
&lt;li&gt; Select &quot;Z) Enable USBnet&quot;
&lt;li&gt; Now you should see the ip of the device etc.
&lt;/ul&gt;
&lt;li&gt; Insert USB cable, but don&#39;t try to mount
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
ifconfig -a # &lt;font color=65ADE4&gt;(&lt;i&gt;look for the usb device, not necessary, but will confirm the usb-device&lt;/i&gt;)&lt;/font&gt;
sudo ifconfig usb0 192.168.15.10 # &lt;font color=65ADE4&gt;(&lt;i&gt;set local ip&lt;/i&gt;)&lt;/font&gt;
ssh root@192.168.15.244 # &lt;font color=65ADE4&gt;(&lt;i&gt;passwd mario, and run these commands, in ssh:&lt;/i&gt;)&lt;/font&gt;
mntroot rw
mkdir /mnt/us/screensaver
mount /dev/mmcblk0p1 /mnt/base-mmc
mv /mnt/base-mmc/opt/amazon/screen_saver/600x800 /mnt/base-mmc/opt/amazon/screen_saver/600x800.old
ln -sfn /mnt/us/screensaver /mnt/base-mmc/opt/amazon/screen_saver/600x800
&lt;/pre&gt;
&lt;li&gt; Disconnect the USB cable
&lt;li&gt; Press Right on the kindle twice, to get back to the &quot;diagnostick mode&quot; menu, where you started.
&lt;li&gt; Select &quot;D) Exit, reboot or Disable Diags&quot; → press Left, to confirm that &quot;you are sure&quot;
&lt;li&gt; When rebooted, connect and mount the kindle again, it should now have the folder: /mnt/kindle/screen_saver, put your pics in there
&lt;li&gt; and restart again (Home → Menu → Settings → Menu → restart). &lt;font color=65ADE4&gt;(&lt;i&gt;:Make the pictures 600x800 in size, and make it grayscaled (in gimp: Image → Mode → Grayscale)&lt;/i&gt;)&lt;/font&gt;
&lt;li&gt; Now you should have the pics in /mnt/kindle/screen_saver as screensaver, press &quot;power off&quot; to check.
&lt;hr&gt;
&lt;li&gt; Heres some nice screensaver pics: &lt;a href=&quot;https://www.dropbox.com/gallery/9974176/1/kindle?h=1db2bc&quot;&gt;gallery&lt;/a&gt;
&lt;/ul&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/6687315031547096071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/05/i-got-advice-from-friend-to-check-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/6687315031547096071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/6687315031547096071'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/05/i-got-advice-from-friend-to-check-out.html' title='Make your own Kindle screensaver in linux'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-459148089984752888</id><published>2012-05-08T19:28:00.000+02:00</published><updated>2012-05-08T19:32:08.982+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Worklog summary</title><content type='html'>&lt;h1&gt;worklog script&lt;/h1&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-td0GyPcQXi1ehf4GzvOI47KTZxJk349SdpqW0PA4-zmBrVRM_0pnceDoZ3MNNc8-_6pQhmSXT3wsdXS5P30cMbbKipv-HYD-feyn9vnxghKDMGXe_PDpEdNeFSpgXiO6tLA-vXZNcwjk/s1600/57.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; width=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-td0GyPcQXi1ehf4GzvOI47KTZxJk349SdpqW0PA4-zmBrVRM_0pnceDoZ3MNNc8-_6pQhmSXT3wsdXS5P30cMbbKipv-HYD-feyn9vnxghKDMGXe_PDpEdNeFSpgXiO6tLA-vXZNcwjk/s200/57.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


I wrote about worklog in an &lt;a href=&quot;http://bicetre.blogspot.com/2012/04/sometimes-i-want-to-get-overview-of.html&quot;&gt;earlier post&lt;/a&gt;. Under, is an idea of how to summarize the results with a filter-script. It shows the time used
on projects each day, the sum of all recorded time for the day, and &quot;descriptions&quot;. Take a look at the screen shot.
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;Remember to edit the $wd variable, and $days variable&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
wd=/BACKUP/sys/worklog
days=3 #number of days to show
IFS=$(echo -en &quot;\n\b&quot;)
#for i in $(grep &quot;summary begins&quot; $wd/time.log|awk &#39;{print $6&quot; &quot;$7&quot; &quot;$8}&#39;|uniq|tail -n $days)
for i in $(grep &quot;summary begins&quot; $wd/time.log|cut -c 29-38|uniq|tail -n $days)
do
echo -e &quot;\e[00;31m$i\e[00m&quot;
sum=0
for o in $wd/time.log.*
do
if grep -q $i $o;then {
project=$(grep &quot;$(echo $o|sed -e &#39;s/.*\.//g&#39;):&quot; $wd/projects)
hours=$(grep $i $o|awk &#39;f += $1 {printf(&quot;%.1f\n&quot;,f)}&#39;|tail -n 1)
desc=$(grep $i $o|awk -F &quot;:&quot; &#39;{print &quot;/&quot; $2 }&#39;|xargs|sed -e &#39;s/\/ &lt;no description&gt;//g&#39; -e &#39;s/[:blank:]+/ /g&#39;)
echo $hours : $project : $desc
} fi
done|sort -gr| awk &#39;{f+=$1}{print}END{printf &quot;%.1f : Sum\n&quot;,f }&#39;
done
&lt;p&gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/459148089984752888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/05/worklog-summary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/459148089984752888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/459148089984752888'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/05/worklog-summary.html' title='Worklog summary'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-td0GyPcQXi1ehf4GzvOI47KTZxJk349SdpqW0PA4-zmBrVRM_0pnceDoZ3MNNc8-_6pQhmSXT3wsdXS5P30cMbbKipv-HYD-feyn9vnxghKDMGXe_PDpEdNeFSpgXiO6tLA-vXZNcwjk/s72-c/57.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-4669377087481000254</id><published>2012-05-03T03:05:00.000+02:00</published><updated>2012-05-03T03:07:49.682+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="art"/><category scheme="http://www.blogger.com/atom/ns#" term="philosophy"/><category scheme="http://www.blogger.com/atom/ns#" term="war"/><title type='text'>A Samurai’s Creed</title><content type='html'>&lt;h1&gt;A Samurai’s Creed - Anonymous, Circa 1300&lt;/h1&gt;
Samurais are way cool, I even have a saumrai sword for gods sake, heres a nice poem about, and maybe by, a samurai.
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
&lt;p&gt;
I have no parents; I make the heaven and earth my mother and father.
I have no home; I make awareness my dwelling.
I have no life and death; I make the tides of breathing my life and death.
I have no divine power; I make honesty my divine power.
I have no means; I make understanding my means.
I have no magic secrets; I make character my magic secret.
I have no body; I make endurance my body.
I have no eyes; I make the flash of lightning my eyes.
I have no ears; I make sensibility my ears.
I have no limbs; I make promptness my limbs.
I have no strategy; I make “unshadowed by thought” my strategy
I have no designs; I make “seizing opportunity by the forelock” my design.
I have no miracles; I make right action my miracle.
I have no principles; I make adaptability to all circumstances my principles.
I have no tactics; I make emptiness and fullness my tactics.
I have no talents; I make ready wit my talent.
I have no friends; I make my mind my friend.
I have no enemy; I make carelessness my enemy.
I have no armor; I make benevolence and righteousness my armor.
I have no castle; I make immovable mind my castle.
I have no sword; I make absence of self my sword.
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/4669377087481000254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/05/samurais-creed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4669377087481000254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4669377087481000254'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/05/samurais-creed.html' title='A Samurai’s Creed'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5498337663765745516</id><published>2012-04-27T19:36:00.002+02:00</published><updated>2012-04-27T22:01:44.128+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="existentialism"/><category scheme="http://www.blogger.com/atom/ns#" term="insight"/><category scheme="http://www.blogger.com/atom/ns#" term="philosophy"/><category scheme="http://www.blogger.com/atom/ns#" term="purpose"/><category scheme="http://www.blogger.com/atom/ns#" term="religion"/><title type='text'>The worlds religions</title><content type='html'>Interesting, I haven&#39;t given much thought to the differences in religion within the western world, or the differences in africa, asia
etc., quite interesting indeed!
&lt;p&gt;
&lt;a href=&quot;http://www.wadsworth.com/religion_d/special_features/popups/maps/matthews_world/images/w001.jpg&quot;&gt;
&lt;img src=&quot;http://www.wadsworth.com/religion_d/special_features/popups/maps/matthews_world/images/w001.jpg&quot; width=&quot;100%&quot;&gt;&lt;/a&gt;
Source: &lt;a href=&quot;http://www.wadsworth.com/religion_d/special_features/popups/maps/matthews_world/content/map_01.html&quot;&gt;http://www.wadsworth.com/religion_d/special_features/popups/maps/matthews_world/content/map_01.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5498337663765745516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/worlds-religions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5498337663765745516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5498337663765745516'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/worlds-religions.html' title='The worlds religions'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-2414539451463066943</id><published>2012-04-27T07:36:00.004+02:00</published><updated>2012-04-29T23:41:39.777+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>bash-run</title><content type='html'>I&#39;ve been looking for a launcher lately, gmrun is pretty good, but it doesn&#39;t handle aliases, so I made this script, and mapped it to
Alt-r.
&lt;p&gt;
It handles
&lt;ul&gt;
&lt;li&gt; aliases
&lt;li&gt; has history
&lt;li&gt; has completion for folders/filenames, but not for executables in $PATH
&lt;li&gt; I only managed to make it have completion for my script-folder, by cd&#39;ing into it first :/
&lt;/ul&gt;
But i still find it better then the other launchers. I don&#39;t even
use menus anymore.
&lt;p&gt;

&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
myscripts=/BACKUP/bin
cd $my_scripts;xterm -fg green -geometry 50x1+500+500 -e &#39;history -r /home/$USER/.bash-run; \
read -ep &quot;&gt; &quot; command;bash -ic &quot;$command &amp;&quot;;history -n -s $command;history -a /home/$USER/.bash-run&#39;
&lt;/pre&gt;
&lt;/ul&gt;


&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhl4E6bbi-KRejeaym6WDtlW20VD4CTQuKuarGVoxcOfrUNzehpiu3ubYCa5nbfxrHnl2EJU49B5K-faA2bune9k2nvBmQVZJJFPXXts2UBVd06BOUn7O7rlDccfSS6PWhcBscSXhFyO_R/s1600/bash-run.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;40&quot; width=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhl4E6bbi-KRejeaym6WDtlW20VD4CTQuKuarGVoxcOfrUNzehpiu3ubYCa5nbfxrHnl2EJU49B5K-faA2bune9k2nvBmQVZJJFPXXts2UBVd06BOUn7O7rlDccfSS6PWhcBscSXhFyO_R/s200/bash-run.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


&lt;font size=&quot;5&quot;&gt;Some ideas on how to use bash-run:&lt;/font&gt;
&lt;hr&gt;
make scripts for searching the web, even if I have the browser in focus it can be awkward to do multiple searches etc., scripts
give to more freedom to make function that suits me, and also easier to keep track of and work on all browsers (if you change
opera to firefox etc., also you could use &lt;a href=&quot;http://bicetre.blogspot.com/2012/02/bash-open.html&quot;&gt;bash-open&lt;/a&gt; so its easier to change browser).
&lt;p&gt;
Herers some examples:
&lt;p&gt;
&#39;g&#39; string &lt;font color=65ADE4&gt;(&lt;i&gt;for googling&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
string=$(echo $@|sed -e &#39;s/ /+/g&#39;)
opera
&quot;https://encrypted.google.com/search?sclient=psy-ab&amp;hl=en&amp;site=&amp;source=hp&amp;q=$string&amp;btnG=Search&amp;pbx=1&amp;oq=&amp;aq=&amp;aqi=&amp;aql=&amp;gs_sm=&amp;gs_upl=&quot;
&amp;&gt; /dev/null
&lt;p&gt;
&lt;/pre&gt;
&#39;gi&#39; string &lt;font color=65ADE4&gt;(&lt;i&gt;for gooling images&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
string=$(echo $@|sed -e &#39;s/ /\%20/g&#39;)
opera &quot;https://www.google.com/search?hl=en&amp;q=$string&amp;biw=1280&amp;bih=938&amp;ie=UTF-8&amp;tbm=isch&amp;source=og&amp;sa=N&amp;tab=li&quot; &amp;&gt; /dev/null
&lt;/pre&gt;
&#39;gm&#39; string &lt;font color=65ADE4&gt;(&lt;i&gt;for searching google maps&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
string=$(echo $@|sed -e &#39;s/ /\%20/g&#39;)
opera &quot;http://maps.google.com/maps?hl=en&amp;q=$string&amp;biw=1280&amp;bih=938&amp;ie=UTF-8&amp;sa=N&amp;tab=il&quot; &amp;&gt; /dev/null
&lt;/pre&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/2414539451463066943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/bash-run.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/2414539451463066943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/2414539451463066943'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/bash-run.html' title='bash-run'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhl4E6bbi-KRejeaym6WDtlW20VD4CTQuKuarGVoxcOfrUNzehpiu3ubYCa5nbfxrHnl2EJU49B5K-faA2bune9k2nvBmQVZJJFPXXts2UBVd06BOUn7O7rlDccfSS6PWhcBscSXhFyO_R/s72-c/bash-run.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-3258166939092917131</id><published>2012-04-26T01:35:00.001+02:00</published><updated>2012-04-26T01:39:48.741+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Worklog</title><content type='html'>Sometimes I want to get an overview of what I spend my time doing. I love bash and simplicity, so when I found worklog I immediately
loved it. Worklog is a ncurses app that lets you keep track of time spent on &quot;projects&quot; and you can also insert comments to show when
you finished a task etc.(hit CR aka enter). You have no need for a mouse in worklog, heres how it works: worklog reads the &#39;projects&#39;
file in the current directory to make a project list, with assigned keys (which can only be one char long, lower case or upper case). Heres
an example you can use of a &#39;projects&#39; file, and a screen shot of the actual app (in tmux, /BACKUP/sys/worklog/projects):
&lt;p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZmBmRvEKWeyBqjJKNpGPDueCaYf8F7dUVxLV1I5yv-OlWT_AcFtnY5YTZ4cB-31dRemmwVJ__tDBAXFv8S0zA3ZBYwNh_Fsztq3hZ4rstcJfYkTb7_gxmtK2YesB1pPodmLfjHntChkV/s1600/40.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; width=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZmBmRvEKWeyBqjJKNpGPDueCaYf8F7dUVxLV1I5yv-OlWT_AcFtnY5YTZ4cB-31dRemmwVJ__tDBAXFv8S0zA3ZBYwNh_Fsztq3hZ4rstcJfYkTb7_gxmtK2YesB1pPodmLfjHntChkV/s200/40.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000&quot;&gt;
# Worklog project file
# note that projects appear in Worklog in REVERSE order
&lt;p&gt;
w:wrk
v:vedlikehold(husarb wtodo etc)
u:UT
t:todos
T:Trin
s:sleep
r:wr
p:pause
m:matpause
g:gåtur
c:chat facebook etc
b:blogger
a:adm
&lt;p&gt;
&lt;/pre&gt;
&lt;p&gt;
It&#39;s very simple, press the key to start timing the project, eg: &#39;p&#39; for pause, you can then hit another key to switch project. When
you quit (Del,Del) the recorded work is summarized in the file time.log (if you like you can make bash scripts to extract and summarize the
tracking in other ways).
&lt;p&gt;
Since worklog needs the projects file in the current directory, and also will makes a mess wherever it is started, I advice you to make a working dir
(/BACKUP/sys/worklog) and stick your projects file there and make the alias:
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000&quot;&gt;
alias worklog=&quot;(cd /BACKUP/sys/worklog;worklog)&quot;
&lt;/pre&gt;
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;BTW: you may also like to check out the app &quot;arbtt&quot;, which is ment to track how you spend your time at the computer automatically by eg recording
which window has the focus for how long.&lt;/i&gt;)&lt;/font&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/3258166939092917131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/sometimes-i-want-to-get-overview-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3258166939092917131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3258166939092917131'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/sometimes-i-want-to-get-overview-of.html' title='Worklog'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZmBmRvEKWeyBqjJKNpGPDueCaYf8F7dUVxLV1I5yv-OlWT_AcFtnY5YTZ4cB-31dRemmwVJ__tDBAXFv8S0zA3ZBYwNh_Fsztq3hZ4rstcJfYkTb7_gxmtK2YesB1pPodmLfjHntChkV/s72-c/40.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5199101300583607428</id><published>2012-04-19T22:53:00.001+02:00</published><updated>2012-04-19T22:54:44.687+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="art"/><category scheme="http://www.blogger.com/atom/ns#" term="fitness"/><title type='text'>Yoga By Equinox</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/loszrEZvS_k?fs=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5199101300583607428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/yoga-by-equinox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5199101300583607428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5199101300583607428'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/yoga-by-equinox.html' title='Yoga By Equinox'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/loszrEZvS_k/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-8035332390686441560</id><published>2012-04-18T19:02:00.002+02:00</published><updated>2012-04-18T19:03:36.845+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>7 Habits For Effective Text Editing 2.0</title><content type='html'>A talk about effective text editing by Bram Moolenaar, the author of Vim. Nice to see the guy, who made the editor I use all the time.

&lt;embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=2538831956647446078&amp;hl=en&amp;fs=true style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash&gt; &lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/8035332390686441560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/7-habits-for-effective-text-editing-20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/8035332390686441560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/8035332390686441560'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/7-habits-for-effective-text-editing-20.html' title='7 Habits For Effective Text Editing 2.0'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5835021892031625697</id><published>2012-04-18T18:22:00.002+02:00</published><updated>2012-04-18T18:52:14.573+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="purpose"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Elon Musk - Daily show</title><content type='html'>With the money he made from PayPal, Musk wants to make inter-planetary space travel possible, and ensure that the &quot;light of consciousness&quot; isn&#39;t extinguished. What an inspiring guy!&lt;p&gt;

&lt;table style=&#39;font:11px arial; color:#333; background-color:#f5f5f5&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;512&#39; height=&#39;340&#39;&gt;&lt;tbody&gt;&lt;tr style=&#39;background-color:#e5e5e5&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com&#39;&gt;The Daily Show with Jon Stewart&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:2px 5px 0px 5px; text-align:right; font-weight:bold;&#39;&gt;Mon - Thurs 11p / 10c&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39; colspan=&#39;2&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/watch/tue-april-10-2012/exclusive---elon-musk-extended-interview-pt--1&#39;&gt;Exclusive - Elon Musk Extended Interview Pt. 1&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px; background-color:#353535&#39; valign=&#39;middle&#39;&gt;&lt;td colspan=&#39;2&#39; style=&#39;padding:2px 5px 0px 5px; width:512px; overflow:hidden; text-align:right&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#96deff; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/&#39;&gt;www.thedailyshow.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;embed style=&#39;display:block&#39; src=&#39;http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:412114&#39; width=&#39;512&#39; height=&#39;288&#39; type=&#39;application/x-shockwave-flash&#39; wmode=&#39;window&#39; allowFullscreen=&#39;true&#39; flashvars=&#39;autoPlay=false&#39; allowscriptaccess=&#39;always&#39; allownetworking=&#39;all&#39; bgcolor=&#39;#000000&#39;&gt;&lt;/embed&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:18px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;table style=&#39;margin:0px; text-align:center&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;100%&#39; height=&#39;100%&#39;&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.thedailyshow.com/full-episodes/&#39;&gt;Daily Show Full Episodes&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.indecisionforever.com/&#39;&gt;Political Humor &amp; Satire Blog&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.facebook.com/thedailyshow&#39;&gt;The Daily Show on Facebook&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;


      &lt;table style=&#39;font:11px arial; color:#333; background-color:#f5f5f5&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;512&#39; height=&#39;340&#39;&gt;&lt;tbody&gt;&lt;tr style=&#39;background-color:#e5e5e5&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com&#39;&gt;The Daily Show with Jon Stewart&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:2px 5px 0px 5px; text-align:right; font-weight:bold;&#39;&gt;Mon - Thurs 11p / 10c&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:2px 1px 0px 5px;&#39; colspan=&#39;2&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#333; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/watch/tue-april-10-2012/exclusive---elon-musk-extended-interview-pt--2&#39;&gt;Exclusive - Elon Musk Extended Interview Pt. 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:14px; background-color:#353535&#39; valign=&#39;middle&#39;&gt;&lt;td colspan=&#39;2&#39; style=&#39;padding:2px 5px 0px 5px; width:512px; overflow:hidden; text-align:right&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;color:#96deff; text-decoration:none; font-weight:bold;&#39; href=&#39;http://www.thedailyshow.com/&#39;&gt;www.thedailyshow.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;embed style=&#39;display:block&#39; src=&#39;http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:412115&#39; width=&#39;512&#39; height=&#39;288&#39; type=&#39;application/x-shockwave-flash&#39; wmode=&#39;window&#39; allowFullscreen=&#39;true&#39; flashvars=&#39;autoPlay=false&#39; allowscriptaccess=&#39;always&#39; allownetworking=&#39;all&#39; bgcolor=&#39;#000000&#39;&gt;&lt;/embed&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&#39;height:18px;&#39; valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:0px;&#39; colspan=&#39;2&#39;&gt;&lt;table style=&#39;margin:0px; text-align:center&#39; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; width=&#39;100%&#39; height=&#39;100%&#39;&gt;&lt;tr valign=&#39;middle&#39;&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.thedailyshow.com/full-episodes/&#39;&gt;Daily Show Full Episodes&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.indecisionforever.com/&#39;&gt;Political Humor &amp; Satire Blog&lt;/a&gt;&lt;/td&gt;&lt;td style=&#39;padding:3px; width:33%;&#39;&gt;&lt;a target=&#39;_blank&#39; style=&#39;font:10px arial; color:#333; text-decoration:none;&#39; href=&#39;http://www.facebook.com/thedailyshow&#39;&gt;The Daily Show on Facebook&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5835021892031625697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/daily-show-with-jon-stewart-mon-thurs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5835021892031625697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5835021892031625697'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/daily-show-with-jon-stewart-mon-thurs.html' title='Elon Musk - Daily show'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-7496590810927966637</id><published>2012-04-17T19:38:00.002+02:00</published><updated>2012-04-17T19:43:11.761+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="philosophy"/><category scheme="http://www.blogger.com/atom/ns#" term="system"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Systemantics</title><content type='html'>I was checking out some &quot;laws&quot; on wikipedia, and came across the &lt;a href=&quot;http://en.wikipedia.org/wiki/Systemantics&quot;&gt;Semantics page&lt;/a&gt;, some very interesting laws, i copy them here and
highlight the ones i like best. Apparently it&#39;s from a book with the same name by John Gall, I&#39;ll check it out!:
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt; &lt;b&gt;The Primal Scenario or Basic Datum of Experience: Systems in general work poorly or not at all. (Complicated systems seldom exceed five percent efficiency.)&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;The Fundamental Theorem: New systems generate new problems.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; The Law of Conservation of Anergy [sic]: The total amount of anergy in the universe is constant. (&quot;Anergy&quot; = &#39;human energy&#39;)
&lt;/li&gt;
&lt;li&gt; Laws of Growth: Systems tend to grow, and as they grow, they encroach.
&lt;/li&gt;
&lt;li&gt; The Generalized Uncertainty Principle: Systems display antics. (Complicated systems produce unexpected outcomes. The total behavior of large systems cannot be predicted.)
&lt;/li&gt;
&lt;li&gt; Le Chatelier&#39;s Principle: Complex systems tend to oppose their own proper function. As systems grow in complexity, they tend to oppose their stated function.
&lt;/li&gt;
&lt;li&gt; Functionary&#39;s Falsity: People in systems do not actually do what the system says they are doing.
&lt;/li&gt;
&lt;li&gt; The Operational Fallacy: The system itself does not actually do what it says it is doing.
&lt;/li&gt;
&lt;li&gt; The Fundamental Law of Administrative Workings (F.L.A.W.): Things are what they are reported to be. The real world is what it is reported to be. (That is, the system takes as given that things are as reported, regardless of the true state of affairs.)
&lt;/li&gt;
&lt;li&gt; Systems attract systems-people. (For every human system, there is a type of person adapted to thrive on it or in it.)
&lt;/li&gt;
&lt;li&gt; The bigger the system, the narrower and more specialized the interface with individuals.
&lt;/li&gt;
&lt;li&gt; A complex system cannot be &quot;made&quot; to work. It either works or it doesn&#39;t.
&lt;/li&gt;
&lt;li&gt; A simple system, designed from scratch, sometimes works.
&lt;/li&gt;
&lt;li&gt; Some complex systems actually work.
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;A complex system that works is invariably found to have evolved from a simple system that works.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over, beginning with a working simple system.
&lt;/li&gt;
&lt;li&gt; The Functional Indeterminacy Theorem (F.I.T.): In complex systems, malfunction and even total non-function may not be detectable for long periods, if ever.
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;The Newtonian Law of Systems Inertia: A system that performs a certain way will continue to operate in that way regardless of the need or of changed conditions.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; Systems develop goals of their own the instant they come into being.
&lt;/li&gt;
&lt;li&gt; Intrasystem [sic] goals come first.
&lt;/li&gt;
&lt;li&gt; The Fundamental Failure-Mode Theorem (F.F.T.): Complex systems usually operate in failure mode.
&lt;/li&gt;
&lt;li&gt; A complex system can fail in an infinite number of ways. (If anything can go wrong, it will.) (See Murphy&#39;s law.)
&lt;/li&gt;
&lt;li&gt; The mode of failure of a complex system cannot ordinarily be predicted from its structure.
&lt;/li&gt;
&lt;li&gt; The crucial variables are discovered by accident.
&lt;/li&gt;
&lt;li&gt; The larger the system, the greater the probability of unexpected failure.
&quot;Success&quot; or &quot;Function&quot; in any system may be failure in the larger or smaller systems to which the system is connected.
&lt;/li&gt;
&lt;li&gt; The Fail-Safe Theorem: When a Fail-Safe system fails, it fails by failing to fail safe.
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Complex systems tend to produce complex responses (not solutions) to problems.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Great advances are not produced by systems designed to produce great advances.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;The Vector Theory of Systems: Systems run better when designed to run downhill.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; Loose systems last longer and work better. (Efficient systems are dangerous to themselves and to others.)
&lt;/li&gt;
&lt;li&gt; As systems grow in size, they tend to lose basic functions.
&lt;/li&gt;
&lt;li&gt; The larger the system, the less the variety in the product.
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Control of a system is exercised by the element with the greatest variety of behavioral responses.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Colossal systems foster colossal errors.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Choose your systems with care.&lt;/b&gt;
&lt;/li&gt;
&lt;li&gt; Everything is a system.
&lt;/li&gt;
&lt;li&gt; Everything is part of a larger system.
&lt;/li&gt;
&lt;li&gt; The universe is infinitely systematized, both upward (larger systems) and downward (smaller systems).
&lt;/li&gt;
&lt;li&gt; All systems are infinitely complex.
&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/7496590810927966637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/systemantics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7496590810927966637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7496590810927966637'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/systemantics.html' title='Systemantics'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-5368910061173461453</id><published>2012-04-05T16:25:00.001+02:00</published><updated>2012-04-05T16:25:15.359+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emotions"/><category scheme="http://www.blogger.com/atom/ns#" term="psychology"/><title type='text'>What makes you happy?</title><content type='html'>&lt;iframe src=&quot;http://player.vimeo.com/video/4256849?byline=0&amp;amp;portrait=0&amp;amp;color=ffffff&quot; width=&quot;400&quot; height=&quot;225&quot; frameborder=&quot;0&quot; webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;&lt;p&gt;&lt;a href=&quot;http://vimeo.com/4256849&quot;&gt;What makes you happy?&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/theradblog&quot;&gt;Jon Rawlinson&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/5368910061173461453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/04/what-makes-you-happy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5368910061173461453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/5368910061173461453'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/04/what-makes-you-happy.html' title='What makes you happy?'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-4619680574767091648</id><published>2012-03-28T09:19:00.003+02:00</published><updated>2012-03-30T13:06:38.001+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>OCR</title><content type='html'>OCR (make text-images into text) has for years worked great under windows, finally it also work ok on linux. The solution comes from &lt;a
href=&quot;http://code.google.com/p/tesseract-ocr/&quot;&gt;tesseract-ocr&lt;/a&gt;. It handles multiple languages, and is near perfect for some
fonts/texts, but they have to be in 90 degree angle. So when scanning, be careful to get it straight. I made this
script to ocr multiple pages.
&lt;p&gt;
Usage:
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000&quot;&gt;
ocr #run the script in a folder with ONLY the images you want to ocr.
&lt;/pre&gt;
&lt;p&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000&quot;&gt;
&lt;p&gt;
#!/bin/bash
lang=eng
file_count_init () {
counter=0;
tot=`ls|nl|tail -n 1|awk -F &quot; &quot; &#39;{print $1}&#39;`;
digits_tot=`expr match &quot;$tot&quot; &#39;[0-9]*&#39;`;
}
file_inc_counter () {
let counter=$counter+1;
let nu_zero=`expr match &quot;$tot&quot; &#39;[0-9]*&#39;`-`expr match &quot;$counter&quot; &#39;[0-9]*&#39;`;
}
file_counter_show () {
printf `if (($nu_zero != 0)); then printf &quot;%0\`echo $nu_zero\`d&quot;;fi`$counter;
}
&lt;p&gt;
file_count_init
for i in *; do
file_inc_counter
echo &quot;OCR on page `file_counter_show` of $tot&quot;;
tesseract $i bokside_`file_counter_show` -l $lang
done
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/4619680574767091648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/03/ocr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4619680574767091648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4619680574767091648'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/03/ocr.html' title='OCR'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-7169763793589881617</id><published>2012-03-21T03:20:00.002+01:00</published><updated>2012-04-29T23:49:16.247+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Two scripts: trash &amp; fastmove</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSspUCkyKp5x96daRK3JktikvBxTMaT5Oty1Hkb8Hp1IhejV18tkWtwqR9E1uPDjs6cDGtWRh_cI5sJEEo_GAu6YJKRRjiTYxwVAP3P_R3wYRnr4fokrnNaEqclVeprHHIBmnArTjN2-CF/s1600/menu.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSspUCkyKp5x96daRK3JktikvBxTMaT5Oty1Hkb8Hp1IhejV18tkWtwqR9E1uPDjs6cDGtWRh_cI5sJEEo_GAu6YJKRRjiTYxwVAP3P_R3wYRnr4fokrnNaEqclVeprHHIBmnArTjN2-CF/s200/menu.jpg&quot; /&gt;&lt;br&gt;fastmove as cusom action to archive files&lt;br&gt; eg &quot;→ /x/m&quot; moves the files to /x/m&lt;/a&gt;&lt;/div&gt;


I use qtfm, which doesn&#39;t have a inbuilt trash-can. So i had to make one myself, something like &#39;mv $@ $trash&#39;, but this works slow if
the $trash folder is on another partition. So the script needs to be a bit more complex. This can be used as &lt;i&gt;custom action&lt;/i&gt; or from the
console. &lt;font color=65ADE4&gt;(&lt;i&gt;trash from console&lt;/i&gt;)&lt;/font&gt;
&lt;p&gt;
FM&#39;s that supports custom actions (like qtfm) can be made into quick systems for archiving files. I made a custom action for each
folder i move a lot of files to, so when i go through my inbox/download/new_stuff folder, i can quickly archive the files to the right
destination folder, but like with trash this is slow if the destination folder is on another partition, so thats why i made fastmove,
which moves the files to the root of the current partition, before moving it on to the destination, so the moving seems faster, and you
can forget about the file(s), and continue archiving. The image shows what the archive system looks like from my qtfm, right-click
menu. &lt;font color=65ADE4&gt;(&lt;i&gt;fastmove between partitions&lt;/i&gt;)&lt;/font&gt;
&lt;p&gt;
&lt;p&gt;&lt;font size=4&gt;trash&lt;/font&gt;&lt;p&gt;
&lt;hr&gt;
Usage:
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
trash -l #for listing files in trash
trash -d #for emptying trash
trash file(s) # for moving file(s) to trash
&lt;/pre&gt;
trash:
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;remember to edit $part and maybe $hometrash&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
&lt;p&gt;
#!/bin/bash
#set some vars
part=&quot;/x /z&quot; # list where your partitions are mounted, seperated by a blank
#this trash folder will be used for files on the root partition
hometrash=&quot;/home/$USER/.local/share/Trash/files&quot; 
home=1 #don&#39;t touch!
&lt;p&gt;
#check if each part has a trash folder, if not, make it.
if [ -d $hometrash ];
then echo trash folder ok &gt;&gt; /dev/null
else mkdir -p $hometrash;fi
for p in $part;do if [ -d $p/.Trash-1000/files ]
then echo trash folder ok &gt;&gt;/dev/null
else mkdir -p $p/.Trash-1000/files;fi;done
&lt;p&gt;
while getopts &quot;hld&quot; OPTION
do
case $OPTION in
h)
echo -l for list, -d for delete
exit 1 ;;
l)
du -hd 1 $hometrash $(for p in $part;do echo $p/.Trash-1000/files|xargs;done)
exit 1 ;;
d)
rm -r $hometrash/*
for p in $part;do rm -r $p/.Trash-1000/files/*;done
exit 1 ;;
esac
done
&lt;p&gt;
for p in $part; do if [[ $(pwd -P) == $p* ]]
then { mv --verbose -f --backup=numbered --target-directory $p/.Trash-1000/files/ &quot;$@&quot;
home=0; } fi ; done
if [ $home = 1 ]
then mv --verbose -f --backup=numbered --target-directory ~/.local/share/Trash/files/ &quot;$@&quot;
fi
&lt;/pre&gt;
&lt;p&gt;
&lt;p&gt;&lt;font size=4&gt;fastmove&lt;/font&gt;&lt;p&gt;
&lt;hr&gt;
&lt;p&gt;
Usage:
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
fastmove destination file(s)/dir(s)
#if you want to use it from the console:
fastmove dest files&amp;
&lt;/pre&gt;
fastmove:
&lt;p&gt;
&lt;font color=65ADE4&gt;(&lt;i&gt;remember to edit $part&lt;/i&gt;)&lt;/font&gt;
&lt;pre style=&quot;padding:3px; border:1px solid #000000; margin:25px;background: #FFFF99; color: #000000;  white-space:pre-wrap; word-wrap:break-word;&quot;&gt;
#!/bin/bash
# Usage: fastmove destination files
part=&quot;/x /z&quot; #list partitions, seperated by a blank
dest=$1;shift
home=1 #don&#39;t touch
&lt;p&gt;
for p in $part;do
if [[ $(pwd -P) == $p/* ]]; then {
mv --target-directory $p &quot;$@&quot;;
for i in &quot;$@&quot;; do mv --target-directory $dest &quot;$p/$(echo $i|sed -e &#39;s/^\/.*\///g&#39;)&quot;;done
home=0
}; fi ; done
&lt;p&gt;
if [ $home = 1 ]; then {
mv --target-directory /home/$USER/ &quot;$@&quot;;
for i in &quot;$@&quot;; do mv --target-directory $dest &quot;/home/$USER/$(echo $i|sed -e &#39;s/^\/.*\///g&#39;)&quot;;done
}; fi
&lt;/pre&gt;
&lt;p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/7169763793589881617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/03/two-scripts-trash-fastmove.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7169763793589881617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/7169763793589881617'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/03/two-scripts-trash-fastmove.html' title='Two scripts: trash &amp; fastmove'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSspUCkyKp5x96daRK3JktikvBxTMaT5Oty1Hkb8Hp1IhejV18tkWtwqR9E1uPDjs6cDGtWRh_cI5sJEEo_GAu6YJKRRjiTYxwVAP3P_R3wYRnr4fokrnNaEqclVeprHHIBmnArTjN2-CF/s72-c/menu.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-3370012932931263334</id><published>2012-03-19T20:22:00.004+01:00</published><updated>2012-03-19T20:22:53.048+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comedy"/><category scheme="http://www.blogger.com/atom/ns#" term="philosophy"/><title type='text'>Why did the chicken cross the road?</title><content type='html'>&lt;pre&gt;
Plato:  For the greater good.
&lt;p&gt;
Aristotle:  To fulfill its nature on the other side.
&lt;p&gt;
Karl Marx:  It was a historical inevitability.
&lt;p&gt;
Machiavelli:  So that its subjects will view it with admiration, as a
chicken which has the daring and courage to boldly cross the road,
but also with fear, for whom among them has the strength to contend
with such a paragon of avian virtue?  In such a manner is the princely
chicken&#39;s dominion maintained.
&lt;p&gt;
Hippocrates:  Because of an excess of light pink gooey stuff in its
pancreas.
&lt;p&gt;
Jacques Derrida: Any number of contending discourses may be discovered
within the act of the chicken crossing the road, and each
interpretation is equally valid as the authorial intent can never be
discerned, because structuralism is DEAD, DAMMIT, DEAD!
&lt;p&gt;
Thomas de Torquemada:  Give me ten minutes with the chicken and I&#39;ll
find out.
&lt;p&gt;
Timothy Leary:  Because that&#39;s the only kind of trip the Establishment
would let it take.
&lt;p&gt;
Douglas Adams:  Forty-two.
&lt;p&gt;
Nietzsche:  Because if you gaze too long across the Road, the Road
gazes also across you.
&lt;p&gt;
Oliver North:  National Security was at stake.
&lt;p&gt;
B.F. Skinner:  Because the external influences which had pervaded its
sensorium from birth had caused it to develop in such a fashion that
it would tend to cross roads, even while believing these actions to be
of its own free will.
&lt;p&gt;
Carl Jung:  The confluence of events in the cultural gestalt
necessitated that individual chickens cross roads at this historical
juncture, and therefore synchronicitously brought such occurrences
into being.
&lt;p&gt;
Jean-Paul Sartre:  In order to act in good faith and be true to
itself, the chicken found it necessary to cross the road.
&lt;p&gt;
Ludwig Wittgenstein:  The possibility of &quot;crossing&quot; was encoded into
the objects &quot;chicken&quot; and &quot;road&quot;, and circumstances came into being
which
caused the actualization of this potential occurrence.
&lt;p&gt;
Albert Einstein:  Whether the chicken crossed the road or the road
crossed the chicken depends upon your frame of reference.
&lt;p&gt;
Aristotle:  To actualize its potential.
&lt;p&gt;
Buddha:  If you ask this question, you deny your own chicken-nature.
&lt;p&gt;
Howard Cosell:  It may very well have been one of the most astonishing
events to grace the annals of history.  An historic, unprecedented
avian biped with the temerity to attempt such an herculean achievement
formerly relegated to homo sapien pedestrians is truly a remarkable
occurence.
&lt;p&gt;
Salvador Dali:  The Fish.
&lt;p&gt;
Darwin:  It was the logical next step after coming down from the
trees.
&lt;p&gt;
Emily Dickinson:  Because it could not stop for death.
&lt;p&gt;
Epicurus:  For fun.
&lt;p&gt;
Ralph Waldo Emerson: It didn&#39;t cross the road; it transcended it.
&lt;p&gt;
Johann Wolfgang von Goethe:  The eternal hen-principle made it do it.
&lt;p&gt;
Ernest Hemingway:  To die.  In the rain.
&lt;p&gt;
Werner Heisenberg:  We are not sure which side of the road the chicken
was on, but it was moving very fast.
&lt;p&gt;
David Hume:  Out of custom and habit.
&lt;p&gt;
Saddam Hussein:  This was an unprovoked act of rebellion and we were
quite justified in dropping 50 tons of nerve gas on it.
&lt;p&gt;
Jack Nicholson:  &#39;Cause it (censored) wanted to.  That&#39;s the
(censored) reason.
&lt;p&gt;
Pyrrho the Skeptic: What road?
&lt;p&gt;
Ronald Reagan:  Well,...................
&lt;p&gt;
John Sununu:  The Air Force was only too happy to provide the
transportation, so quite understandably the chicken availed himself
of the opportunity.
&lt;p&gt;
The Sphinx:  You tell me.
&lt;p&gt;
Henry David Thoreau:  To live deliberately ... and suck all the marrow
out of life.
&lt;p&gt;
Mark Twain:  The news of its crossing has been greatly exaggerated.
&lt;p&gt;
Mishima:   For the beauty of it. The chicken&#39;s extension of its
sinuous legs sent shivers of a dark despair into the souls not only of
the silently watching hens but also the roosters, who felt a sudden
sexual desire for their exquisite comrade.  The dark courage of the
chicken was as beautiful as drops of dew upon jade at midnight, struck
by a partial moon, its light filtered through clouds. One of the
deeply aroused roosters could stand the intensity of the moment no
more and bit off the head of the beautiful, courageous chicken-hero,
whose wine blood was deliciously drunken by the road, and he died.
&lt;p&gt;
Johnny Cochran:  The chicken didn&#39;t cross the road. Some
chicken-hating, genocidal, lying public official moved the road right
under the chicken&#39;s feet while he was practicing his golf swing and
thinking about his family.
&lt;p&gt;
Camus:  The chicken&#39;s mother had just died.  But this did not really
upset him, as any number of witnesses can attest.  In fact, he
crossed just because the sun got in his eyes.
&lt;p&gt;
John Sununu (again):  I would argue that the chicken never crossed the
road at all.  That it is a story concocted by the Clinton
Administration to distract attention from their failed agriculture
policy. Where is the evidence that the chicken crossed the road?
Where, Michael?
&lt;p&gt;
Michael Kinsley:  Oh, John, come on!  Everybody knows the chicken
crossed the road.  What evidence do you need?  It&#39;s obvious that the
chicken crossed the road.  Your whole argument is just a smoke and
mirror tactic to distract us from the fact that most chickens polled
now back the Democratic Party.  You ought to be ashamed of yourself,
John.
&lt;p&gt;
Siskel:  I don&#39;t know why it crossed the road, but I loved it.  Thumbs
up!
&lt;p&gt;
Ebert:  I disagree.  The whole thing left the audience wondering; the
chicken&#39;s crossing the road was never clearly explained and the
chicken didn&#39;t emote very well.  It couldn&#39;t even speak English!
Thumbs down.
&lt;p&gt;
Michael Kinsley:  But you both agree it did cross the road, right?
See, John.  I&#39;m right as usual.
&lt;/pre&gt;
&lt;p&gt;
&lt;font color=red&gt;Source:&lt;/font&gt;http://www.infiltec.com/j-chick2.htm</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/3370012932931263334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/03/why-did-chicken-cross-road.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3370012932931263334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/3370012932931263334'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/03/why-did-chicken-cross-road.html' title='Why did the chicken cross the road?'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-476194732085253458</id><published>2012-03-19T18:40:00.002+01:00</published><updated>2012-03-19T18:42:40.974+01:00</updated><title type='text'>Some google tips</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://fastcache.gawkerassets.com/assets/images/17/2011/12/57e3847edab3fae27d1fe04e77fe2aed.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; width=&quot;640&quot; src=&quot;http://fastcache.gawkerassets.com/assets/images/17/2011/12/57e3847edab3fae27d1fe04e77fe2aed.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;font color=red&gt;Reblogged from:&lt;/font&gt; &lt;a href=&quot;http://www.thechartgeek.com/&quot;&gt;The chart geek&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/476194732085253458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/03/some-google-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/476194732085253458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/476194732085253458'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/03/some-google-tips.html' title='Some google tips'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2961372143426150222.post-4621047474812541334</id><published>2012-03-14T21:40:00.001+01:00</published><updated>2012-03-14T22:31:57.578+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gtd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Countdown, countup and alarms</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0bs2-dOxQnjdsh3CCpCUBQ_lCdxFdffu1pDbqPrWQ2_csmTrO34GXVzaRjTVzWVhcBzyIf-duCeHo6Tq8X9IMQwFJZ9egFsPbT5W9MOLVYjctvGlUEOh_8JGLvF8wiCMhXIQNzDSMds9g/s1600/39.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; width=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0bs2-dOxQnjdsh3CCpCUBQ_lCdxFdffu1pDbqPrWQ2_csmTrO34GXVzaRjTVzWVhcBzyIf-duCeHo6Tq8X9IMQwFJZ9egFsPbT5W9MOLVYjctvGlUEOh_8JGLvF8wiCMhXIQNzDSMds9g/s200/39.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


I made this script for countdown&#39;s, countup&#39;s(stopwatch) and alarms. This makes it easy to set alarms, for a specific number of
hours/minutes, for a specific time, and keep track of how long it&#39;s left to a deadline etc. It takes up a whole terminal, so if you use
it a lot it might be smart to use tmux or something similar. &lt;font color=65ADE4&gt;(&lt;i&gt;I use 4 tabs in gnome terminal, the first one for vim, the last one for
tmux, and the other two for bash.&lt;/i&gt;)&lt;/font&gt; If you do not know how to use tmux, heres a crash course: C-b &quot; to slit the screen horizontally, C-b %
to spilt the screen vertically, and C-b arrows(eg up and left) to select the screen to focus on. Off course tmux is nice for all command-line commands
that need continuous output, like &#39;top&#39; See my screenshot:
&lt;p&gt;
Usage:&lt;br&gt;
countdown: countdown 00:10:00&lt;br&gt;
alarm: countdown -a 16:00&lt;br&gt;
stopwatch: countdown -s
&lt;p&gt;
I use it a lot with the &lt;a href=&quot;http://bicetre.blogspot.com/2012/03/alarm.html&quot;&gt;alarm&lt;/a&gt; command: &lt;code&gt;countdown 00:15:00;alarm
pizza done&lt;/code&gt;
&lt;p&gt;
&lt;blockquote&gt;&lt;code&gt;
#!/bin/bash&lt;br&gt;
countdown()&lt;br&gt;
(&lt;br&gt;
IFS=:&lt;br&gt;
set -- $*&lt;br&gt;
secs=$(( ${1#0} * 3600 + ${2#0} * 60 + ${3#0} ))&lt;br&gt;
echo -e &quot;\e[00;31mCountdown\e[00m&quot;&lt;br&gt;
while [ $secs -gt 0 ]&lt;br&gt;
do&lt;br&gt;
sleep 1 &amp;&lt;br&gt;
printf &quot;\r%02d:%02d:%02d&quot; $((secs/3600)) $(( (secs/60)%60)) $((secs%60))&lt;br&gt;
secs=$(( $secs - 1 ))&lt;br&gt;
wait&lt;br&gt;
done&lt;br&gt;
)&lt;br&gt;
countup()&lt;br&gt;
(&lt;br&gt;
IFS=:&lt;br&gt;
set -- $*&lt;br&gt;
secs=0&lt;br&gt;
echo -e &quot;\e[00;31mCountUp\e[00m&quot;&lt;br&gt;
while true&lt;br&gt;
do&lt;br&gt;
sleep 1 &amp;&lt;br&gt;
printf &quot;\r%02d:%02d:%02d&quot; $((secs/3600)) $(( (secs/60)%60)) $((secs%60))&lt;br&gt;
secs=$(( $secs + 1 ))&lt;br&gt;
wait&lt;br&gt;
done&lt;br&gt;
total=$(printf &quot;\r%02d:%02d:%02d&quot; $((secs/3600)) $(( (secs/60)%60)) $((secs%60)))&lt;br&gt;
echo $total&lt;br&gt;
)&lt;br&gt;
alarm()&lt;br&gt;
(&lt;br&gt;
if [[ &quot;$1&quot; &gt; &quot;$(date +%H:%M)&quot; ]]&lt;br&gt;
then let secs=$(date --utc --date &quot;$1&quot; +%s)-$(date --utc --date &quot;$(date +%H:%M)&quot; +%s);&lt;br&gt;
else let secs=$(date --utc --date &quot;$1 tomorrow&quot; +%s)-$(date --utc --date &quot;$(date +%H:%M)&quot; +%s);&lt;br&gt;
fi&lt;br&gt;
IFS=:&lt;br&gt;
set -- $*&lt;br&gt;
echo -e &quot;\e[00;31mCountTo\e[00m&quot;&lt;br&gt;
while [ $secs -gt 0 ]&lt;br&gt;
do&lt;br&gt;
sleep 1 &amp;&lt;br&gt;
printf &quot;\r%02d:%02d:%02d&quot; $((secs/3600)) $(( (secs/60)%60)) $((secs%60))&lt;br&gt;
secs=$(( $secs - 1 ))&lt;br&gt;
wait&lt;br&gt;
done&lt;br&gt;
)&lt;br&gt;
while getopts “has” OPTION &lt;br&gt;
do&lt;br&gt;
case $OPTION in&lt;br&gt;
h)&lt;br&gt;
echo &quot;&lt;br&gt;
&lt;br&gt;
countdown: countdown 00:10:00&lt;br&gt;
alarm: countdown -a 16:00&lt;br&gt;
stopwatch: countdown -s&lt;br&gt;
&lt;br&gt;
&quot;&lt;br&gt;
exit 1&lt;br&gt;
;;&lt;br&gt;
a)&lt;br&gt;
mode=a&lt;br&gt;
;;&lt;br&gt;
s)&lt;br&gt;
mode=s&lt;br&gt;
;;&lt;br&gt;
esac&lt;br&gt;
done&lt;br&gt;
if [[ $mode == a ]]; then alarm $2;&lt;br&gt;
elif [[ $mode == s ]]; then countup;&lt;br&gt;
else countdown $1&lt;br&gt;
fi&lt;br&gt;
&lt;/code&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://bicetre.blogspot.com/feeds/4621047474812541334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bicetre.blogspot.com/2012/03/countdown-countup-and-alarms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4621047474812541334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2961372143426150222/posts/default/4621047474812541334'/><link rel='alternate' type='text/html' href='http://bicetre.blogspot.com/2012/03/countdown-countup-and-alarms.html' title='Countdown, countup and alarms'/><author><name>Fenrir</name><uri>http://www.blogger.com/profile/15560425848624135894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs__nMCygYhH3ykCa67HE0Nc0KSfizvUUTOUNFfRGhIBMfHd9sTwE8KPlycD58GxA-m5W2B2okiaDG-_u6heIUj8cW_Jxtukra0tRMC6OFJh_heGnTCOfdBE8i3Ez40g/s220/google2.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0bs2-dOxQnjdsh3CCpCUBQ_lCdxFdffu1pDbqPrWQ2_csmTrO34GXVzaRjTVzWVhcBzyIf-duCeHo6Tq8X9IMQwFJZ9egFsPbT5W9MOLVYjctvGlUEOh_8JGLvF8wiCMhXIQNzDSMds9g/s72-c/39.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>