Skip to content

Instantly share code, notes, and snippets.

View recommendations.md

Groceries

REWE

Invalidenstraße 158
7:00 - 23:00, closed Sunday

denn’s Biomarkt

Gesundbrunnen Station (two stops north on the U8)
8:00 - 21:00, including Sunday
It’s all organic, so it’s a bit expensive

View gist:7ef4ac1aedcb047918cd
Hello!
The available spaces this month filled up very quickly, so we started a waiting list.
If you can't attend after all, please cancel your registration. Follow the the link below:
https://www.eventbrite.com/mytickets/
If you can't figure out how to cancel your ticket, or you are so busy you have no time to do it, please email us and we'll cancel it for you.
Thank you!
View gist:8237888

The next CoderDojo Berlin will be Saturday, January 18, from 14:00-17:00 at the SoundCloud HQ, Greifswalder Str 212. If you plan to attend and have not yet registered, please do so by following this link (so I have a head count):

http://www.eventbrite.com/e/coderdojo-berlin-january-registration-9501757011

If you want to tell friends about our club, you can use this link:
https://bitly.com/coderdojoberlin

If you want to print flyers to distribute or post, here is one:
https://github.com/theophani/coderdojoberlin/raw/master/flyers/CoderDojoFlyer-2014-01-18.pdf

View gist:7910461

I found these tutorials the have exercises on the most common DOM methods, and have some exercises with Events and Ajax:

http://dom-tutorials.appspot.com/static/index.html

(The exercises at the end of each seem time-intensive to me. I recommend skipping them on the first pass, and if you want to, go back and to them later.)

I am happy to help when you have any questions.

Nerdy stuff about the DOM that you don't strictly need to know can be found in this article:

View gist:6520877
West Queen West
Nice street for walking. Arty furniture shops etc.
All close to each other:
Chippy's (fresh fish and chips)
Dufflet Cake (best cakes and tartlets anywhere I've EVER had. Recommend taking it to go since the coffee sucks)
Trinity Bellwoods Park
The Paper Place (nerd out about Japanese papers)
Type Books (http://www.typebooks.ca/)
Poutini's House of Poutine (never been cuz it's new).
View db-config.php
<?php
if (function_exists('mysql_set_charset') === false) {
/**
* Sets the client character set.
*
* Note: This function requires MySQL 5.0.7 or later.
*
* @see http://www.php.net/mysql-set-charset
* @param string $charset A valid character set name
* @param resource $link_identifier The MySQL connection
View gist:5291080
$ heroku addons:add cleardb:scream
----> Adding cleardb:scream to tiffanys-project...
This action will cause your account to be billed at the end of the month
For more information, see http://devcenter.heroku.com/articles/billing
Are you sure you want to do this? (y/n)
@theophani
theophani / gin-menu.md
Last active Dec 14, 2015
gin menu from gin.js 2012
View gin-menu.md

Tiffany’s Twelve

Enjoy a tasting selection, and ask our delightful server to concoct a cocktail with your favourite.

##Monkey 47 ###Schwarzwald, Germany 47 botanicals from Germany, England and India. International gold price winning gin. Subtle yet complex in a gorgeous bottle.

##The Botanist ###Islay, Scotland Made by Bruichladdich Scotch whisky distillery. 22 of the 31 botanicals are hand collected from the wild by two local botanists.

View gist:5037681

The Limits of Context

When to use Ajax and when to reload

In modern web application design and development, as we strive for greater control of the user's experience, we rely heavily on Ajax to control the interactions, transitions and feedback. We do this to maintain context for the user during their interactions. As designers, we need to be able to clearly see and communicate which contexts exist, so that developers can make decisions about how to keep and switch contexts.

Since this talk requires some basic understand of Ajax, I’ll begin defining Ajax and explaining how the technique is used in web development to create app-like experiences.

Come see this talk tonight, Tuesday Feb 26, 19:30, @co_up
http://www.meetup.com/opentechschool-berlin/events/104646232/

View index.html
Drag this to your bookmark bar: <a href='javascript: (function () {
var pid;
var p_url;
var S = require("models/sound");
var playlists = require("models/playlist").instances._store;
for (p in playlists) {
p_url = playlists[p].attributes.permalink_url.split("/")[5];
if (p_url == window.location.pathname.split("/")[3]) {
pid = p;