Skip to content

Instantly share code, notes, and snippets.

marijn / README.markdown
Created Nov 26, 2021
Replace numeric input element with select element on mobile devices
View README.markdown

Something I wrote years ago but might still be useful. A simple script to replace numeric input elements with their equivalent select element to ease input on touch based devices.

marijn / Placefill.js
Created Oct 27, 2017
Bookmarklet for filling out forms with placeholder data
View Placefill.js
marijn / README.markdown
Created Oct 7, 2016
Sendgrid API response
View README.markdown

Response 😭

Server: nginx
Date: Fri, 07 Oct 2016 11:34:45 GMT
Content-Type: application/json
Content-Length: 235
Connection: keep-alive
marijn / README.markdown
Last active Jun 28, 2016
Attempt to build a projection of arriving guests based on the events from the Projections Explained workshop.
View README.markdown
View cache-assets.sql
'bin/ams-gateway ams:cache-asset ',
' ',
) AS command
FROM ams_gateway_asset
ORDER BY asset
LIMIT 0, 100
View gist:c363b85a146ede74519e
export PATH="$(brew --prefix josegonzalez/php/php55)/bin:$PATH"
marijn / NOTES.markdown
Last active Jan 2, 2016
Notes I took while reading Priming Kanban by Jesper Boeg.
View NOTES.markdown

These are some thoughts on Kanban after reading [Priming Kanban][1].

Most important thing to remember:

#Kanban is a change method!#

Methodology Kind of process Change adoption
Plan Methodology Too much proces Resist change
Agile Just enough process Change is the fuel that keeps the engine running
View php54-qrcode.rb
require File.join(File.dirname(__FILE__), 'abstract-php-extension')
class Php54Qrcode < AbstractPhp54Extension
homepage ''
url ''
sha1 '8a8301eac1be7d573ef57efdc83b3e48e93b99f3'
version '0.1.0'
depends_on 'php54'
marijn / SecurityGuard.php
Last active Dec 15, 2015
Alternative to the default SecurityContextInterface implementation from Symfony
View SecurityGuard.php
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\SecurityContextInterface;
final class SecurityGuard implements SecurityContextInterface
private $nativeSecurityContext;
public function __construct(SecurityContextInterface $nativeSecurityContext)
marijn / SomeController.php
Created Mar 5, 2013
Symfony2 array based forms are not taking constraints into account...
View SomeController.php
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Validator\Constraints\Length;
final class SomeController extends Controller
* @return \Symfony\Component\Form\Form