Open source, Linux, VIM, PHP, Ruby, Python, Symfony, Rails, SQL, Javascript, JQuery, whatever... - tips&tricks.
Tuesday, October 25, 2011
Rogozińskie Przedszkolaki :)
Przedszkolaki mają nową stronkę, wygląda trochę lepiej niż stara (nie moja) :)
http://przedszkole-rogozno.pl
Symfony2 + JQuery
Friday, September 23, 2011
Thursday, September 8, 2011
PHP Ubuntu simple server monitoring script
Simple PHP monitoring script.
Change hosts variable (array) and path to icon file (-i /usr/share/icons/Faenza/status/scalable/error.svg).
You can use it in your crontab: Edit your cron settings:
and insert:
(change /home/exu/scripts/monitoring to path to your file) Enjoy!
Change hosts variable (array) and path to icon file (-i /usr/share/icons/Faenza/status/scalable/error.svg).
You can use it in your crontab: Edit your cron settings:
crontab -e
and insert:
* * * * * php /home/exu/scripts/monitoring
(change /home/exu/scripts/monitoring to path to your file) Enjoy!
Subscribe to:
Posts (Atom)
