Skip to content

Commit

Permalink
Sober up, and maybe become a little British.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuga committed Sep 14, 2011
1 parent 8eac8c6 commit 74f9399
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 78 deletions.
36 changes: 0 additions & 36 deletions views/ampblock.coffee
Expand Up @@ -5,52 +5,16 @@ $(document).ready () ->
center: loc
mapTypeId: google.maps.MapTypeId.ROADMAP
map = new google.maps.Map($('#get-there-map').get(0), opts)
fromMap = new google.maps.Map($('#get-back-map').get(0), opts)

router = new google.maps.DirectionsService()

toDirs = new google.maps.DirectionsRenderer()
toDirs.setMap(map)

fromDirs = new google.maps.DirectionsRenderer()
fromDirs.setMap(fromMap)

toRoute =
origin: "Astor Crowne Plaza New Orleans Hotel, 739 Canal Street, New Orleans, LA 70130"
destination: "camp at girod"
travelMode: google.maps.DirectionsTravelMode.WALKING
router.route toRoute, (response, status) ->
if status == google.maps.DirectionsStatus.OK
toDirs.setDirections(response)

fromWaypoints = ['camp at girod',
'bourbon at bienville',
"29.947813818327635, -90.06422281265259",
"29.943630383305713, -90.07188320159912",
"29.94987758145139, -90.07184028625488",
"29.944597237256357, -90.06566047668457",
"royal street and governor nicholls",
'tulane university medical center']
waypointNames = ['THE PARTY!',
'HAY LADIES!',
"Velociraptor attack.",
"CHUG CHUG CHUG",
"Dude, we're so lost...",
"I'm getting hungry",
"24 hour Poboys! YES!",
"It hurts."]
googleWaypoints = ({location: waypoint} for waypoint in fromWaypoints[1..fromWaypoints.length-2])
fromRoute =
origin: fromWaypoints[0]
destination: fromWaypoints[fromWaypoints.length-1]
waypoints: googleWaypoints
travelMode: google.maps.DirectionsTravelMode.WALKING

router.route fromRoute, (response, status) ->
if status == google.maps.DirectionsStatus.OK
index = 0
while(index < response.routes[0].legs.length)
response.routes[0].legs[index].start_address = waypointNames[index]
response.routes[0].legs[index].end_address = waypointNames[index+1]
index += 1
fromDirs.setDirections(response)
60 changes: 26 additions & 34 deletions views/index.haml
Expand Up @@ -35,11 +35,11 @@
The pleasure of your company is respectfully requested for a refined
evening of imbibing,
%br
rabblerousing, and musickal merriment. The convocation commences
colourful conversation, and musickal merriment. The convocation commences
%br
at half past six on the day of Thor, 29
%span.super<> th
September.
Septembere.
#images
#music
%img{:src => '/images/concert.jpg'}
Expand All @@ -56,12 +56,12 @@
%h3.question What is it?
#what-answer.answer
The Southern Societé of Computational Libationists, the south's most esteemed
organization dedicated to the study and mechaniching of analytical
organization dedicated to the study and mechanicking of analytical
enginery and pleasurable potables, founded 1718, has created a league
of well-regarded colleagues of local repute and organizations far and
wide known for their good deeds and analytic heroics. This league's
ephemeral existence has but one purpose: a refined evening of
out-of-doors diversion for all enthusiasts of Rubyology, colloquially
out-of-doors diversion for all enthusiasts of rubyology, colloquially
known as 'The &Block Party', and often verbally pronounced, with no
small amount of amusement to those learned in the arts of analytic
enginery, as 'amp-block'.
Expand All @@ -71,53 +71,55 @@
%strong scrumptious delights
and the Libationists' own
%strong pleasurable spirits!
To encourage intersocialization and chuckles while you imbibe,
have retained the services of
%strong The Laginappe Brass Band,
To encourage intersocialization and chuckles while you quaff,
we have retained the services of
%strong The Lagniappe Brass Band,
the fine
%strong My Name Is John Michaels,
and the renowned rotater of musical storing discii,
%strong DJ Black Socks.
It should be a gay time for all!
We respectfully opine that a gay evening shall be had by all-comers.

