Category Archives: Brewing / Fermenting / Booze

Planning for a Cocktail night

I love making cocktails for my ladies, but for the occasional drink, now for a cocktail night.

See my other post about my cocktail bar in another post.

30th Juli I’m entertaining Arja, Coline and Monique by serving cocktails.

So i made a little list of cocktails to choose from.
I say choose, i could not have guessed i’d have to make them all!

One page of the cocktail list, with scorecards

So i made a little generator

Using a blank template png and a bash script i generated above.

#!/bin/bash
cp cocklist-leeg.png 1.png
xstart=450
ystart=300
xspace=30
yspace=40
# deze straks uitrekenen
nextitem=170
nextrow=550
ls drinks | sort -n  | grep -v totallist | while read drink; do
if [ $(echo $drink | cut -c-2 ) -gt 90 ] 
then 
	color="#ffcc00"  
else 
	color="#ff7406" 
fi
convert -font Impact.ttf -fill "$color" -pointsize 43 -annotate +$xstart+$ystart "$(echo $drink | cut -c3- )" 1.png 2.png
echo $drink
xstart2=$[$xstart + $xspace]
ystart2=$[$ystart + $yspace]
convert -font Trebuchet_MS_Bold_Italic.ttf -fill black -pointsize 30 -annotate +$xstart2+$ystart2 "$(cat "drinks/$drink")" 2.png 3.png
cp 3.png 1.png
echo -n "       "
echo $(cat "drinks/$drink")
lines=$[ $(cat "drinks/$drink"|wc -l) * 36 ]
lines=$[lines + 65]
ystart=$[$ystart + $lines]

if [ $ystart -gt 1900 ] ; then ystart=300 ; xstart=$[$xstart + $nextrow]
fi



done
cp 3.png cocktailist.png

Directory structure

makecock        # above script
Impact.ttf      # used font
Trebuchet_MS_Bold_Italic.ttf # used font
cocklist-leeg.png            # Empty template
drinks/01Alien (shooter)     # Drinks dir
drinks/07Half and half (Shooter)

Files in the drink directory have the short list of ingredients.

Blue curacau,
Whisky cream

Run the script and you end up with the above images. Have fun.

Empty template

Some drinks that evening:

I made a better cocktail bar after this adventure.
Well .. i gave three ladies an orgasm this night, not bad 🙂

I made a very bad playlist .. but I was even dancing the Macarena at 4am.

# some of the tunes LOL
01-george_ezra-budapest.mp3
01 - Nakatomi - Sing a Song.mp3
01 - Turn Down For What.flac
02.Sak Noel - Loca People - WTF.mp3
03 - Here Comes The Hotstepper.mp3
04_daft_punk-harder_better_faster_stronger-wax.mp3
[05] Mas Que Nada - Sergio Mendes and Brasil '66.mp3
084 - Tune Up! - Ravers Fantasy (Tibby Remix).mp3
09-pendulum_-_out_here-boss.mp3
15 - DJ Aligator - The Whistle Song (Blow My Whistle Baby).mp3
201) Shaggy - Boombastic [1995].mp3
All that she wants - Ace of Base.mp3
Anders Nilsen - Salsa Tequila.mp3
Aqua  Barbie girl.mp3
Bellini-_-samba_de_janero_club_mix.mp3
Benni Benassi - Satisfaction.mp3
Black Eyed Peas - My Humps.mp3
Bloodhound Gang - The Bad Touch - discoverychannel.mp3
Bloodhound Gang - Uhn Tiss Uhn Tiss Uhn Tiss.mp3
Blumchen - Heute Ist Mein Tag.mp3
Boom Boom Boom - Venga Boys.mp3
Café Del Mar.-.Volume 1.-.04.-.Penguin Cafe Orchestra  Music For A Found Harmonium.-.3astUpRoaR.mp3
Carrapicho - Tic Tic Tac.mp3
Colette - Think You Want It.mp3
Doop - Doop.MP3
Dreams.mp3
Eternal I wanna be the only one.MP3
Fire Burning - Sean Kingston.mp3
From Paris To Berlin.mp3
GANGNAM STYLE.MP3
Geen idee klinkt wel leuk.mp3
Hengelo-o-o.mp3
Hot Tamale.mp3
Iets met moonlight shadow.mp3
Ievan Polka
Jerry C - Canon Rock (backing track).wma
Kim Kay - Li La Li (From Videoclip).mp3
Kim Kay - Li la li la li.mp3
Kim Kay - Lilali.mp3
kp ft. young sam   hot tamale (a. eyvaz) - [MP3JUICES.COM].mp3
L.C.D. - Zorba's Dance.mp3
Lily Allen - Fuck You.mp3
Lloyd-Dedication_to_My_Ex_(Feat_Andre_3000__Lil_Wayne).mp3
[Los Del Rio] Macarena.mp3
LosUmbrellos_NoTengoDinero.mp3
Music For Cocktails Moments
Odorikuruu Mamboleo - Best AMV 2001.mp3
Polka power!.mp3
Populair met geinige beat
Professional widow (Remix) - Tori Amos.mp3
refugee camp-Avenues.mp3
Sail.mp3
Sander Hoogendoorn - Volvo IKEA (Official lyric video).mp3
Tamale.mp3
Tenacious D - Tribute.mp3
TOKYO GHETTO PUSSY - I KISS YOUR LIPS.MP3
V.A. - Q-Music - De Foute 111 (2011) DutchReleaseTeam
Ylvis - The Fox.mp3
YOLANDA BE COOL &  DCUP   WE NO SPEAK AMERICANO (Official Video).mp3

