Skip to content

Instantly share code, notes, and snippets.

🤦‍♂
Hard at work

Roderik van der Veer roderik

🤦‍♂
Hard at work
Block or report user

Report or block roderik

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 gist:5ebc445431eb4bb58d2770ca1de10ee1
pragma solidity ^0.4.25;
// File: @settlemint/solidity-mint/contracts/authentication/interfaces/IRoleRegistry.sol
/**
* Copyright (C) SettleMint NV - All Rights Reserved
*
* Use of this file is strictly prohibited without an active license agreement.
* Distribution of this file, via any medium, is strictly prohibited.
*
* For license inquiries, contact hello@settlemint.com
*/
View gist:c75e95749df85961c105a2d725fd788e
pragma solidity ^0.4.15;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted() {
require(msg.sender == owner);
_;
@roderik
roderik / app_name.rb
Created Nov 26, 2015
Fastlane actions mentioned in the Kunstmaan Labs blogpost "iOS continuous delivery with Jenkins and Fastlane" found at https://labs.kunstmaan.be/blog/ios-continuous-delivery-with-jenkins-and-fastlane
View app_name.rb
module Fastlane
module Actions
class AppNameAction < Action
def self.run(params)
require 'plist'
identifier_key = 'CFBundleDisplayName'
folder = Dir['*.xcodeproj'].first
info_plist_path = params[:plist_path]
raise "Couldn't find info plist file at path '#{params[:plist_path]}'".red unless File.exist?(info_plist_path)
plist = Plist.parse_xml(info_plist_path)
View comment.md

Hey Dan,

glad you like the Kunstmaan Bundles CMS! We put a lot of hard work in it and are always glad if people discover and use it. If your website goes online, please submit it for the showcase gallery.

Now in regards to the translations on page level you mentioned, this was actually an explicit design decision. We've been building loads of sites in a multilingual environment (NL/FR/DE/EN are the most common but recently we also launced a chinese translation for a site) and more often than not does the content of a page (apart from the literal translation) differs between languages. The message is often targetted differently to different languages.

It's a lot easier to do this with page level translations than pagepart level translations. It also makes it possible to do user-understandable versioning, what page with what content was online at that point in time.

As you mentioned you can indeed solve a lot by just creating custom pageparts. Apart from this we al

View keybase.md

Keybase proof

I hereby claim:

  • I am roderik on github.
  • I am roderik (https://keybase.io/roderik) on keybase.
  • I have a public key whose fingerprint is 6F1C 1158 93DE B2B0 959F 59F7 4438 A59D 92FF DA38

To claim this, I am signing this object:

View import.php
$contact = $dm->createQueryBuilder('KunstmaanPeerPressureDMBundle:Contact')
->field('address')->equals($row[2])
->field('zipcode')->equals((string)$row[3])
->getQuery()
->getSingleResult();
if (!$contact) {
$contact = new Contact();
$contact->setLastname($row[1]);
$contact->setAddress($row[2]);
$contact->setZipcode($row[3]);
@roderik
roderik / CMakeCache
Created Oct 7, 2013
Terminal session without settings
View CMakeCache
I forgot to get this one, but please look at https://gist.github.com/roderik/6865926 since the error is the same, i figure the cache is as well.
@roderik
roderik / CMakeCache
Created Oct 7, 2013
Terminal session with settings
View CMakeCache
Roderiks-Mac:kitchenplan roderik$ cat ~/Library/Logs/Homebrew/mysql/CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /tmp/mysql-etbP/mysql-5.6.13
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.11.2/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
@roderik
roderik / gist:6865795
Created Oct 7, 2013
brew --config, terminal with settings
View gist:6865795
[12:28:03][roderik@Sinope /opt/kitchenplan](feature/mavericksGM *)$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f40af36f909a1ab0a6c409254f5944fe477392ae
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
LLVM-GCC: N/A
@roderik
roderik / gist:6865783
Created Oct 7, 2013
brew --config, clean terminal
View gist:6865783
Roderiks-Mac:kitchenplan roderik$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f40af36f909a1ab0a6c409254f5944fe477392ae
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
LLVM-GCC: N/A
You can’t perform that action at this time.