Skip to content

Instantly share code, notes, and snippets.


Freek Dijkstra macfreek

View GitHub Profile
macfreek / README
Last active Jan 21, 2017 — forked from T4erg/README
Export Mac OS X keychain to CSV
These two files should help you to export passwords from a Mac OS X keychain for import into 1password.
1) You have some experience with scripting/are a power-user. These scripts worked for me
but they haven't been extensively tested and if they don't work, you're on your own!
Please read this whole document before starting this process. If any of it seems
incomprehensible/frightening/over your head please do not use these scripts. You will
probably do something Very Bad and I wouldn't want that.
2) You have ruby 1.9.2 installed on your machine. This comes as standard with Lion, previous
versions of OS X may have earlier versions of ruby, which *may* work, but then again, they
macfreek /
Last active Aug 29, 2015
Test C++ open() of a file or directory
// Test how open() or ifstream() behave when reading a directory, file or stream.
// Written 2015 by Freek Dijkstra
// Contributed to public domain
// See
#include <iostream>
#include <fstream>
#include <cerrno>
#include <cstring>
macfreek /
Created Jul 8, 2014
Keybase certification

Keybase proof

I hereby claim:

  • I am macfreek on github.
  • I am macfreek ( on keybase.
  • I have a public key whose fingerprint is 1062 DBF1 AFBE 51B6 A293 F7BA 5F14 E385 D0EE 5BEA

To claim this, I am signing this object: