<?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-5573330724483485284</id><updated>2024-10-07T08:19:25.105+02:00</updated><category term="linux"/><category term="ubuntu"/><category term="firefox"/><category term="osx"/><category term="android"/><category term="backup"/><category term="cli"/><category term="facebook"/><category term="greasemonkey"/><category term="monitoring"/><category term="net"/><category term="php"/><category term="ssh"/><category term="thinkpad"/><category term="vyhladavanie"/><category term="youtube"/><category term="adb"/><category term="army"/><category term="bash"/><category term="bash_completion"/><category term="css"/><category term="dns"/><category term="dtruss"/><category term="foto"/><category term="fs"/><category term="gnome"/><category term="inode"/><category term="jquerify"/><category term="jquery"/><category term="log"/><category term="ls"/><category term="navod"/><category term="notebook"/><category term="postfix"/><category term="prezitie"/><category term="raspberry"/><category term="raspbian"/><category term="recenzia"/><category term="refurbished"/><category term="repasovany"/><category term="review"/><category term="rsync"/><category term="screen"/><category term="screenrc"/><category term="sl500"/><category term="smart"/><category term="sql"/><category term="ssh-keygen"/><category term="sshfs"/><category term="stat"/><category term="survival"/><category term="trick"/><category term="ubiquity"/><category term="vimeo"/><category term="vip"/><category term="wakeonlan"/><category term="wol"/><category term="workspace"/><category term="zlatos"/><title type='text'>Michal Zuber - poznatky, návody a skúsenosti</title><subtitle type='html'>Aby človek dosiahol to, čo je možné, musí sa usilovať o to, čo je nemožné.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5541149065477166616</id><published>2015-08-02T10:25:00.002+02:00</published><updated>2015-08-02T10:28:24.661+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="army"/><category scheme="http://www.blogger.com/atom/ns#" term="foto"/><category scheme="http://www.blogger.com/atom/ns#" term="navod"/><category scheme="http://www.blogger.com/atom/ns#" term="prezitie"/><category scheme="http://www.blogger.com/atom/ns#" term="survival"/><title type='text'>Foto návody k prežitiu od Armytraining</title><summary type="text">Po úspešnom absolvovaní letného kurzu prežitia a absolútnej spokojnosti s výcvikom, som dnes ráno chcel pozrieť aký ďalší kurz absolvovať u Patrika a jeho teamu.
Hlavná stránka www.armytraining.sk&amp;nbsp;sa mi zdala byť ako keby zmenená oproti tomu, kedy som ju naposledy navštívil.
Scrollol som dole a bol tam formulár, korý som ešte nevidel, tak som sa začítal, čo to je.



Foto návod prihlásenie

</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5541149065477166616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2015/08/foto-navody-k-prezitiu-od-armytraining.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5541149065477166616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5541149065477166616'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2015/08/foto-navody-k-prezitiu-od-armytraining.html' title='Foto návody k prežitiu od Armytraining'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYWieNAEejP3FWogUeG9HhmCssNIdJYw9GCj_oFQ0M4ffCgQOLFrb5Gs7E71U8z2lFi26S5Xb-fJcTmzcp1lUUuaFl8od9Dl7-nkxwRKsJaU9qgSplbkJ6VbSxYUWiAcgLviTRcMq-Qfo0/s72-c/armytraining-fotonavod-prihlasenie.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-3989538535101592081</id><published>2015-07-31T17:43:00.001+02:00</published><updated>2015-07-31T17:43:46.054+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="recenzia"/><category scheme="http://www.blogger.com/atom/ns#" term="review"/><category scheme="http://www.blogger.com/atom/ns#" term="vip"/><category scheme="http://www.blogger.com/atom/ns#" term="zlatos"/><title type='text'>Skúšobne som si zaplatil vladozlatos.com VIP členstvo</title><summary type="text">Vladov blog už sledujem pár rokov a absolvoval som s ním osobnú konzultáciu tovaroznalectvo v Terne, Aupark, Bratislava. Veľa informácií má na blogu, čo je veľmi dobré a ďakujem za ne.