%h3.question When?
#when-answer.answer
The Southern Societé of Computational Libationists have created a
schedule timing The &Block Party to coincide with the rubyologist's
festival of analisis and engineering taking place in New Orleans at the
close of September. Our soirée will take place on
%strong the first Thursday of Rubyconf,
September 29th.
The diversion, libations, and comestibles will be present nearish to
schedule which associates The &Block Party to coincide with the rubyologist's
festival of analysis and engineering to take place in New Orleans on the
eve of Septembere. Our soirée commence on
%strong the first day of Thor coincident with Rubyconf,
29
%span.super<> th
of Septembre. The diversion, libations, and comestibles will be present latest
%strong half-past six,
and in lieu of a witching-hour close, we have arranged that festivities
will continue until all of our gentle guests choose to depart satisfied.

%h3.question Where?
#where-answer.answer
The Southern Soceitée of Conputational Libationists have carefully
The Southern Societé of Computational Libationists have carefully
prepared the map below as a navigation aide to assist your
post-congress quest for comestibles and potables. A massive effort has
ensured that a
%strong city block in its entirety
%strong city block, in its entirety,
will be free of the usual passers-by, auto-mobile vehicles, and other
distractions of attention, cleverly and simultaneously making the
festivities quite simple to locate.
#get-there-map

%h3.question What shall I bring?
#what-bring-answer.answer
Please, just bring yourself! The &Block Party's possibility is genarously created
Please, just bring yourself! The &Block Party's possibility is generously proffered
to you by a number of sponsors, and is completely free to attendees of
the Ruby congres
the rubyologists' congress.

%h3.question What are other fine gentlemen and ladies saying?
#other-opinions-answer.answer
The Suthern Societé of Computationla Libashunists has a stated poilcy
in our charter to encourage socailization and locutive intercourse!
Please, see what fine ladies and gentlemen are gossiping of the
goings-on, using this godforsaken Twitter thing that is just completely
destroying what it means to have a traditional discuorse.
The Southern Societé of Computational Libationists has a stated policy
in our founding members charter and bylaws to encourage socialization
and locutive intercourse! Please, see what fine ladies and gentlemen
are gossiping of the goings-on, using this godforsaken 'Twitter' enginery
that is savaging good and decent traditional discourse of gentlemen and
virtuous ladies.

#twitter-block
%script{ :src => "http://widgets.twimg.com/j/2/widget.js"}
Expand All @@ -128,7 +130,7 @@
search: 'ampblock',
interval: 30000,
title: 'Goings-on about the town',
subject: 'Whoos...Wh..what?',
subject: 'Refined Twitterings regarding The &Block Party',
width: 800,
height: 100,
theme: {
Expand All @@ -153,13 +155,3 @@
behavior: 'default'
}
}).render().start();
%h3.question Wooooooooooooooooooooooo!
#woo-answer.answer
The southern whatever is like, so fucking psyched to say: yeah, WOOOOO man! I love you guys!
%h3.question
Woa man i'm like, all tired and i just gotta go call my buds and be all
like DUDE YOU SHOULD BE DOWN HERE and I don't really know where I am or
whats going on and like, where am I, man?
#lost-answer.answer
dude TOTALLY. Homes back over here man just come like over here and stuff
#get-back-map
12 changes: 4 additions & 8 deletions views/stylesheet.scss
Expand Up @@ -92,11 +92,6 @@ body {
font-family: 'IM Fell French Canon', serif;
font-style: italic;
line-height: 33px;
.super {
vertical-align: super;
font-size: 50%;
line-height: 50%;
}
#dapper-left {
float: left;
padding-right: 40px;
Expand Down Expand Up @@ -153,8 +148,9 @@ body {
}
}
}

#lost-answer {
font-family: 'Comic Sans MS';
.super {
vertical-align: super;
font-size: 50%;
line-height: 50%;
}
}

0 comments on commit 74f9399

Please sign in to comment.