Skip to content

Instantly share code, notes, and snippets.

Arthur Clemens ArthurClemens

Block or report user

Report or block ArthurClemens

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
@ArthurClemens
ArthurClemens / flems.js
Created Jul 29, 2019
Mithril keys: Flems URL: copy paste url into browser
View flems.js
https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcJYFczwPYFsBaAC11wGsxCAnZTWCagOgCswQAaEAMwEsZ2qANqgAdgEN8ENCCbF4+KJwy5RiNTIA8SXgDcABLyQBeADohxAB0vmAfJoD0O3beWQYCXqsEgADKgBGACYQAF8OMUlpdCwcAhIySho6BmY2ZVhVdXgZXnxLXGp4fWB9WHEcDn1sCABleHFEKpqAUW5uOHhmyAAlCG5uiD6kekYq4irxKoBzCHg+7n1Q-W5qAn1zJgdYAE9xUVxCfF54Ymp+cwBuU1EbzNEcasgAYVxMNUZ9Y30ACgBKL62Eo3fT6BwOfQAQTK2Dw+H0pAo+lOjSeEDA+n2uFOn1icIRiSYILK3mKsFojQgADkIAB3V7vRDUL6-AHGIE-YDE0FGVD6UR0-QAEUp-yYs3gABU8hB-hxuYZRCdeOIoAy1HyALKNYhMNbvJA-bWnPX7JAEf76ABU+gCvj+xNCf2uolB90efGoOHVTJZ5IglJp9LeH2o-xdbtJ+iEmUZjDAkyQSB9Y30tHwuF0EBT1AAuiyapDqNRxDsfkJPd6Q0zc87ibR4JhqK6hArY6GEwrLezMUmcz9-YG6f2-n95a7QWmIBms4CpzPs9XGD905mIA6J7mXaEXXco4Xi6WWT9eEr4CqoAA1VWYCAsoS1udcifu4pCcTFqqQeBFvMFyD1KKp7Kqq15QLeG6gg2TYtgqH7UOOk69kgc7fr+PzwUw9zlPAGFJqOiGTqus49mhxYYcWTB8FATInog8I9ic076AAhMY3zEeukH6FuNw7jce4PGSS7UMMozMt8Pw4JSkyeKobJAs+oJgLSJywMQvziHJohMPAOyWOuwITm6FR3uYp7+lIajmKgCpQXMMElCSjJ8tJiBYdW+gANS2ksEaTuUkAbCASBwOmEDWWgdlTo2zZOe28CuQ07kJfohC+fxxn6KF3DiJgNG2VloKnGstL8oKLTFoUPzmAAqqIxBmjAKFaeeqi2ZwmLa
@ArthurClemens
ArthurClemens / Spinaziesalade.md
Last active Jul 9, 2019
# Spinaziesalade met hibiscusdressing (of met cranberries)
View Spinaziesalade.md

Spinaziesalade met hibiscusdressing (of met cranberries)

Dit recept komt uit een Mexicaans kookboek, maar ik betwijfel of het authentiek Mexicaans is. Maar de smaak maakt alles goed. De combinatie van zure hibiscus (of cranberries) geeft een fijn contrast met de spinazie.

Gedroogde hibiscusbloemen kun je kopen als thee, bijvoorbeeld bij bol.com. Zelf had ik maar 20 gram en heb de rest aangevuld met cranberries. Ik denk dat elke combinatie (of 1 van beide) mogelijk is.

Ingrediënten

  • verse spinazie en eventueel rucola, samen ongeveer 400g
View gist:1f43faad696592639149c61902fd9721
https://flems.io/#0=N4IgtglgJlA2CmIBcBWATAOgOwEYA0IAzgMYBOA9rLMgNoAMedAugQGYQKG2gB2AhmERIQGABYAXMNQLFyPcfHnIQAHlgQeAawAEpeLAC8AHSLiAnp1Hx44k9tF7WxkBPEAHQkgD0XgK6F4DFY5cT4Ad3hCckEMWTAvPQQ+AMIvADcUbAw0L2JCVL4qWPy7DQUAc1IIc2dCUT4AZgAOABYAWlYeMAB5AGEARwAjABVYAHUASVgAKyaAGTNh6fIsHoBVAGVxacIAaV6Wt263AEVB-rMILAAlUlEAOSxfKAgATmuw0V3NAFkACTcaTmgz+AHFXhtSHYyOR8uQquUNM4+Dw5GYwOR-CYAHxGHh4lQvNLaaDOCjkWwgbEqLxE3E8EAEAIIYjiCByLjCHBIOggAC+eF4AiELnI5E0vjcGB2jJAsnkinEygAhKxfDxWeyeAAKHh4cQASmAJnIg2m8FZJgMBnMbng5FY2ngAA83PDxIQAGSekzqqDwdg8eBQEzKm1mO0O7QYqC+BAAfnE2pdbtIHrwen6vggem1Jkg4gcHBM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z0nd7xhHk+iOyMwvIudzig-v8AIofAAHYAEphGUDEwJTZQ1WIaNwyzHM8wLGBiwIMsYArNtEgKSFYBrSll1Xdc7y3Z8YHfMczzAC8JRXa8yM3PtUjSQdaG8YdRxAGiwERECABZBPoq8m2bdoRDSbcuSoni+LoygSKYiSmWk-t2KHNhqOoOdEURAA2ZFRO4MB6C3OAIAALxgGTdzk5FESgmDlA9aFdE6KtIXof0ADUTXjYQ1E4OxuE4OVLPoIRBGERF8CcmKQF4AQYuEPUtAwZsEuEbgDzIYJotmYUtAWGwyvwGw4XwNc7FkZEAAZGv+ELUqSvKoGCRADzbN
@ArthurClemens
ArthurClemens / multipart-upload.erl
Created Sep 17, 2016
Erlang: upload data using multipart/form-data
View multipart-upload.erl
%% Usage:
%% upload_request(<<"site.com/api/upload">>, <<"path/to/file.png">>, <<"upload">>, <<"image/png">>, [], <<"some-token">>)
%%
%% Usage with RequestData:
%% Payload = [{upload_type, <<"user_picture">>}],
%% PayloadContent = jsx:encode(Payload),
%% RequestData = [
%% {<<"payload">>, PayloadContent}
%% ]
%% upload_request(<<"site.com/api/upload">>, <<"path/to/file.png">>, <<"upload">>, <<"image/png">>, RequestData, <<"some-token">>)
@ArthurClemens
ArthurClemens / bundle.js
Created May 12, 2016
React JS hello world
View bundle.js
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, stati
View action-creators.es6.js
// app/redux/action-creators.es6.js
import {SET_ROUTE} from 'app/redux/action-types';
export const setRoute = (route) => {
return {
type: SET_ROUTE,
route
};
};
@ArthurClemens
ArthurClemens / github-repos.es6.js
Created Sep 23, 2015
Example of mithril-infinite and retrieving json data from a server
View github-repos.es6.js
'use strict';
import m from 'mithril';
import infinite from 'mithril-infinite';
const item = (data) => {
return m('.item',
{
style: {
background: '#eee',
You can’t perform that action at this time.