Skip to content

Instantly share code, notes, and snippets.

➜ vagrant-box vagrant ssh
/Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/virtualbox-0.7.3/lib/virtualbox/abstract_model/version_matcher.rb:9:in `assert_version_match': Required version: 3.2; Current: (VirtualBox::Exceptions::UnsupportedVersionException)
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/virtualbox-0.7.3/lib/virtualbox/abstract_model/relatable.rb:189:in `read_relationship'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/virtualbox-0.7.3/lib/virtualbox/abstract_model/relatable.rb:146:in `nat_driver'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/vagrant-0.4.1/lib/vagrant/ssh.rb:143:in `port'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/vagrant-0.4.1/lib/vagrant/ssh.rb:142:in `each'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/vagrant-0.4.1/lib/vagrant/ssh.rb:142:in `port'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/vagrant-0.4.1/lib/vagrant/ssh.rb:38:in `connect'
from /Users/dylanegan/.rvm/gems/ruby-1.8.7-p248/gems/vagrant-0.4.1/lib/vagrant/comma
Mary is the proprietor of a bar in Dublin. She realises that virtually all of her customers are unemployed alcoholics and, as such, can no longer afford to patronise her bar. To solve this problem, she comes up with a new marketing plan that allows her customers to drink now, but pay later. She keeps track of the drinks consumed on a ledger (thereby granting the customers loans).
Word gets around about Mary's "drink now, pay later" marketing strategy and, as a result, increasing numbers of customers flood into Mary's bar. Soon she has the largest sales volume for any bar in Dublin.
By providing her customers freedom from immediate payment demands, Mary gets no resistance when, at regular intervals, she substantially increases her prices for wine and beer, the most consumed beverages. Consequently, Mary's gross sales volume increases massively. A young and dynamic vice-president at the local bank recognises that these customer debts constitute valuable future assets and increases Mary's borrowing limit. He
<add key="sqlSource" value="
SELECT TOP REPLACE_NUMBER_OF_ROWS_TO_RETRIEVE
History.handle AS ID_FAX_LOG,
CASE isnumeric(SUBSTRING (Notes_Doc.Text ,1,8))
WHEN 1 then SUBSTRING (Notes_Doc.Text ,1,8)
ELSE NULL END AS ID_STAGE,
DocumentUsers.UserName AS NM_DOCUMENTUSER_USERNAME,
DocumentUsers.UserID AS TXT_DOCUMENTUSER_USERID,
DocumentUserGroups.GroupID AS TXT_DOCUMENTUSERGROUP_GROUPID,
Documents.UniqueID AS TXT_DOCUMENTS_UNIQUE_ID,
var displayPlaceKittenImages = true;
if (displayPlaceKittenImages) {
Campfire.PlaceKittenExpander = Class.create({
initialize: function(chat) {
this.chat = chat;
var messages = this.chat.transcript.messages;
for (var i = 0; i < messages.length; i++) {
this.detectPlaceKittenURL(messages[i]);
}
@dylanegan
dylanegan / caveatPatchor.js
Created March 17, 2011 00:46
The Final Countdown, Gob and all that shawesomeness.
var theFinalCountdown = true;
if (theFinalCountdown) {
Campfire.TheFinalCountdown = Class.create({
initialize: function(chat) {
this.chat = chat;
this.id = 1;
this.images = ["http://26.media.tumblr.com/tumblr_li5rrfudu21qz64oio1_500.jpg", "http://images2.fanpop.com/images/photos/3600000/GOB-Animated-gif-arrested-development-3695155-284-152.gif"];
this.track = "http://dylanegan.com/etfc.mp3";
this.prefix = "etfc_";
@dylanegan
dylanegan / Friday
Created March 20, 2011 19:36
caveatPatchor.js
var rebeccaBlack = true;
if (rebeccaBlack) {
Campfire.RebeccaBlack = Class.create({
initialize: function(chat) {
this.chat = chat;
var messages = this.chat.transcript.messages;
for (var i = 0; i < messages.length; i++) {
this.friday(messages[i]);
}
@dylanegan
dylanegan / Tendercrawl.md
Created June 17, 2011 17:13
Tenderloin bar crawl
@dylanegan
dylanegan / Questions
Created August 9, 2011 18:24
Frozen Rails Give-away
Day job: I am a Merman at Heroku.
Your Rails contributions (if any): I used it, I swear.
What's your Ruby/Rail experience?: I know that the green car in a Nozomi is a really pimping way to travel when going by rail.
How do you use GitHub?: I drink it. The cider edition is plenty well 'ard.
@dylanegan
dylanegan / gist:1153027
Created August 18, 2011 00:47
Douchecrawl: Not of the Sanitary Kind
@dylanegan
dylanegan / Tendercrawl.2.md
Created August 23, 2011 23:40
Tendercrawl: I came for the crack, but stayed for the cocktails.