Skip to content

Instantly share code, notes, and snippets.

draw {0000001110000000000000000000000000000000111111110000011111111 0000000111100000000000000000000000000000111111110000011111111 0000000011111000000000000000000000000000111111110000011111111 0000000001111100000000000000000000000000111111110000011111111 0000000000111111000000000000000000000000111111110000011111111 1110000000011111111100000000000000000000111111110000011111111 0111100000001111111100000000000000000000111111110000011111111 0011110000000111111000000000000000000000111111110000011111111 0111111111111111111111111111111000000000111111110000011111111 1111111111111111111111111111111110000000111111110000011111111 0111111111111111111111111111111000000000111111110000011111111 0011110000000111111000000000000000000000111111110000011111111 0111100000001111111100000000000000000000111111110000011111111 1110000000011111111100000000000000000000111111110000011111111 0000000000111111000000000000000000000000111111110000011111111 0000000001111100000000000000000000000000111111110000011111111 00000000111110000000000000
draw {0000001110000000000000000000000000 0000000111100000000000000000000000 0000000011111000000000000000000000 0000000001111100000000000000000000 0000000000111111000000000000000000 1110000000011111111100000000000000 0111100000001111111100000000000000 0011110000000111111000000000000000 0111111111111111111111111111111000 1111111111111111111111111111111110 0111111111111111111111111111111000 0011110000000111111000000000000000 0111100000001111111100000000000000 1110000000011111111100000000000000 0000000000111111000000000000000000 0000000001111100000000000000000000 0000000011111000000000000000000000 0000000111100000000000000000000000 0000001110000000000000000000000000 0000000000000000000000000000000000}
proc gc_distance {pos1 pos2} {
set pi 3.1415926535
set lat1 [deg2rad [lindex $pos1 0]]
set lon1 [deg2rad [lindex $pos1 1]]
set lat2 [deg2rad [lindex $pos2 0]]
set lon2 [deg2rad [lindex $pos2 1]]
set theta [expr $lon2 - $lon1]
set dist [expr acos((sin($lat1) * sin($lat2)) + (cos($lat1) * cos($lat2) * cos($theta)))]
if {$dist < 0} {
set dist [expr $dist + $pi]
proc lasttrack {{who {}}} {
if {![cache exists last_track [nname $who]]} {
return [track urmom 420]
}
apply track [cache get last_track [nname $who]]
}
def with_umask(mask)
previous = File.umask(mask)
yield
File.umask(previous)
end
proc drink_pyramid {} {. " if this is /\\ \n" " beer put / \\ \n" " this at /ETHA\\ \n" " the base / NOL \\ \n" " /________\\ \n" " / | COF\\ \n" "pick 1 / TEA | FEE \\ \n" " /_______|______\\ \n" "pick / | \\ \n" " 1 / DAIRY | SOY \\ \n" " /__________|_________\\ \n" " / \\ \n" " / WATER \\ \n" "/__________________________\\\n"}
let's roll __ _
\ /..\ /\)
.\_O/ / /
/ '._/ /
/ \__.'=.
/ ._/|/ /
'. '\ /
"/ //
/ //
/'_'
(elvis@tony.local)18> socket_server:module_info().
[{exports,[{start,3},
{init,1},
{handle_cast,2},
{accept_loop,1},
{handle_call,3},
{handle_info,2},
{terminate,2},
{code_change,3},
{module_info,0},
Ruby on Rails Developer
Worldmedia ( http://www.worldmedia.net ) is an established online advertising, design,
and development company with local, national, and international clients. We're looking
for an additional Rails developer to join our in-house tech team.
This position is full time, salaried, and permanent; only local candidates willing to
commute daily to our office in the Miami Design District should apply. We will not
consider consultants or contractors.
1803:38 <@ b> booyah
1803:46 <@ swingler> tcl img-party
1803:46 < Shaniqua> http://i.buttes.org/index.php/http://wiki.compugoat.biz/images/4/42/Partyhector.gif
1804:11 <@ b> so there's no well-integrated way to set up avahi for apache on opensolaris
1804:14 <@ b> so...
1804:25 <@ b> i set up a shell script to call apachectl to dump vhosts
1804:28 <@ b> grep out the host names
1804:34 <@ b> and call avahi-publish-service with them
1804:53 <@ b> and then set up smf to kill the publishes and restart the shell script on httpd restart