Skip to content

Instantly share code, notes, and snippets.

View foeken's full-sized avatar

Andre Foeken foeken

  • Nedap
  • Groenlo, The Netherlands
View GitHub Profile
@foeken
foeken / gist:2875479
Created June 5, 2012 14:54
Falen Byte.nl
Beste,
Jammergenoeg is de wet van Dam in 2011 in werking getreden die consumenten beschermt hiertegen. Bij een opzegging van een dienst is een maandelijkse opzegtermijn verplicht. Bij opzeggen dient het openstaande gefactureerde bedrag terug te worden betaald. Aangezien het hier gaat over een stilzwijgende verlenging na 2011 is de wet van toepassing. Er is zelfs jurisprudentie over hosting bedrijven en domeinaanvragen.
Dus nogmaals vraag ik u te voldoen aan de wet en de openstaande factuur te crediteren.
http://www.opzeggen.nl/wet-van-dam
BRON: http://ictrecht.nl/contracten-en-algemene-voorwaarden/veelgestelde-vragen-over-de-wet-van-dam/
##Geldt de Wet Van Dam ook voor hosting en domeinnamen?
Raphael.fn.drawGrid = function (x, y, w, h, wv, hv, color) {
color = color || "#000";
var path = ["M", Math.round(x) + .5, Math.round(y) + .5, "L", Math.round(x + w) + .5, Math.round(y) + .5, Math.round(x + w) + .5, Math.round(y + h) + .5, Math.round(x) + .5, Math.round(y + h) + .5, Math.round(x) + .5, Math.round(y) + .5],
rowHeight = h / hv,
columnWidth = w / wv;
for (var i = 1; i < hv; i++) {
//path = path.concat(["M", Math.round(x) + .5, Math.round(y + i * rowHeight) + .5, "H", Math.round(x + w) + .5]);
}
for (i = 1; i < wv; i++) {
//path = path.concat(["M", Math.round(x + i * columnWidth) + .5, Math.round(y) + .5, "V", Math.round(y + h)]);
@foeken
foeken / bodyparts.rb
Created January 9, 2011 17:48
Code for Caren's auto responder and signature cutoff rules. Based on BodyParts
require 'mail'
require 'tmail'
class BodyParts
def self.rules
[
# Dutch signatures
{ :server => 'Signature #1', :reply_delimiter => /^\r\nMet vriendelijke groet./m },
{ :server => 'Signature #2', :reply_delimiter => /^\r\nGroet./m },
{ :server => 'Signature #3', :reply_delimiter => /^\r\nmvg./m },
Feature: Accessing the people api
As an API client
In order to do things with people
I want to access the people api
Background:
Given a client application named "Ons Medewerkersportaal"
And "Ons Medewerkersportaal" is allowed to use xAuth
And an account "Andre" with email "[email protected]"
And an account "Ria" with email "[email protected]"
@foeken
foeken / simple_mock.rb
Created September 3, 2008 06:56
Simple Net::Http Mock
class Net::HTTP < Net::Protocol
def connect
end
end
class Net::HTTPResponse
def body=(content)
@body = content
@read = true
end