Skip to content

Instantly share code, notes, and snippets.

@purdyk
purdyk / 64108778.lua
Last active August 29, 2015 14:24
Specification: NEGATIVE SIGNAL MULTIPLIER
function get_name()
return "NEGATIVE SIGNAL MULTIPLIER"
end
function get_description()
return { "READ VALUES FROM IN.A AND IN.B", "MULTIPLY THE VALUES", "WRITE THE PRODUCT TO OUT.X" }
end
function get_streams()
input_a = {}
<#
{
"info": {
"Statement": "Code is poetry",
"Author": "Joerg Hochwald",
"Contact": "joerg.hochwald@outlook.com",
"Link": "http://hochwald.net",
"Support": "https://github.com/jhochwald/MyPowerShellStuff/issues"
},
"Copyright": "(c) 2012-2015 by Joerg Hochwald. All rights reserved."
@iamben
iamben / Makefile
Created November 21, 2012 13:25
dynamic library interposition
libint.so: libint.c
clang -shared -fPIC libint.c -o libint.so
str: str.c
clang -o str str.c
clean:
rm -f str libint.so
run: str libint.so
@keyboardcrunch
keyboardcrunch / pydocexec.py
Created April 30, 2020 02:24
Injects a python script inside a word document so the doc can be executed with python :)
#!/usr/bin/python3
import sys
import os
import zipfile
import tempfile
from xml.etree import ElementTree
from shutil import copyfile
def stuffer(py_file, doc_file):
@eiriktsarpalis
eiriktsarpalis / cont.fsx
Last active December 22, 2020 00:32
A Continuation monad with stacktrace support in F# 4.1
open System
open System.Runtime.CompilerServices
type SymbolicException =
{
Source : Exception
Stacktrace : string list
}
module SymbolicException =
https://1k-dezentral-remote-clubhaus-friends.maps.at.rc3.world/main.json
https://3d-history.maps.at.rc3.world/main.json
https://3d-printing-assembly.maps.at.rc3.world/main.json
https://402-payment-required.maps.at.rc3.world/main.json
https://aaaaaaaaaaaa.maps.at.rc3.world/main.json
https://af-oio.maps.at.rc3.world/dome/main.json
https://af-oio.maps.at.rc3.world/fiff/main.json
https://af-oio.maps.at.rc3.world/flipdots/main.json
https://af-oio.maps.at.rc3.world/fridaysforfuture/main.json
https://af-oio.maps.at.rc3.world/halle/main.json
@kevinswiber
kevinswiber / hal.json
Created July 7, 2012 14:56
JSON Siren vs. HAL Representations
{
"_links": {
"self": { "href": "/orders" },
"next": { "href": "/orders?page=2" },
"find": { "href": "/orders{?id}", "templated": true }
},
"_embedded": {
"orders": [{
"_links": {
"self": { "href": "/orders/123" },

This is real chaos engineering!

While browsing through Twitter or Youtube, I see all the cool chaos engineering frameworks like Chaos Mesh or LitmusChaos.

Without a doubt, these frameworks are amazing, and I would suggest to everybody to go and try them out. Saiyam Pathak has made some great videos about Chaos Mesh and Litmus and there will be a bigger meetup about Litmus coming.

@motey
motey / gist:3028650e159d1e4e3bd30312aa822954
Created December 9, 2016 11:58
Musterbrief an Landgericht Hamburg bzgl. Beschluss vom 18. November (Az. 310 O 402/16)
https://www.heise.de/forum/heise-online/News-Kommentare/Gericht-bestaetigt-Haftung-fuer-Urheberrechtsverletzungen-auf-verlinkten-Seiten/Musterbrief/posting-29616440/show/
Sehr geehrte Damen und Herren,
gerne würde ich über ihren Beschluss vom 18. November (Az. 310 O 402/16) auf meiner Internetseite berichten. Im Rahmen der Berichterstattung möchte ich auch einen Link auf ihre Rechtsprechungsdatenbank hinterlegen, damit sich die Leser meines Berichts ein Bild über die Rechtsprechung ihres Hauses machen können.
Da ich nicht über Einsicht in alle ihre Vertragsangelegenheiten habe und somit nicht feststellen kann, ob für manche Medien auf ihrer Seite die Nutzungsrechte evtl. zeitlich beschränkt waren, komme ich auf diesem Wege meiner Pflicht zur Nachforschung nach und möchte mir von Ihnen als Seitenbetreiber eine Versicherung an Eides statt einholen, dass sie die entsprechenden Rechte zur Veröffentlichung haben.
Zur Vermeidung späterer Rechtsnachteile bitte ich hiermit im Sinne ihres o.g. Beschlusses um schri
; <<>> DiG 9.16.21 <<>> axfr 219.185.195.in-addr.arpa @91.189.192.6
;; global options: +cmd
; Transfer failed.