Skip to content

Instantly share code, notes, and snippets.

View kots-preflight.yaml
---
apiVersion: troubleshoot.sh/v1beta2
kind: Preflight
metadata:
name: settlemint
spec:
analyzers:
- clusterVersion:
outcomes:
- fail:
@roderik
roderik / keybase.md
Created January 9, 2021 20:54
keybase.md
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 ASC9nkZpcMl7mcpWU0m2T3_9ymHi0ySEJRkzExeqdZmjuQo

To claim this, I am signing this object:

View faster.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: faster
provisioner: kubernetes.io/gce-pd
parameters:
type: pd-ssd
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 November 26, 2015 10:16
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 October 7, 2013 10:48
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.