Infá na blogu sú jedna super vec, ale osobné stretnutie má predsa len pridanú hodnotu a z druhého uhľa pohľadu, ak naďalej chcem čítať jeho bádania a výskumy, tak ho predsa finančne musím podporiť. Internet a </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/3989538535101592081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2015/07/skusobne-som-si-zaplatil-vladozlatoscom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/3989538535101592081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/3989538535101592081'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2015/07/skusobne-som-si-zaplatil-vladozlatoscom.html' title='Skúšobne som si zaplatil vladozlatos.com VIP členstvo'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR4n27IxkmH7QH0KjWvihxkjQmlFRNHtdQ2CjLJ3Z_nHA3t_8TU8Oz0LDKL4N2qPlJTc5pdv1yJTWd3KMNAPHmoU8nhGbPAIOPKEvUaLbPkcTqKnd7p2EhW0FhdH3wUDwA5sWB61oJkkrE/s72-c/mesacne-clenstvo-vip.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-8040664266538228789</id><published>2015-07-31T17:27:00.000+02:00</published><updated>2015-07-31T17:32:29.323+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="notebook"/><category scheme="http://www.blogger.com/atom/ns#" term="refurbished"/><category scheme="http://www.blogger.com/atom/ns#" term="repasovany"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><title type='text'>Môj prvý repasovaný notebook</title><summary type="text">
Mojou srdcovkou vždy boli a sú ThinkPad notebooky. Preto
    koncom roku 2013 som už ďalej nečakal a z eshopu lacne-pc.sk za 200 Eur kúpil svoj prvý
    repasovaný notebook, T60-ku ešte z dielne IBM a nie
    Lenovo.

Dovtedy som nemal skúsenosť s repasovanou technikou, ale v eshope
uvádzali 2-ročnú
záruku, tak som neváhal. Netušil som v akom stave bude, predsa je to
použitý notebook a hlavne </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/8040664266538228789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2015/07/moj-prvy-repasovany-notebook.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8040664266538228789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8040664266538228789'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2015/07/moj-prvy-repasovany-notebook.html' title='Môj prvý repasovaný notebook'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuO4uRZ9DPWGdAu_xSJyXGa5zY9WndMRqpptGTQkLZVTmTsiITIsk3hLKG-t6Yl1Yh7VQ8mFexJkDx12lr4iKt61k7HMLN9wZQxUP_psj3nAnm4L6fxxtGxho_7dcj4xESWBRm3I08n35n/s72-c/384140_article_photo_fHO5c490_150x100.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-2577549553074336401</id><published>2014-04-27T11:02:00.000+02:00</published><updated>2015-07-31T17:29:51.655+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="raspberry"/><category scheme="http://www.blogger.com/atom/ns#" term="raspbian"/><title type='text'>Composite (RCA) TV-out to SCART from Raspberry</title><summary type="text">Today I finally made time to try Pi&#39;s composite TV out [AV button on TV remote control :].







I had to edit my NOOBS /boot/config.txt to disable HDMI and enable Standard Definition Video.
# for more options see http://elinux.org/RPi_config.txt

# uncomment if you get no picture on HDMI for a default &quot;safe&quot; mode
#hdmi_safe=1

# uncomment to force a console size. By default it will be display&#39;s</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/2577549553074336401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/04/composite-rca-tv-out-to-scart-from.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/2577549553074336401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/2577549553074336401'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/04/composite-rca-tv-out-to-scart-from.html' title='Composite (RCA) TV-out to SCART from Raspberry'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU93dT0tfwasDpzxegbRqOp_oOwGPUT15eMLumGcavES2amWcGQa1uiOZQDF7hgqDJz1NN201lMzHdKVqlGHvdE2ZL399sMHij-qohrTnmx6XegsX5ntWYHurUF7xLg2rNVsXtSwNzG_pj/s72-c/2014-04-27+10.36.04.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-4888041064591528706</id><published>2014-04-09T21:09:00.001+02:00</published><updated>2014-04-09T21:15:05.225+02:00</updated><title type='text'>Compiling w_scan</title><summary type="text">I bought a DVB-T USB and needed w_scan to scan channels.

$ lsusb
Bus 001 Device 005: ID 048d:9006 Integrated Technology Express, Inc.
$ modprobe dvb_usb_it913x

Source code is at http://wirbel.htpc-forum.de/w_scan/index2.html

