#!/bin/bash
/usr/bin/osascript << EOF
property compName : ""
repeat while compName is ""
tell application "Finder"
activate
display dialog "What should this computer be named:" default answer compName
set compName to text returned of result
end tell
end repeat
try
do shell script "hostname " & quoted form of compName
on error errorMsg number errorNum
display alert "Error " & errorNum message errorMsg buttons "Cancel" default button 1
end try
EOF
name=$(hostname)
scutil --set ComputerName "${name}"
scutil --set LocalHostName "${name}"
[ view entry ] ( 1492 views ) | permalink

The next big change in my life is that my wife and I rescued a dog. We rescued a Chihuahua mix, we don't know what she is mixed with but she is very much a lover and loves to play just as much as she wants to lick us to death. She always greets us at the door when we come home. We have named her Prim but right now she is far from prim and proper but we spend much time with her getting her ever more closer.

[ view entry ] ( 12842 views ) | permalink
Read More...
[ view entry ] ( 545 views ) | permalink
So I finally have done now that I have my own bike was to go on a bike ride. I was a little disapointed with myself at how short the trip was but I liked the fact that I kept up y average your speed to 9mph.
Total distance: 4.39 km (2.7 mi)
Total time: 17:10
Moving time: 16:39
Average speed: 15.35 km/h (9.5 mi/h)
Average moving speed: 15.83 km/h (9.8 mi/h)
Max speed: 39.60 km/h (24.6 mi/h)
Average pace: 3.91 min/km (6.3 min/mi)
Average moving pace: 3.79 min/km (6.1 min/mi)
Fastest pace: 1.52 min/km (2.4 min/mi)
Max elevation: 430 m (1410 ft)
Min elevation: 396 m (1299 ft)
Elevation gain: 29 m (94 ft)
Max grade: 3 %
Min grade: -7 %
Read More...
[ view entry ] ( 13574 views ) | permalink

[ view entry ] ( 2111 views ) | permalink
| 1 |