letsrun.com forum threads 2009-08-21 until 2009-09-14
Monday, 14. September 2009, 09:39:06
This is not my Zettelkasten but a durable .bash_history
Monday, 14. September 2009, 09:39:06
Sunday, 21. December 2008, 13:04:00
Saturday, 30. August 2008, 07:52:50
cpr@1300:~$ crontab -l 30 9 1-30 9 1-4 streamripper ` dog http://hr.streamfarm.net/cms/_v/radio/live/hr2.m3u | grep http` -t -q -l 3900 -d /home/cpr/audio~/Troja/ -a 30 9 1-2 10 1-4 streamripper ` dog http://hr.streamfarm.net/cms/_v/radio/live/hr2.m3u | grep http` -t -q -l 3900 -d /home/cpr/audio~/Troja/ -a 0 22 1-30 9 1-4 streamripper ` dog http://hr.streamfarm.net/cms/_v/radio/live/hr2.m3u | grep http` -t -q -l 3900 -d /home/cpr/audio~/Troja/ -a 0 22 1-2 10 1-4 streamripper ` dog http://hr.streamfarm.net/cms/_v/radio/live/hr2.m3u | grep http` -t -q -l 3900 -d /home/cpr/audio~/Troja/ -a
Sunday, 8. April 2007, 16:17:46
Wednesday, 13. September 2006, 18:07:25
Monday, 7. August 2006, 19:15:24
mplayer -nosound -vo jpeg my_video_file.avi montage *jpg join.jpg montage.exe -tile 10x10 -geometry 160x84+2+2 -label '%f' 0000* join.jpg
mplayer -ss 1:00:23 -nosound -vo jpeg:outdir=foobar my_video_file.avi
Wednesday, 3. May 2006, 09:38:23
for f in `ls *JPG`; do echo $f; convert -resize 800x800 $f $f; done
for f in `ls *.JPG`; do echo $f; create_date=""; create_date=`exiftime "$f" 2>&1 | grep -i image\ created | cut -d" " -f3 | sed -e 's/:/-/g'`;if [ "$create_date" != "" ];then echo $create_date;fi;done
Saturday, 15. April 2006, 14:38:12
$ for f in `ls *gif`;do echo $f; convert.exe $f ${f%.gif}.png;done
first_basic_admin.gif
first_comments_under_post.gif
first_congrats.gif
first_crud.gif
first_crud_layout.gif
first_custom_admin.gif
first_form_validation.gif
first_login.gif
first_routing.gif
first_welcome.gif
bash-3.00$ ls
first_basic_admin.gif first_crud.png first_login.gif
first_basic_admin.png first_crud_layout.gif first_login.png
first_comments_under_post.gif first_crud_layout.png first_routing.gif
first_comments_under_post.png first_custom_admin.gif first_routing.png
first_congrats.gif first_custom_admin.png first_welcome.gif
first_congrats.png first_form_validation.gif first_welcome.png
first_crud.gif first_form_validation.png symfony_favicon.png
$ for p in `ls *png`; do echo \\pgfdeclareimage\{${p%.png}\}{pictures/${p%.png}};done
IMG_0020.JPG 020.JPG IMG_x020.JPG
IMG_0021.JPG 021.JPG IMG_x021.JPG
IMG_0022.JPG 022.JPG IMG_x022.JPG
IMG_0023.JPG 023.JPG IMG_x023.JPG
bash-3.1$ for f in `ls *JPG`; do mv $f IMG_x${f#IMG_0}; done
Sunday, 9. April 2006, 21:51:08
<?php
$lines = file('http://www.symfony-project.com/trac/timeline?'.
'from=04%2F09%2F06&daysback=365&changeset=on&update=Update');
foreach ($lines as $k => $line){
if(strpos($line, 'h2') === false) unset($lines[$k]);
}//end forezch lines
$data = array();
foreach ($lines as $line){
$tmp=''; $date = ''; $time = ''; $changeset = ''; $_changeset = false; $author = ''; $_author = false;
$dom = new domDocument;
$dom->loadHTML($line);
$h2 = $dom->getElementsByTagName('h2');
$date = substr($h2->item(0)->nodeValue,0,8);
$dts = $dom->getElementsByTagName('dt');
if($dts){
preg_match_all('#\[(.*)\]#', $dts->item(0)->nodeValue,$_changeset);
if($_changeset) $changeset = $_changeset[1];
preg_match_all('#by (.+)$#', $dts->item(0)->nodeValue, $_author);
if($_author) $author = $_author[1];
foreach ($dts as $dt){
$spans = $dt->getElementsByTagName('span');
$time = $spans->item(0)->nodeValue;
//collect the data in an array
$data[] = array('changeset' => $changeset[0], 'author' => $author[0], 'unixtime' => strtotime("$date $time"));
}//end foreach
}//end if
}//end foreach
die(var_dump($data));
?>Wednesday, 18. January 2006, 21:54:04
Tuesday, 29. November 2005, 11:06:08