Skip to content

Instantly share code, notes, and snippets.

View kloetzl's full-sized avatar

Fabian Klötzl kloetzl

View GitHub Profile
#ZDF
http://zdf0304-lh.akamaihd.net/i/de03_v1@392855/master.m3u8?dw=0
http://zdf0304-lh.akamaihd.net/i/de04_v1@392856/master.m3u8?dw=0
http://zdf0506-lh.akamaihd.net/i/de05_v1@392857/master.m3u8?dw=0
http://zdf0506-lh.akamaihd.net/i/de06_v1@392858/master.m3u8?dw=0
http://zdf0708-lh.akamaihd.net/i/de07_v1@392868/master.m3u8?dw=0
http://zdf0708-lh.akamaihd.net/i/de08_v1@392869/master.m3u8?dw=0
#NDR Spezial
http://ndr_spezial-lh.akamaihd.net/i/spezial_1@119227/master.m3u8
http://ndr_spezial-lh.akamaihd.net/i/spezial_2@119228/master.m3u8
@daniel-j-h
daniel-j-h / DefeatOptimizer.cc
Created October 6, 2015 12:23
Defeating the Optimizer --- Chandler Carruth' CppCon2015 Tricks
static void escape(void* p) {
asm volatile("" : : "g"(p) : "memory");
}
static void clobber() {
asm volatile("" : : : "memory");
}
@softwaredoug
softwaredoug / hyperLogLog.c
Created February 3, 2015 04:01
Educational HyperLogLog demo in C
#include "stdio.h"
#include "stdlib.h"
unsigned int max(unsigned int a, unsigned int b) {
return a > b ? a : b;
}
unsigned int bucket(unsigned int val) {
return val & 0xF0000000 >> 28;
}
@jmnwong
jmnwong / ST2 Cycle Tabbing
Created June 28, 2013 15:24
Makes CTRL-Tab cycle tabs in order for Sublime Text.
Put in (Preferences -> Key Bindings - User):
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }
@nirenjan
nirenjan / bishop.c
Created January 4, 2013 06:34
Simulate a drunken bishop walk to produce OpenSSL random art.
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define XLIM 17
#define YLIM 9
#define ARSZ (XLIM * YLIM)
#define DEBUG 0
@agnoster
agnoster / README.md
Last active July 13, 2024 19:26
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@paulirish
paulirish / gist:1551766
Created January 2, 2012 19:17
my zsh prompt with titlebar text setting
#
# my zsh theme with iTerm titlebar manip.
# see video to see the bug I have.. any help would be HUGELY appreciated :)
# http://youtu.be/U-h9XCCq0q4
#
# also
# https://github.com/sjl/oh-my-zsh/
# http://sage.ucsc.edu/xtal/iterm_tab_customization.html