Skip to content

Instantly share code, notes, and snippets.

View hoodie's full-sized avatar
🎯
Focusing

Hendrik Sollich hoodie

🎯
Focusing
View GitHub Profile
@hoodie
hoodie / 35C3.svg
Last active February 5, 2023 11:49
assembly poster
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
# Programm Bashtuner
# Autor Karsten Weidenfeld
# OS Linux Mint 14, Ubuntu 12.04
# Abhängigkeiten curl, vlc, zenity, streamripper
# Bashtuner ist ein Radio Abspielprogramm das wahlweise Sender aus einer lokalen Favouritenliste
# oder einer Onlineliste abspielt. Es können auch Sender aus der Onlineliste übernommen werden.
@hoodie
hoodie / kneipenquiz.md
Last active May 11, 2019 09:25
hendriks fragen und antworten

Kneipenquiz

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?

Akronymisierbar

Progress

  • termin
  • aufgenommen
  • geschnitten
  • hochgeladen

Gäste

@hoodie
hoodie / 1.23vs1.24buildtimes.md
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

./build_times.sh > 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
@hoodie
hoodie / dvb.sh
Created June 8, 2013 15:26
calls the vvo api
#!/bin/bash
station=${@:-Slub}
exec 6<> /dev/tcp/widgets.vvo-online.de/80
printf "GET /abfahrtsmonitor/Abfahrten.do?ort=Dresden&hst=$station&vz=0 HTTP/1.0
Host: widgets.vvo-online.de
User-Agent: Ach ja, die 61
Connection: close\n\n" >&6
#cat <&6 | grep '\[\[' | sed -e 's/\],\[/\n/g' -e 's/\[\[\|\]\]//g' -e 's/\",\"/ /g' -e 's/\"//g'
// 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
hoodie / Rust_TODO.md
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)
#!/bin/bash
BIN_NAME=asciii
unset RUSTFLAGS
cargo clean
cargo build --release && cp target/release/$BIN_NAME $BIN_NAME_release_build_no_mir
unset RUSTFLAGS
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