Skip to content

Instantly share code, notes, and snippets.

Nicolas Dandrimont olasd

Block or report user

Report or block olasd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@olasd
olasd / suite.py
Last active Dec 15, 2015
Debian suite data structure
View suite.py
# -*- encoding: utf-8 -*-
class Suite(object):
def __init__(self, name, maps_to=None):
self.name = name
self.maps_to = maps_to
@property
def real_suite(self):
suite = self
@olasd
olasd / output
Last active Dec 15, 2015
Parsley is fun.
View output
⏚ [nicolasd:~/code/parsley] [parsley] $ python test_parsley.py
('root',
[(1, 0), (346, 0)],
('parens',
[(3, 0), (3, 36)],
('token', [(3, 1), (3, 12)], 'import-from'),
('token',
[(3, 13), (3, 28)],
'tests.resources'),
('token', [(3, 29), (3, 35)], 'kwtest')),
@olasd
olasd / D40add_result
Created Jul 13, 2013
Rebuild the fedmsg-related packages for wheezy
View D40add_result
#!/bin/sh
set -e
mount | awk '/result/{ print $3 }' | while read dir; do
if [ -f "$dir/Release" -a -f "$dir/Packages" ]; then
echo "deb file://$dir ./" >> /etc/apt/sources.list
fi
done
@olasd
olasd / stream_to_youtube.sh
Created Mar 28, 2014
Stream video to youtube via ffmpeg
View stream_to_youtube.sh
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube
@olasd
olasd / keybase.md
Created Apr 13, 2014
Keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am olasd on github.
  • I am olasd (https://keybase.io/olasd) on keybase.
  • I have a public key whose fingerprint is 791F 1239 6630 DD71 FD36 4375 B8E5 0877 6647 5AAF

To claim this, I am signing this object:

You can’t perform that action at this time.