Last weekend I had a loss of connection and while diagnosing I started a ping to see what was alive, I forgot about it and here is the output 6 days later:

— 208.67.222.222 ping statistics —
363846 packets transmitted, 335684 received, +1 duplicates, +2 errors, 7% packet loss, time 512087867ms
rtt min/avg/max/mdev = 13.156/19.034/1042.580/12.497 ms, pipe 2

Sorry OpenDNS, it was an accident!

In light of recent errors of judgment by members of government it has been determined that all staff should be made aware of revised guidance on personal expenses:

1) Staff are not permitted to use company money to pay for accommodation beyond that required directly for business. In order to remove all doubt this includes the paying mortgages with salary. Staff are expected to use their savings or take supplementary employment (subject to approval on the grounds of conflict of interest) to fund their lifestyles.*

2) Manure: by-products of grazing animals may only be purchased with company money where required for normal business operations. No authorisation is required for the purchase of modest quantities of bovine manure for sales staff or support staff.

3) Pornographic videos may not be hired by spouses of employees and be claimed on expenses, only by employees themselves for their own use.

4) Plumbing services may be provided on the company account providing sufficient evidence is provided of the problem before hand and 7 days of notice given of any unexpected work.

5) Employees may employ their relatives only where that relative is paid through the off-shore shell account funds normally reserved for bribery.

6) Bribery will no longer be tolerated, instead the practice will be retitled: external non-declared incentives.

7) Due to previous abuse of the system a maximum number of days of ‘away from home’ subsistence may be claimed in one year. This limit is now set to: 400 days per annum.

8) Staff will be expected to hand all gifts to the finance department for placing on eBay. This includes personal presents for the following events/holidays:
– Birthdays
– Christmas (and other religious festivals)
– Weddings (except for those in junior grades or director grade and above).
Income from the sale of these items will be put towards to executive training and development fund maintained by our contractor: Betfair.com

* Acceptable forms of secondary employment not considered a conflict of interest include but are not limited to:
– intimate massage
– private escort services
– sale and distribution of narcotics
– sale and distribution of videos (especially for pornography or blackmail)
Employment which is considered a conflict of interest with company business includes (but is not limited to):
– Fraud
– Organised religion
– Children’s entertainment
– Murder, arson and/or pillage

Please ensure you follow this guidance in future.

Kind regards,

Finance Department

Sent from my BlackBerry® wireless device

We have a new Canon Multi Function Device (printer, copier, scanner) in the office and it is network ready. So I have configured it to upload scans to the office server for easy access. The problem is that I want to purge these files after some time so as not to clog anything up. The solution was to archive them all off periodically using a CRON job and to use a shell script to manage that process. Here is the file I created:


#!/bin/sh

tar –no-recursion -cjf ~/canon/.archive/scan_archive_`date ‘+%Y-%m-%d.%s’`.tar.bz2 ~/canon/*
if [ $? -eq 0 ]
        then
                find ~/canon/ -name ‘*.jpg’ -mtime +6 -delete
                find ~/canon/ -name ‘*.tif’ -mtime +6 -delete
                find ~/canon/ -name ‘*.pdf’ -mtime +6 -delete
                find ~/canon/ -name ‘*.tar.bz2’ -mtime +180 -delete
        fi

This creates an archive which has a unique time-stamp in its name and then if that goes ahead successfully then it deletes any images older than 6 days from the directory. It also removes any archives older than 180 days just to stop this going on forever and I am contemplating getting it to delete any very small archives because when there is nothing to archive it still creates a fragment of an archive. I must thank this site for inspiring these commands and give them full credit.

New broadband provider… a new year. Excellent:

Uptime:0 days, 4:11:09
Modulation:G.992.5 Annex A
Bandwidth (Up/Down) [kbps/kbps]:1,291 / 7,264
  
Output Power (Up/Down) [dBm]:12.0 / 18.0
Line Attenuation (Up/Down) [dB]:21.5 / 39.5
SN Margin (Up/Down) [dB]:7.0 / 6.5

 Ah, heck, it might not be 24Mb but its enough for me.