Skip to content

Instantly share code, notes, and snippets.

Peter Peerdeman peterpeerdeman

Block or report user

Report or block peterpeerdeman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am peterpeerdeman on github.
  • I am peterpeerdeman (https://keybase.io/peterpeerdeman) on keybase.
  • I have a public key whose fingerprint is 172D 04E0 DC3B C35C 636D 95A9 5768 ECC7 959B 1C55

To claim this, I am signing this object:

@peterpeerdeman
peterpeerdeman / APPLE-PUSH-NOTIFICATIONS-CERTIFICATES.md
Created Jun 8, 2016
Quick Apple Push Notification Certificates Guide
View APPLE-PUSH-NOTIFICATIONS-CERTIFICATES.md
View gist:0e41ca7621dd3328f642
{
"_id" : "wB9QZAFYacyoRiH5g",
"createdAt" : ISODate("2015-06-26T07:35:15.993Z"),
"services" : {
"password" : {
"bcrypt" : "xx"
},
"resume" : {
"loginTokens" : [
View gist:5747096
// AOW age calculated through http://www.rijksoverheid.nl/onderwerpen/algemene-ouderdomswet-aow/vraag-en-antwoord/wanneer-krijg-ik-aow.html
function calculateAOWDate(birthdate) {
if(!birthdate) {
throw 'birthdate parameter not defined';
}
if(birthdate < new Date('1 january 1948')) {
// voor 1 januari 1948 -> 65
birthdate.setFullYear(birthdate.getFullYear()+65);
return birthdate;
} else if (birthdate > new Date('31 december 1947') &&
You can’t perform that action at this time.