CHICKENS! (not tech related)

So recently i have decided i wanted a couple chickens, so i could  have eggs. I wanted to do the whole hog, so got a cheap incubator and bought some fertile eggs.

Incubator was not getting up to temp, so i pulled it apart, and fixed it, and put the eggs in. Turns out those eggs were not fertile ūüôĀ
Second time i got a decent incubator, much larger! unfortunately the hygromtre reading was wrong, and temp was about 1C off. I did manage to hatch 4 chicks though from 24 eggs, despite it having all the wrong settings.

Third time incubating, three days before hatch it lost temp, and i ended up doing dodgy hackery things to keep the temp up to try hatching, but ended up with only 3 hatching from 10 eggs

Going for a 4th time lucky, i have new sensors and fixed the whole thing up (yet again) with more reliable ways of heating and measuring these things.

In the mean time, the first 4 chooks were black/blue, and the second batch of 3 are all white.

So from here i clearly needed a cage! I had a ton of pink wood sitting about, so i built a raised cage to deter cats/rats, and give the chickens more run space underneath.

I have since added a veranda, ramp and painted the whole thing. Chooks seem to love it, though are still only about 6 weeks old

 

The next thing to do is automate it! Heating, door opening, egg notification, etc etc!

A stock reply to unsolicited dick pics

Written by Sarah-Louise Jordan apparently is a great stock reply to dick pics sent to you.

Dear sir,

Thank you for the unexpected and unsolicited submission of your penis portrait for our consideration.

We regret to inform you that it has failed to pass our most basic standards of quality control at this time. However, for a nominal fee we can offer you a report that will help you to change that.
The A4 report, provided via postal service, will include personalised booklets that cover the following:
– Why genitals are not an acceptable conversation opener (a step by step guide to saying hello)
–¬†How to appear as though you weren’t raised by wolves
–¬†Better ways to deal with your sexual frustration
–¬†How to dress your penis for social media (a rough guide to pants)
–¬†Penis-reading: a new form of palmistry that may help you unlock the key to your future

 

We will also answer questions you might have such as
–¬†Do I have too much time on my hands?
–¬†Why did my penis fail basic standards of quality control
(note the number one reason for this occurring is that it is attached to a bigger dick than itself. )

Finally, as a gesture of goodwill we intend to offer two free samples with all of your future penis portrait submissions:
An inventive critique of your pride & joy
A surprise consultation with your closest available family member about your portfolio.
We trust this exciting offer is acceptable and look forward to working with you in the near future.
– Yours faithfully

Shell script to email when web page has updates/changed

Some shipping companies don’t have any sort of notification system for when updates happen to packages. For small things, this is probably not a major issue, but when i ordered my huge Patio roof, i needed to be at home when it was being delivered to help unload.

Unfortunately the website did not have any notifications, and the alternative was to hit reload on the page all the time to check. I figured this should be easy to script and so wrote this small shell script to watch the page, and email me if there were any updates

 

#!/bin/bash
#
# URL to check
url="http://fasttracker-nz.tollgroup.com/onetoll-fast-tracker.aspx?ConsignmentNumber=xxxxxxxxxx"
 
# Temp file to store the tracking page
temp=/tmp/trackingcheck
 
# Get the page, remove dynamic content of newrelic and diff feedback on that
modified=$(wget -q -O $temp $url ; diff ${temp} ${temp}.1 |grep -v newrelic |grep -v --  "--" |grep -v 8c8 )
 
# This is a good idea if it has the Last Modified headers, but in my case it didn't
#modified=$(curl -sI "$url" | grep ^Last-Modified)
 
# set email address
email="liz@xxxxxx.com"
 
# Check if the modified variable exists and is more than 0 characters
if [[ ! -z "$modified" && ${#modified} -gt 0 ]]; then
    # Email me the changes if there are any
    echo $url has changed  $modified  - modified| mail -s "Tracking Update"  ${email}
    # Copy the recent grab of the page to the second file to compare to next time
    cp ${temp} ${temp}.1
fi

The initial idea was to check for Last-Modified headers, but they did not have those, so i ended up dumping the page to /tmp/trackingcheck and comparing against /tmp/trackingcheck.1 . I had to adapt my diff command to remove the newrelic dynamic content lines, which probably could have been done, but over all the script worked nicely.
I set up a cron task to run that every 10 minutes. If the page has changed, it emails me, and copies the temp file to /tmp/trackingcheck.1

*/10 * * * * /home/velofille/tracking.sh