Skip to content

Instantly share code, notes, and snippets.

View zelding's full-sized avatar
🤔
what if ...

Dékány Kristóf zelding

🤔
what if ...
View GitHub Profile
@zelding
zelding / yaml
Last active March 7, 2021 10:05
some sort of api
GET api/v1/item/:id
{
id: :id,
data: {
prop1: val1,
prop2: val2,
prop3: GET api/v1/item/:id/ref1,
prop4: GET api/v1/item/:id/ref2
@zelding
zelding / ImapHeaderWrapper.php
Last active September 28, 2018 12:36
I didn't wanted to create 2 gitst, so the Address class is at the bottom
<?php
/**
* Class EmailHeader
*
* I'm sick of darn stdClasses, so I made this
* it doesn't cover every possible properties
*
* @link http://php.net/manual/en/function.imap-headerinfo.php
*/
@zelding
zelding / Fraction.txt
Created March 12, 2020 16:20
my take on fraction for StoneStory RPG script language aka stonescript
//stonescript 2.9.2
// Fraction class 0.0.1
// based on the works of Boo
// This has to go in your /Components folder
//
// functions that start with an Uppercase letter should be considered public
// others are private / internal, and you should call them outside