Skip to content

Instantly share code, notes, and snippets.

View Anubarak's full-sized avatar

Robin Schambach Anubarak

  • Secondred Newmedia GmbH
View GitHub Profile
@bittner
bittner / keyboard-keys.md
Created February 28, 2019 22:50
Keyboard keys markup in MarkDown

Ctrl + Alt + Space

@sothmann
sothmann / logdecorator.ts
Created August 4, 2015 12:14
TypeScript Decorator - Log method calls
function log(target, key, descriptor: PropertyDescriptor) {
var originalMethod = descriptor.value;
descriptor.value = function(...args: any[]) {
let functionName = key;
console.log(functionName + "(" + args.join(", ") + ")");
let result = originalMethod.apply(this, args);
console.log("=> " + result);
return result;
};
@jakebellacera
jakebellacera / ICS.php
Last active March 11, 2025 21:41
A convenient script to generate iCalendar (.ics) files on the fly in PHP.
<?php
/**
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*