Skip to content

Instantly share code, notes, and snippets.

View hoodie's full-sized avatar

Hendrik Sollich hoodie

View GitHub Profile
hoodie /
Last active May 11, 2019 09:25
hendriks fragen und antworten


Game Of Thrones

  1. Q: Die Bürger von Essos grüßen einander mit den bekannten Worten "Valar Morghulis" ("Alle Menschen müssen sterben"). Wie wird dieser Gruß erwidert? <

    A: "Valar Dohaeris"

  2. Q: Was heißt die Antwort übersetzt?



  • termin
  • aufgenommen
  • geschnitten
  • hochgeladen


hoodie /
Last active February 15, 2018 20:56
comparing rustc 1.23 and 1.24 buildtimes building asciii

this build and rebuilds a rust project with rustc 1.23 and 1.24

./ > buildtime.log 2>&1

rg secs buildtime.log
105:    Finished dev [unoptimized + debuginfo] target(s) in 59.57 secs
113:    Finished dev [unoptimized + debuginfo] target(s) in 15.35 secs
216:    Finished release [optimized] target(s) in 197.70 secs
224: Finished release [optimized] target(s) in 111.56 secs
// optional.cpp
#include <experimental/optional>
#include <iostream>
#include <vector>
std::experimental::optional<int> getFirst(const std::vector<int>& vec){
if (!vec.empty()) return std::experimental::optional<int>(vec[0]);
else return std::experimental::optional<int>();
hoodie /
Last active June 26, 2016 16:38
Ideas for things I need to hack

Getting a few Ideas out of my head, here's just the subset that I can recall momentarily

  • afl-rs -> yaml_rust
  • ical parser/emitter using nom
  • finish Yaml::ToString() (PR)
cargo clean
cargo build --release && cp target/release/$BIN_NAME $BIN_NAME_release_build_no_mir
cargo clean

Internet Compnies with O

A list of germany web companies that end in "O"

Von Ayondo bis Zalando, warum heißen die alle so seltsam?

  • Amerano
  • Avino
  • Ayondo
  • Kinderando
  • Kredito
This document intends to include all stops used by the DVB as of December 2015.
It was created by manually combining multiple DVB documents and improved by using a reverse engineered autocompletion API.
It is preformatted as PropertyList and can easily be handled as XML.
Consider this document as public domain, mentioning my name in your project would make me happy though.
Created by Richard Neitzke.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
hoodie /
Created March 9, 2016 17:49 — forked from anonymous/
Shared via Rust Playground
fn main() {
let a = [1,2,3,4,5,6,7,8,9,0];
let b = "hello world!";
let slice_a = &a[6..]; // [7,8,9,0]
let slice_b = &b[6..11]; // "world"
let slice_c = &slice_b[..2]; // "wo"
println!("{:?}", a); println!("{:?}", slice_a);
hoodie /
Created January 31, 2016 22:20 — forked from anonymous/
Shared via Rust Playground
struct Pair(i32,i32);
fn eat(y:&mut Pair) { y.0 = 1; y.1 = 2}
//fn replace(y:&mut Pair) { y = Pair(1,2)} // no? why not?
fn replace(y:&mut Pair) { let Pair(x,z) = Pair(1,2); y.0 = x; y.1 = z}
fn main(){