Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Hendrik Sollich hoodie

🎯
Focusing
View GitHub Profile
View bashtuner.sh
#!/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
hendriks fragen und antworten
View kneipenquiz.md

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?

@hoodie
hoodie / 35C3.svg
Last active Dec 21, 2018
assembly poster
View 35C3.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View podcast-template.md

Akronymisierbar

Progress

  • termin
  • aufgenommen
  • geschnitten
  • hochgeladen

Gäste

@hoodie
hoodie / 1.23vs1.24buildtimes.md
Last active Feb 15, 2018
comparing rustc 1.23 and 1.24 buildtimes building asciii
View 1.23vs1.24buildtimes.md

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 Jun 8, 2013
calls the vvo api
View dvb.sh
#!/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'
View optional.cpp
// 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 Jun 26, 2016
Ideas for things I need to hack
View Rust_TODO.md

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)
View mir_size_compare.sh
#!/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
View startupo.md

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