$ cd /tmp
$ wget http://wirbel.htpc-forum.de/w_scan/w_scan-20140118.tar.bz2
$ tar jxvf w_scan-20140118.tar.bz2
$ cd w_scan-20140118

Solving &quot;ERROR: w_scan requires linux </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/4888041064591528706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/04/compiling-wscan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4888041064591528706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4888041064591528706'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/04/compiling-wscan.html' title='Compiling w_scan'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5258601690632475329</id><published>2014-03-01T19:39:00.001+01:00</published><updated>2014-03-01T19:41:27.252+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cli"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><category scheme="http://www.blogger.com/atom/ns#" term="monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="net"/><category scheme="http://www.blogger.com/atom/ns#" term="osx"/><title type='text'>Switched from Console.app to multitail</title><summary type="text">With Console.app I had the problem that when I switched to output /var/log/apache2/error_log I didn&#39;t see /var/log/system.log and yesterday I read http://kkovacs.eu/cool-but-obscure-unix-tools and found multitail so I played with it.
I&#39;m currently running the following setup on OSX Mountain Lion

mike@mikembp:~$ cat bin/multitail-log.sh
#!/bin/bash

multitail -s 2 /tmp/lsof-net.log \
    /var/log</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5258601690632475329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/03/switched-from-consoleapp-to-multitail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5258601690632475329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5258601690632475329'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/03/switched-from-consoleapp-to-multitail.html' title='Switched from Console.app to multitail'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuBhA3rCXEHLJIzOH1BKKurEBvuiJ9hA2uCbp81Z-p_JB5bVEaAfFcLUli5ArbMfNclg7GojfDwg2niscaCCi_RMZ30V3o-hpw_mQSrEgyBURihpPGA-_Gi3EDBRzWPYFeac8J04cd7XXE/s72-c/Screen+Shot+2014-03-01+at+7.26.54+PM+(2).png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-122537803710367879</id><published>2014-02-26T22:12:00.000+01:00</published><updated>2014-02-26T22:12:19.667+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dns"/><title type='text'>Choosing the fastest DNS by benchmarking</title><summary type="text">Today I used Google&#39;s public DNS servers with a WiFi hotspot, never used it so I read about it and came acrooss https://code.google.com/p/namebench/




I tried it with the ISPs DNS servers and got the following result (suggestions for improving) http://namebench.appspot.com/id/71560011 for 100 queries and http://namebench.appspot.com/id/73540001 for 200 queries.

</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/122537803710367879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/choosing-fastest-dns-by-benchmarking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/122537803710367879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/122537803710367879'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/choosing-fastest-dns-by-benchmarking.html' title='Choosing the fastest DNS by benchmarking'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwB07h6SsZ5bM8Di56hFcwYr0BnBoCJMm9no2gJMytzXbuNqI4YEEUrUB96oWkgiJgo0ckI08BO-_CAhJhfNColgvVbg8jo3Iohwn087xulF29KFXNQjLRYPL-VdijD5VGWwaanYhODhj3/s72-c/Screen+Shot+2014-02-26+at+10.05.46+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-7415968437902320569</id><published>2014-02-22T08:31:00.000+01:00</published><updated>2014-02-22T09:20:51.848+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Kali Linux install fail</title><summary type="text">
I tried to install Kali in VBox with 4GB and for the second time on 8GB which wasn&#39;t enough, according to /var/log/syslog

