Skip to content

Instantly share code, notes, and snippets.

View crepererum's full-sized avatar
🦀
rusting

Marco Neumann crepererum

🦀
rusting
View GitHub Profile
@crepererum
crepererum / README.md
Last active March 2, 2021 18:01
NASM Fork Bomb

#NASM Fork Bomb

This creates a very small pure binary fork bomb without external dependencies.

##Build:

Just run the following commands to build a standalone executable:

nasm fork.asm -felf64 -ofork.o

ld fork.o -ofork

@crepererum
crepererum / keybase.md
Last active March 5, 2019 07:04
keybase.md

Keybase proof

I hereby claim:

  • I am crepererum on github.
  • I am crepererum (https://keybase.io/crepererum) on keybase.
  • I have a public key ASCi296Fu0MopjhnvlsotK2MVV4q67J1LK0yV0STfFgsHwo

To claim this, I am signing this object:

#!/bin/bash
#
# >>> About
#
# Generate a png of internal dependencies on invenio
#
# >>> Copyright
#
# Leonardo Rossi <leonardo.r@cern.h>
#
@crepererum
crepererum / 2015-07-09.md
Last active August 29, 2015 14:24
DLS Meeting Minutes

general

  • talk on Monday about JSON-Based Record Editing, slides here
  • got a new laptop: still extremely satisfied with Docker (took 5min to get Invenio + all services running)

inveniosoftware/invenio

  • documentation build on readthedocs is broken, discussion with Jiri if we change pythonhosted (all version) or/and GitHub pages (master only?, example)

master:

  • PR#3336 [open] Fix master after search replacement
  • cooperation with Leo

general

  • events: OpenLab Summer Student Lectures :)

inveniosoftware/invenio

master:

  • PR#3336 [merged] Fix master after search replacement
    • thanks to Leo for the hard work
  • PR#3343 [merged] docker: read-only root images + RabbitMQ + Elasticsearch
  • PR#3348 [merged] docker: fix for production compose config
@crepererum
crepererum / rdxsort-rs-cla.md
Created August 12, 2016 20:13
rdxsort-rs CLA

rdxsort-rs Individual Contributor License Agreement

Thank you for your interest in contributing to rdxsort-rs ("We" or "Us").

This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us by electronic submission, following the instructions at https://cla-assistant.io/. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.

1. Definitions

"You" means the individual who Submits a Contribution to Us.

@crepererum
crepererum / generic_algo.cc
Created August 31, 2016 11:06
Generic Algo Example
#include <iterator>
/*
* I: iterator type
* F: function that decides about good&bad
*/
template <typename I, typename F>
I bisect(I good, I bad, F&& f) { // use call-by-value for iterators and universal refs for function object
using D = typename std::iterator_traits<I>::difference_type;
D dist;
@crepererum
crepererum / f1_protocol.md
Created September 21, 2016 12:40
Traktor F1 USB

Traktor F1 USB Protocol

Devide Info

  • stateless protocol
  • vendor ID: 0x17cc
  • product ID: 0x1120
  • MSB 0 bit numbering
  • little endian

Input

from collections import defaultdict
import gzip
import json
import os
import os.path
import urllib.request
EXPORT_FILE = 'crepererum-net.ghost.2019-02-23.json'
OUT_PATH = 'out'