Skip to content

Instantly share code, notes, and snippets.

@devuo
devuo / table-data.ts
Last active February 11, 2019 14:00
Table Data
interface Data {
clients: {
clientId: number,
errorConfigurations: {
userGroup: {
id: string
},
error: {
message: string
}
@devuo
devuo / Grapher.php
Created August 25, 2016 09:51
grapher.php
<?php
/**
* Grapher is an helper class to navigate over an array
*/
class Grapher {
protected $data;
/**
@devuo
devuo / gist:7145604
Created October 24, 2013 21:45
Tree Equalizer
<?php
$tree = array(
'a' => array(
'title' => 'The Big A',
'children' => array(
'a1' => array(
'title' => 'The Lesser A1'
),
'a2' => array(
@devuo
devuo / ical-parser.peg
Created September 28, 2015 20:13
iCal Parser
start
= calendar
calendar
= header a:attribute* c:component* footer { return { attributes: a, components: c } }
header
= "BEGIN:VCALENDAR" linebreak
footer
@devuo
devuo / gist:9813792
Created March 27, 2014 17:51
keybase.md
### Keybase proof
I hereby claim:
* I am devuo on github.
* I am devuo (https://keybase.io/devuo) on keybase.
* I have a public key whose fingerprint is 6369 7DD6 5216 94CC 0AC1 561E A3D7 502B 7C8D A1C5
To claim this, I am signing this object: