Skip to content

Instantly share code, notes, and snippets.

var url = [CPURL URLWithString:@"http://localhost:3000/bewoners.json"];
var request = [CPURLRequest requestWithURL:url];
var connection = [CPURLConnection connectionWithRequest:request delegate:self];
--
OPTIONS /bewoners.json HTTP/1.1
Host: localhost:3000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; nl; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
nl:
errors:
messages:
not_found: "niet gevonden"
already_confirmed: "is reeds bevestigd"
not_locked: "is niet gesloten"
devise:
failure:
unauthenticated: 'Je dient in te loggen of je in te schrijven.'
@pepijn
pepijn / rails_admin.nl.yml
Created November 18, 2012 09:21 — forked from DRiKE/rails_admin.nl.yml
Dutch translation for RailsAdmin
# Localization file for Dutch.
# Translated from the English locale by Luuk Hendriks (DRiKE on github), used the date and datetime
# from https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/nl.yml
# credits for those sections to Ariejan de Vroom and Floris Huetink
nl:
admin:
home:
name: Home
pagination:
words = {
good: "france",
bad: "french"
}
pairs = {
good: [],
bad: []
}
#!/bin/bash
set -x
HOST=https://www.ticketswap.nl
FISSA="$1" # Example: /53148/de-beste-singer-songwriter-van-nederland
while :
do
date
URI=$(curl -s "$HOST$FISSA" \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36' \
@pepijn
pepijn / keybase.md
Last active August 29, 2015 14:05
Keybase

Keybase proof

I hereby claim:

  • I am pepijn on github.
  • I am pepijnl (https://keybase.io/pepijnl) on keybase.
  • I have a public key whose fingerprint is 42D2 9AE4 C19D 429F 3458 8A15 8D1E 8B08 E344 3250

To claim this, I am signing this object:

@pepijn
pepijn / api.stuurperpost.nl
Last active August 29, 2015 14:07
StuurPerPost API examples
ENVELOPES(1) StuurPerPost.nl API Manual ENVELOPES(1)
NAME
POST /v1/envelopes -- Send a PDF file to an address in The Netherlands
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pepijn
pepijn / log.feature
Last active September 15, 2015 09:24
| <2015-07-10 Fri> | Mirusha Waterfalls, Kosovo | |
| <2015-07-10 Fri> | Prishtina, Kosovo | |
| <2015-07-11 Sat> | Kumanovo, Macedonia | Dodging borders |
| <2015-07-11 Sat> | Interflat Hostel & Apartments, Podmaniczky u. 27, Budapest | |
| <2015-07-14 Tue> | Hostel Marabou, Koněvova 738/55, Prague | |
| <2015-07-15 Wed> | Hostel & Garten Eden, Leipzig | |
| <2015-07-16 Thu> | Ferropolis | Melt! Festival |