So I checked the install docs and there was the answer how much should I use. So it&#39;s good to go throught the install docs before installing at http://docs.kali.org/installation/kali-linux-hard-disk-install and check the requirements.
After installing the system takes 9.7GB
</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/7415968437902320569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/kali-linux-install-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/7415968437902320569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/7415968437902320569'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/kali-linux-install-fail.html' title='Kali Linux install fail'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHQB4GLRIdrtGj0pBShSIKW1csVdRKX8lGesiL1AHI1V_7XnJCJgbpUSg8mkq6vRDSyIeK0k5d-Fg9rnN8fj-o_-kNn_TLCf6yhtWBR1D5FW2m-QTKtLj2dj2QAtZWWiCPZf6iyTc2Jcd3/s72-c/Screen+Shot+2014-02-22+at+8.21.19+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-3457650441018215663</id><published>2014-02-21T20:09:00.002+01:00</published><updated>2014-02-21T20:09:38.020+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fs"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Filesystem Hierarchy Standard</title><summary type="text">I just came across of Filesystem Hierarchy Standard (FHS). It is a standard that consists of a set of requirements and guidelines for file and directory placement under UNIX-like operating systems.
The guidelines are intended to support interoperability of applications, system administration tools, development tools, and scripts as well as greater uniformity of documentation for these systems.
</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/3457650441018215663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/filesystem-hierarchy-standard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/3457650441018215663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/3457650441018215663'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/filesystem-hierarchy-standard.html' title='Filesystem Hierarchy Standard'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-580772418569600295</id><published>2014-02-21T10:42:00.003+01:00</published><updated>2014-02-21T10:43:19.162+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>REPLACE instead of SELECT and then INSERT or UPDATE</title><summary type="text">It&#39;s nice that MySQL has the replace query so instead SELECTing to check if the data exists in the DB and than INSERTing or UPDATEing I just need to write one query.

So instead this:

$q = &quot;SELECT id FROM table WHERE name = &#39;value&#39; AND name2 = &#39;value2&#39; LIMIT 1;&quot;;
$id = $database-&gt;get_one($q);
if ($id &gt; 0) {
    $q = &quot;UPDATE table SET name = &#39;value&#39;, name2 = &#39;value2&#39; WHERE id = $id LIMIT 1;&quot;;
}
</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/580772418569600295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/replace-instead-of-select-and-then.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/580772418569600295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/580772418569600295'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/replace-instead-of-select-and-then.html' title='REPLACE instead of SELECT and then INSERT or UPDATE'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-4746363375044989169</id><published>2014-02-21T07:59:00.000+01:00</published><updated>2014-02-21T08:05:05.620+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Great description and examples of Linux commands</title><summary type="text">Found a great description of some Linux commands at http://www.linfo.org/command_index.html which I definitely recommend for newbies.
Some of my favourits:

mike@jarvis:/media/sdb1/www$ find . -type d -exec sudo chmod 0775 {} \;
mike@jarvis:/media/sdb1/www$ find . -type f -exec sudo chmod 0664 {} \;

mike@mikembp:~$ tail -f /var/log/apache2/error_log
PHP Warning:  PHP Startup: Unable to load </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/4746363375044989169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/great-description-and-examples-of-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4746363375044989169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4746363375044989169'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/great-description-and-examples-of-linux.html' title='Great description and examples of Linux commands'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-6216325322571633962</id><published>2014-02-21T07:48:00.000+01:00</published><updated>2014-02-21T07:52:50.338+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="inode"/><category scheme="http://www.blogger.com/atom/ns#" term="stat"/><title type='text'>Learning about inodes</title><summary type="text">Yesterday I watched again Antitrust, but now in HD 720p to better see the commands he used :)
He was playing with inodes to restore removed data and I became curious, because I heard and saw inodes, but never knew what are they.
For me useful info was at http://www.linfo.org/inode.html and http://www.cyberciti.biz/tips/understanding-unixlinux-filesystem-inodes.html
I didn&#39;t know about the command</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/6216325322571633962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/learning-about-inodes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/6216325322571633962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/6216325322571633962'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/learning-about-inodes.html' title='Learning about inodes'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-8140028029322316639</id><published>2014-02-20T12:15:00.001+01:00</published><updated>2014-02-20T12:17:24.631+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="net"/><title type='text'>Network and bandwidth monitoring with darkstat</title><summary type="text">I was searching for a networking monitor solution and found http://hints.macworld.com/article.php?story=20020521011343792
Darkstat&#39;s source code is available at http://unix4lyfe.org/darkstat/
After starting it runs as a daemon in the background.

mike@mikembp:~$ sudo darkstat -i en0

It binds itself to the TCP port 667 which can be changed and also other things:

