Skip to content

Instantly share code, notes, and snippets.

@Axel-Erfurt
Axel-Erfurt / celluloidTV.m3u
Last active May 2, 2025 20:47
Livestreams deutscher TV-Sender
#EXTM3U
#EXTINF:-1,ARD
https://daserste-live.ard-mcdn.de/daserste/live/hls/de/master.m3u8
#EXTINF:-1,ARD ONE
https://mcdn-one.ard.de/ardone/hls/master.m3u8
#EXTINF:-1,ARD Alpha
https://mcdn.br.de/br/fs/ard_alpha/hls/de/master.m3u8
#EXTINF:-1,ARD Tagesschau
https://tagesschau.akamaized.net/hls/live/2020115/tagesschau/tagesschau_1/master.m3u8
#EXTINF:-1,ZDF
@stettix
stettix / things-i-believe.md
Last active May 4, 2025 13:45
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@sarnau
sarnau / LoxCC Parser.py
Last active December 3, 2020 07:46
How to decompress a Loxone sps0.LoxCC File
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import struct
import ftplib
import zipfile
import StringIO
loxoneMiniServerIP = '192.168.178.255' # IP address of the Loxone Miniserver
adminUsername = '<ADMIN_USERNAME>'
@vasanthk
vasanthk / System Design.md
Last active May 13, 2025 07:05
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@staltz
staltz / introrx.md
Last active May 12, 2025 23:22
The introduction to Reactive Programming you've been missing
@g-k
g-k / vega-notes.md
Created April 6, 2013 05:15
Notes on initial vega.js usage

Vega provides a layer on top of d3.js for describing visualizations with a JSON spec.

It makes it easier to try new visualizations like a chloropleth map or small multiples, frees co-workers from needing to see terrible things I've done with d3 and JS, and provides a canvas renderer for easy backwards compatibility on legacy browsers (note: canvas is the default; to use SVG if it's available do something like: chart({ ..., renderer: (Modernizr.svg ? 'svg' : 'canvas') })).

A couple things caught me off-guard:

  1. The tutorial covers the visualization spec. Getting started directions are on the runtime wiki page. I missed the part where it said "Runtime - Deploying and using the browser-based Vega runtime."

  2. Axes labels are a separate text mark?

@fbettag
fbettag / netflow.scala
Created October 23, 2012 04:48
UDP NetFlow 2 bytes to get Int/Long
def toLong(buf: Array[byte], offset: Int, length: Int) = {
var ret = 0L
var i = offset
while (i < offset + length) {
ret = ((ret << 8) & 0xffffffff) + (buf(i) & 0xff)
i += 1
}
ret
}
@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@charliepark
charliepark / hatchshow.js
Created July 30, 2011 16:07
A jquery typography plugin.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(window).load(function(){
$().hatchShow();
});
jQuery.fn.hatchShow = function(){
$('.hsjs').css('display','inner-block').css('white-space','pre').each(function(){
var t = $(this);
t.wrap("<span class='hatchshow_temp' style='display:block'>");
var pw = t.parent().width();
@pr1001
pr1001 / examples.scala
Created June 16, 2011 00:13
Towards a more friendly DSL for Lift's Javascript representations
val test = j_var ("test") := j_true
val test2 = j_var ('test2) := j_false
1 j_< 2
JsVar("k") j_<= 10
val a: JsVar = 'a
a++
val clause1 = j_if (j_true) {