Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am Detegr on github.
* I am detegr (https://keybase.io/detegr) on keybase.
* I have a public key whose fingerprint is 84D4 E272 244C B98B BFAC 6EC3 77E8 C997 56CA 97C4
To claim this, I am signing this object:
@Detegr
Detegr / gist:d80dcf707c09b0a3e845
Last active July 11, 2016 22:40
Url title resolver with Rust
extern crate hyper;
extern crate encoding;
use hyper::client::Client;
use hyper::header::{Headers,ContentType,UserAgent};
use hyper::mime::Mime;
use std::io::Read;
use encoding::label::encoding_from_whatwg_label;
use encoding::{Encoding, DecoderTrap};
@Detegr
Detegr / todo.hs
Created March 23, 2012 15:34
Small todo-program in haskell.
module Todo where
import Data.List
import System.Environment
import System.IO
import System.Directory
configPath :: String
configPath = "todotest.txt"