mike@mikembp:~$ darkstat --help
</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/8140028029322316639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/network-and-bandwidth-monitoring-with.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8140028029322316639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8140028029322316639'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/network-and-bandwidth-monitoring-with.html' title='Network and bandwidth monitoring with darkstat'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkLAlBPW-V1z7EXhCF_IMz83XOIR5F7qtbsv5Wk0uqwrgeXrzw3wq0nj3M1fVqYgy3etK4Fm20vd-mgLHo52bZBhHg84OllMU-SVsJbOSpjvLK4cot2cVsyQIkJhEQr-umebdgdJkAEgvM/s72-c/Screen+Shot+2014-02-20+at+12.10.15+PM.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5481349166963981768</id><published>2014-02-20T08:28:00.002+01:00</published><updated>2014-02-20T08:30:24.614+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="smart"/><title type='text'>Disk SMART capability</title><summary type="text">I came across http://unix4lyfe.org/trim/ and became curious about my disk info so I installed smartmontools


mike@mikembp:~/Sites/atechcomp$ sudo port install smartmontools
Password:
---&gt;  Fetching archive for smartmontools
---&gt;  Attempting to fetch smartmontools-6.2_0+attributelog+savestates.darwin_12.x86_64.tbz2 from http://packages.macports.org/smartmontools
---&gt;  Attempting to fetch </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5481349166963981768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/smart-capability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5481349166963981768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5481349166963981768'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/smart-capability.html' title='Disk SMART capability'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-4826955399313891310</id><published>2014-02-18T13:08:00.002+01:00</published><updated>2014-02-18T13:11:27.326+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Facebook group posts on own webpage in PHP</title><summary type="text">A friend needed his FB groups posts embedded on his webpage so here are some snippets that I don&#39;t forget :D
At https://developers.facebook.com create a new APP, after creating 
you get the required ID and SECRET.
From https://github.com/facebook/facebook-php-sdk download the PHP SDK


require_once(WB_PATH.&quot;/include/facebook/src/facebook.php&quot;); // Get from https://github.com/facebook/</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/4826955399313891310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/facebook-group-posts-on-own-webpage-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4826955399313891310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4826955399313891310'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/facebook-group-posts-on-own-webpage-in.html' title='Facebook group posts on own webpage in PHP'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5559113949305417813</id><published>2014-02-17T08:57:00.002+01:00</published><updated>2014-02-17T08:57:54.125+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>Firefox or other browser not parsing CSS or JS file</title><summary type="text">Today thanks to mozilla #css IRC channel I learned and experienced why isn&#39;t Firefox loading some CSS and JS files for a particular page.
ALWAYS CHECK YOUR EXTENSIONS BEHAVIOUR 

</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5559113949305417813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/firefox-or-other-browser-not-parsing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5559113949305417813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5559113949305417813'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/firefox-or-other-browser-not-parsing.html' title='Firefox or other browser not parsing CSS or JS file'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBmXYWj3EYm5Di55qQNeiJjAKUKjG4pYUB-hpx0yEkI8U4K1kXjD6YQzYkrhuJyHjLRii425YXK8kugM-Lyrh3PsG-mbXSYILjkI88V1sotyye-mSs8sbH9mtMQBso9RHiuCQ7Oqp-jujt/s72-c/Screen+Shot+2014-02-17+at+8.51.05+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-830962156725310737</id><published>2014-02-16T19:40:00.001+01:00</published><updated>2014-02-16T19:40:45.983+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dtruss"/><title type='text'>Catch dtruss output into a file</title><summary type="text">After some googling and not finding the solution I tried from the previous googled sites the following:

sudo dtruss -ap 38961 2&gt; /tmp/ff.log


And it worked ! :)</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/830962156725310737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/catch-dtruss-output-into-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/830962156725310737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/830962156725310737'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/catch-dtruss-output-into-file.html' title='Catch dtruss output into a file'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-8244901021072890315</id><published>2014-02-16T10:54:00.001+01:00</published><updated>2014-02-17T12:56:47.115+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><title type='text'>How to clean up of a 600GB backup</title><summary type="text">Here are some thoughts about cleaning up data after a backup, recovery or restoration.


Rsync stats from one USB harddrive to another, it took over 17 hours during which I was away from home :)




