Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Hendrik Sollich hoodie

🎯
Focusing
View GitHub Profile
View DVBStops.plist
<!--
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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@hoodie
hoodie / playground.rs
Created Mar 9, 2016 — forked from anonymous/playground.rs
Shared via Rust Playground
View playground.rs
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
hoodie / playground.rs
Created Jan 31, 2016 — forked from anonymous/playground.rs
Shared via Rust Playground
View playground.rs
#[derive(Debug)]
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(){
@hoodie
hoodie / LICENSE.txt
Created Jun 24, 2011 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE