Was Ole da für 🌟 Eventspaß ✨ hat! Vielleicht forkt er das hier ja um es uns zu erzählen 👍
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Rails 3 - Quick install via CURL | |
# This will not install using Gem; can update via git-pull | |
# curl -L# http://gist.github.com/279171.txt | sh | |
# Tested on OSX and Ubuntu/Debian | |
# -- Bryan Goines | |
git clone git://github.com/rails/rails.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global Handlebars */ | |
// "jsonp!/user/123?callback=?", "text!/user.mustache" | |
var userData = { | |
name: "Thorben" | |
}; | |
//var userData = Model.new({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load 'q7.rb' | |
Q7.load_area 'world/home.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def inject_this_as_reference(block, this_object) | |
block.binding.eval("lambda {|v| @this = v}").call(this_object) | |
end | |
def inject_this_as_method(block, this_object) | |
block.binding.eval('self.singleton_class').send(:define_method, :this) {this_object} | |
end | |
fn = lambda { "this is #{@this}"} | |
inject_this_as_reference fn, "Radical!" #=> This is Radical! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Spiegel Online Video Smasher | |
// @match http://www.spiegel.de/* | |
// @version 1.0 | |
// ==/UserScript== | |
// From http://stackoverflow.com/questions/2588513 | |
var load,execute,loadAndExecute;load=function(a,b,c){var d;d=document.createElement("script"),d.setAttribute("src",a),b!=null&&d.addEventListener("load",b),c!=null&&d.addEventListener("error",c),document.body.appendChild(d);return d},execute=function(a){var b,c;typeof a=="function"?b="("+a+")();":b=a,c=document.createElement("script"),c.textContent=b,document.body.appendChild(c);return c},loadAndExecute=function(a,b){return load(a,function(){return execute(b)})}; | |
// Run the script within the original window to have access to jQuery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test "writing blog posts" do | |
testing {User.new} | |
helpers do | |
def write_post | |
subject.posts.new(title: …) | |
end | |
end | |
# describing certain expected behaviours that… |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WTF | |
attr_reader :color | |
def initialize | |
@color = 'red' | |
end | |
def color_with_self | |
color = self.color | |
color |
Out of pure luck we found out that there is a coupon deal going on for the exact hotel where we will host all our speakers during the conference. We will announce our rates with them later but if you are quick you can grab a deal which saves you even more money!
You can buy a coupon for 2 nights in a double bed room in that hotel here for 110€.
Use that to book your stay from the 18th to the 20th. Another night from the 20th till the 21st then is just around 70€ as their rates over the weekend are much lower as during the week.
OlderNewer