My bigger problem was that I needed to manualy scan the images, due some partition recovery incident.
The directory contained 103541 JPGs that was 12 GB of data.
For moving just the wider photos (</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/8244901021072890315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/clean-up-of-600gb-backup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8244901021072890315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8244901021072890315'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/clean-up-of-600gb-backup.html' title='How to clean up of a 600GB backup'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHXWsWzRhtD1BuHDYGBngSQij9vjf04kUfk-WdVb1G0qR0PVWBBck7wr4B2sEH2YgbiMZgUBiDu6AKAQpVlxxFe6rPTWTBrid9JveSNjhH9Ui4hmDmPCFR2xNYa2cAef6QrR8_UXTYgHPl/s72-c/Screen+Shot+2014-02-15+at+6.33.35+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-4353770771778628982</id><published>2014-02-16T10:32:00.004+01:00</published><updated>2014-02-16T12:49:57.853+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Some PHP security goodness, how-to</title><summary type="text">Some of my best practites for PHP
1. Check the syntax of all of the php files:

localhost:~ $ find $(pwd) -name \*.php -exec php -l &#39;{}&#39; \;


2. Set php.ini for development:

error_reporting=8192
display_errors=On
display_startup_errors=On
log_errors=On
error_log=error_log
report_memleaks=On
expose_php=On
asp_tags=Off


3. Watch out for proper type handling:

$clean_int = (int)$dangerous_int;


4</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/4353770771778628982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/some-php-goodness.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4353770771778628982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4353770771778628982'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/some-php-goodness.html' title='Some PHP security goodness, how-to'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-1816629234014269399</id><published>2014-02-16T08:08:00.001+01:00</published><updated>2014-02-16T08:08:12.659+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cli"/><category scheme="http://www.blogger.com/atom/ns#" term="ls"/><category scheme="http://www.blogger.com/atom/ns#" term="trick"/><title type='text'>Linux special case listing options, tricks</title><summary type="text">To list only files beginning with the specified character:


mike@jarvis:/media/sdb1/jpg$ ls -1 [A]*.jpg
A-AM11-GGD_icon01_s_1.jpg
A-AM11-GGD_icon01_s.jpg
A-AM13-GGD_icon02_s_1.jpg
A-AM13-GGD_icon02_s.jpg

mike@jarvis:/media/sdb1/jpg$ ls -1 [a]*.jpg
a001_1.jpg
a001.jpg
a002_1.jpg
a002.jpg
a003_1.jpg
a003.jpg
a004_1.jpg
a004.jpg
a005_1.jpg
a005.jpg


Finding PNG images greater than 800 pixels:

</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/1816629234014269399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/linux-special-case-listing-options.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/1816629234014269399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/1816629234014269399'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/linux-special-case-listing-options.html' title='Linux special case listing options, tricks'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5904188109160555380</id><published>2014-02-13T19:31:00.000+01:00</published><updated>2014-02-13T19:31:10.494+01:00</updated><title type='text'>Trying WD SmartWare for My Passport USB HDD</title><summary type="text">During my data restoration struggles I tried Western Digitals SmartWare from http://support.wdc.com/product/download.asp?groupid=208
After attaching to my Mac the following log entries appear:
2/13/14 5:41:43.000 PM kernel[0]: USBMSC Identifier (non-unique): 57584A314143303737343937 0x1058 0x730 0x1012, 2
2/13/14 5:41:51.000 PM kernel[0]: NTFS driver 3.10 [Flags: R/W].
2/13/14 5:41:51.000 PM </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5904188109160555380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/trying-wd-smartware-for-my-passport-usb.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5904188109160555380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5904188109160555380'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/trying-wd-smartware-for-my-passport-usb.html' title='Trying WD SmartWare for My Passport USB HDD'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7eg9bKDUHXu1CmjsN6n1wMYvdTMIJUAZ_70TFOYwm0XV-TR9XIKpv15W2LKE1_S_ABHdnCtDR3kExchAn-Nje_mPtPszYrrs5q-TcUhaUgNGMglqL77_B9FYBSB2zBopDNcT8LOk627x2/s72-c/Screen+Shot+2014-02-13+at+5.47.20+PM.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-5402597101196733468</id><published>2014-02-12T12:38:00.001+01:00</published><updated>2014-02-12T13:17:29.587+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh-keygen"/><category scheme="http://www.blogger.com/atom/ns#" term="sshfs"/><title type='text'>SSHFS mounting without password with SSH keys</title><summary type="text">First we need to generate public and private keys on our host.
When prompted for passphrase just hit enter to go without it

nevillegroup@shell:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/nevillegroup/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/nevillegroup/.</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/5402597101196733468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/sshfs-mounting-without-password-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5402597101196733468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/5402597101196733468'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/sshfs-mounting-without-password-with.html' title='SSHFS mounting without password with SSH keys'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-8237356854882272250</id><published>2014-02-12T08:25:00.003+01:00</published><updated>2014-02-12T08:25:28.607+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Backup with RSYNC and SSH authorized key</title><summary type="text">Finally I wrote my rsync backup script v. 0.1


https://raw.github.com/mikaelz/bin/master/backup.sh

#!/bin/sh

# ~/bin/backup.sh
# 
# Some help from
# http://www.sakana.fr/blog/2008/05/07/securing-automated-rsync-over-ssh/
# https://wiki.archlinux.org/index.php/Rsync#Automated_backup_with_SSH
# https://wiki.archlinux.org/index.php/Full_System_Backup_with_rsync
# https://www.linux.com/news/</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/8237356854882272250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/backup-with-rsync-and-ssh-authorized-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8237356854882272250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/8237356854882272250'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/backup-with-rsync-and-ssh-authorized-key.html' title='Backup with RSYNC and SSH authorized key'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-7755289379041073449</id><published>2014-02-12T06:40:00.000+01:00</published><updated>2014-02-12T06:40:49.386+01:00</updated><title type='text'>Testing adblockedge (ABE)</title><summary type="text">&quot;Adblock Edge is a fork of the Adblock Plus(R) version 2.1.2 extension for blocking advertisements on the web.&quot; - from https://bitbucket.org/adstomper/adblockedge/overview



I downloaded it from the Downloads section


Checked the SHA256 hash of the .xpi


mike@mikembp:~/Downloads$ shasum -a 256 adblockedge-2.0.9.xpi ; cat adblockedge-2.0.9.xpi.sha256
</summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/7755289379041073449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/testing-adblockedge-abe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/7755289379041073449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/7755289379041073449'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/testing-adblockedge-abe.html' title='Testing adblockedge (ABE)'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDXsvQ_3RqN-aaLSKt-8uobXtYQPvSUgDee8kda0dmYEBUT6UoVDqv5xtfI1dnvildArBON9Au12EWHRQMMH_7mulYeWb-nXa2DTXJ5ZMbjXBxOZARyU3AMDEGYUhyphenhyphenzVtVSiDjTFju4Z5r/s72-c/Screen+Shot+2014-02-12+at+6.38.49+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5573330724483485284.post-4725080661190320192</id><published>2014-02-09T08:46:00.000+01:00</published><updated>2014-02-09T08:52:28.318+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adb"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android full backup with adb</title><summary type="text">To download Anroid SDK go to https://developer.android.com/sdk/index.html

The backup command

mike@mikembp:~/Downloads/android/sdk/platform-tools$ ./adb backup -all
Now unlock your device and confirm the backup operation.





Default backup file name is backup.ab

mike@mikembp:~/Downloads/android/sdk/platform-tools$ ls -la backup.ab
-rw-r-----  1 mike  wheel    60M Feb  9 07:39 backup.ab


Get </summary><link rel='replies' type='application/atom+xml' href='http://michalzuber.blogspot.com/feeds/4725080661190320192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michalzuber.blogspot.com/2014/02/android-full-backup-with-adb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4725080661190320192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5573330724483485284/posts/default/4725080661190320192'/><link rel='alternate' type='text/html' href='http://michalzuber.blogspot.com/2014/02/android-full-backup-with-adb.html' title='Android full backup with adb'/><author><name>michalzuber</name><uri>http://www.blogger.com/profile/00876141954755057905</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio340viDFLiXK43OpwMY2G3qmfOYcMrL61v_8a60yIz1foFqcjxOdfqoC5qAQBdVQSN_GukPMVIKerJ_MYAzFwr-YV_JwjrEXmGEbu5HLCwL0_v77sHgtqJsxoVSczgQ/s220/mike_twitter.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsiDE-0vVBoF-f0dM0ZeGEhTp1h-mUzSrrLKNj8iG84to63nHiSYf_ukOnM6i12gQpJ2fIvnzqtvMDglDWFiSBDoVaHA2YtjiGKV733AauSADAarQ23NBjgAcEybdEMzCDLEMteSKjwqkY/s72-c/2014-02-09+07.36.05.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>