Skip to content

Instantly share code, notes, and snippets.

@eriol
eriol / ydl2mp3.py
Last active December 14, 2016 21:14
Download and extract audio track from videos suppoted by youtube-dl
#!/usr/bin/env python3
# Download and extract audio track from videos suppoted by youtube-dl.
# Copyright (c) Daniele Tricoli, MIT/Expat, 2016.
from __future__ import print_function, unicode_literals
import argparse
import sys
import youtube_dl
@eriol
eriol / snake.py
Created June 17, 2015 00:11
Playing with ctypes and libcaca
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# snake.py
# Playing with ctypes and libcaca
# http://mornie.org/blog/2007/03/25/Playing-with-ctypes-and-libcaca/
#
# Copyright (C) 2007 Daniele Tricoli aka Eriol <eriol@mornie.org>
#
# This program is free software; you can redistribute it and/or
@eriol
eriol / kivy_memory_image.py
Created April 24, 2015 02:34
How to load an image from memory in Kivy
#!/usr/bin/env python
# encoding: utf-8
# kivy_memory_image.py
# How to load an image from memory in Kivy
# http://mornie.org/blog/2013/11/06/how-load-image-memory-kivy/
# Copyright (c) 2013, Daniele Tricoli <eriol@mornie.org>
# All rights reserved.
#
@eriol
eriol / keybase.md
Created March 19, 2015 18:53
Keybase proof

Keybase proof

I hereby claim:

  • I am eriol on github.
  • I am eriol (https://keybase.io/eriol) on keybase.
  • I have a public key whose fingerprint is C65A EF9F E5BF 8CCB D6ED B019 8BAF 522C 0D6C CEDD

To claim this, I am signing this object: