http://www.unix.com.ua/orelly/perl/cookbook/
http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=Switch
http://kobesearch.cpan.org/htdocs/perl/Switch.html
http://www.perlmeme.org/howtos/syntax/switch_statements.html
http://www.switch.ch/misc/leinen/snmp/perl/
Weekly Dalai Lama Teaching
Knowing one's limitations
If a boss gives more work to do and it is beyond their capacity, then I think they have to say something. They have to say 'This is too much work for me' and talk to the boss and try to reduce it. If that doesn't work, then they may need to look for new work.
"However, at that point let's say that the boss agrees to extra pay, and the employee agrees, then that is a person's decision and there's no cause to complain about overload. But if the boss gives too much work without increase of salary, then this 'over-load' is just exploitation.
The Art of Happiness at Work - Dalai Lama
If a boss gives more work to do and it is beyond their capacity, then I think they have to say something. They have to say 'This is too much work for me' and talk to the boss and try to reduce it. If that doesn't work, then they may need to look for new work.
"However, at that point let's say that the boss agrees to extra pay, and the employee agrees, then that is a person's decision and there's no cause to complain about overload. But if the boss gives too much work without increase of salary, then this 'over-load' is just exploitation.
The Art of Happiness at Work - Dalai Lama
Thursday, July 24, 2008
Thursday, July 17, 2008
Wednesday, July 16, 2008
USB Serial on Ubuntu
dmesg to check newly plug usb cable
sudo modprobe usbserial vendor=0×067b product=0×2303
minicom to turn on
Sourece: http://blog.mypapit.net/2008/05/how-to-use-usb-serial-port-converter-in-ubuntu.html
sudo modprobe usbserial vendor=0×067b product=0×2303
minicom to turn on
Sourece: http://blog.mypapit.net/2008/05/how-to-use-usb-serial-port-converter-in-ubuntu.html
Cacti stumbling stones
1) crontab trap
Check other instances of crontab running
- /etc/crontab or
- /etc/cron.d/cacti or
- crontab of user root or
- crontab of user "cactiuser"
2) Actual crontab entry for root
*/5 * * * * php /var/www/cacti/poller.php > /dev/null 2>&1
3) Directory rights
drwxr-xr-x 12 cactiuser apache 4096 Jul 14 23:17 cacti
Check other instances of crontab running
- /etc/crontab or
- /etc/cron.d/cacti or
- crontab of user root or
- crontab of user "cactiuser"
2) Actual crontab entry for root
*/5 * * * * php /var/www/cacti/poller.php > /dev/null 2>&1
3) Directory rights
drwxr-xr-x 12 cactiuser apache 4096 Jul 14 23:17 cacti
Subscribe to:
Posts (Atom)