Staircase pictures

Maybe you also have a white area to fill, here is a suggestion.

For years we collected picture frames, weird and ugly.
We wanted to have a collection of images in our staircase, to fill the white area.
The images are all something we like, have interest in or are personal.

It needed to be on 3 walls, so here was my first design.

Around the corner picture frame i made

Beer crate bottle counter

Post in 2002 due to screenshot .. dont know when i build it, some years before.

Using 24 pushbuttons and a IO expander, i could count the bottles in a crate. Probably used something like a hef4067 ??

Now i probably use a weight sensor or a beer cap counter using a webcam image.

Notification to email and shopping list printer.

Web Interface

Every bottle had to be placed back upside down so the opening of the bottle would not press down on the button. Later i used springs which could hold a empty bottle elevated above the button. The weight of a full bottle would press on the button.

Web part Dopcounter (screenshot at top of page)

<HTML><HEAD><TITLE>dopDB.counter running @ fash's place</TITLE></HEAD><BODY bgcolor=white text=black>
<?
if ($show){
print "<a href='index.php'>Show Last</a>";
}
else {
print "<a href='?show=1'>Show All</a>";
}
?>
<CENTER>
<?
$db = mysql_connect("localhost", "user", "pass");
mysql_select_db("dopDB",$db);
// store voor bargraph
$store=0;
$result2 = mysql_query("SELECT max(timestamp) FROM counter",$db);
$maxtimestamp = mysql_fetch_array($result2);
$result = mysql_query("SELECT * FROM counter",$db);
while ($myrow = mysql_fetch_array($result)) {
$lenght=strlen($myrow[1]);
if ( $lenght = 24)
{
if ($maxtimestamp[0] == $myrow[0] || $show)
 {
 $row1= substr("$myrow[1]", 0, 6);
 $row2= substr("$myrow[1]", 6, 6);
 $row3= substr("$myrow[1]", 12, 6);
 $row4= substr("$myrow[1]", 18, 6);
 $row1 = str_replace("1","<td><img src='dop.jpg'></td>",$row1);
 $row1 = str_replace("0","<td><img src='dopl.jpg'></td>",$row1);
 $row2 = str_replace("1","<td><img src='dop.jpg'></td>",$row2);
 $row2 = str_replace("0","<td><img src='dopl.jpg'></td>",$row2);
 $row3 = str_replace("1","<td><img src='dop.jpg'></td>",$row3);
 $row3 = str_replace("0","<td><img src='dopl.jpg'></td>",$row3);
 $row4 = str_replace("1","<td><img src='dop.jpg'></td>",$row4);
 $row4 = str_replace("0","<td><img src='dopl.jpg'></td>",$row4);
 print "<TABLE border=15 bgcolor='#aaaaaa'><TR>";
 print $row1;
 print "</tr><tr>";
 print $row2;
 print "</tr><tr>";
 print $row3;
 print "</tr><tr>";
 print $row4;
 print "</tr><table>";
 }
$dopcounter=str_replace("0","",$myrow[1]);
$totaldop=strlen($dopcounter);
if ($maxtimestamp[0] == $myrow[0] || $show)
 {
print "<P>";
print date('l dS of F Y H:i:s',$myrow[0]); 
print "<BR><H1>$totaldop bottles left</H1>";
 }
$store = $store + 1;
$storetotals[$store]=$totaldop;
if ($totaldop < 6 && $maxtimestamp[0] == $myrow[0])
 {
 print "<BR>Time to buy some beer again!<BR>";
 }
}
else
{
print "numba bottles error! check code!";
}
}
?>

<table border=0>
<tr>
<?
$storebck=$store;
if ($storebck > 50){ $store=$storebck-50; } else { $store=0; }
while ($store <= $storebck){
print "<td bgcolor=#efefff width=10 valign='bottom'>";
$double=$storetotals[$store]*2;
print "<img src='bar1.gif' width=15 height=$double></td>";
$store = $store +1;
}
?>
</tr>
<tr>
<?
if ($storebck > 50){ $store=$storebck-50; } else { $store=0; }
while ($store <= $storebck){
print "<td bgcolor=#efefff width=10 valign='bottom'>";
print "$storetotals[$store]</td>";
$store = $store +1;
}
?>
</tr>
</table>
</BODY></HTML>