Skip to content

Instantly share code, notes, and snippets.

View yomguy's full-sized avatar

Guillaume Pellerin yomguy

View GitHub Profile
[TestAnalyzers_withDC]
Stress test for AubioMelEnergy ... ok
Stress test for AubioMfcc ... ok
Stress test for AubioPitch ... ok
Stress test for AubioSpecdesc ... ok
Stress test for AubioTemporal ... ok
Stress test for IRITDiverg ... ERROR
Stress test for IRITMonopoly ... /home/momo/dev/timeside/timeside/timeside/analyzer/irit_monopoly.py:157: RuntimeWarning: divide by zero encountered in log
c1 = numpy.log(a1)
/home/momo/dev/timeside/timeside/timeside/analyzer/irit_monopoly.py:161: RuntimeWarning: divide by zero encountered in log
@yomguy
yomguy / deegger-mixcloud.py
Last active August 29, 2015 14:07
Download MixCloud audio files
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
The MIT License (MIT)
Copyright (C) 2014 Guillaume Pellerin <yomguy@parisson.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@yomguy
yomguy / kwin_crash_tc_5
Created February 14, 2012 18:09
TC 202 5 kwin crash
Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0x7fa59c7be7a0 (LWP 2073))]
Thread 3 (Thread 0x7fa57fd0d700 (LWP 2114)):
#0 0x00007fff2d5ff856 in ?? ()
#1 0x00007fa5905fe07b in clock_gettime () from /lib/x86_64-linux-gnu/librt.so.1
#2 0x00007fa59832b074 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3 0x00007fa5983ed6ed in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x00007fa5983eda33 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5 0x00007fa5983ef8c1 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Traceback (most recent call last):
File "./manage.py", line 9, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 232, in execute
KeyError at /admin/django/
'settings'
Request Method: GET
Request URL: http://localhost:9000/admin/django/
Django Version: 1.4
Exception Type: KeyError
Exception Value:
'settings'
Exception Location: /usr/local/lib/python2.6/dist-packages/django/template/context.py in __getitem__, line 54
Python Executable: /usr/bin/python
/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
"use STATIC_URL instead.", DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/django/views/generic/simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead.
DeprecationWarning
+ Added field keywords_string on teleforma.Seminar
? The field 'Seminar.site' does not have a default specified, yet is NOT NULL.
? Since you are adding this field, you MUST specify a default
? value to use for existing rows. Would you like to:
? 1. Quit now, and add a default to the field in models.py
? 2. Specify a one-off value to use for existing columns now
# -*- coding: utf-8 -*-
# Django settings for sandbox project.
import os
import sys
from django.core.urlresolvers import reverse_lazy
sys.dont_write_bytecode = True
DEBUG = True
<!DOCTYPE html>
<html lang="en">
<head>
POST http://127.0.0.1:9000/admin/django/teleforma/seminar/add/ 403 (FORBIDDEN)
POST http://127.0.0.1:9000/admin/django/teleforma/seminar/add/ 403 (FORBIDDEN)
POST http://127.0.0.1:9000/admin/django/teleforma/seminar/add/
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>403 Forbidden</title>
@yomguy
yomguy / gist:5865604
Created June 26, 2013 08:03
test_AnalyzerResult.py got fake errors ?
python tests/test_AnalyzerResult.py
[TestAnalyzerResult]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
@yomguy
yomguy / gist:5875132
Last active December 19, 2015 01:19
Illegal sniffing proxy through SFR 3G network : the result
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head><meta http-equiv="Content-type" content="text/html;charset=UTF-8" /><script src="http://1.2.3.4/bmi-int-js/bmi.js?version=1346927152" language="javascript"></script><title>Item : POUR LA DANSE KETJAK - Sound archives of the CNRS and the Musee de l'Homme. Research Centre of Ethnomusicology (CREM), University of Paris 10 - Telemeta</title> <style type="text/css" style="display:none">body{margin:0;padding:0;}a{text-decoration:none;color:#969696;}a img{border:none;}html,input,select,textarea,h1,h2,h3,h4,h5,h6{font-size:100%;}body{font:0.8125em/1em Verdana,sans-serif;line-height:1.3em;color:#333;background:#FFF;margin:0em;}/**/a,a:visited{color:#BB0000;text-decoration:none;}a:hover{background-color:transparent;color:#BB0000;text-decoration:underline;}a img{border:none;}.rst-content h1{font-size:1.2em;font-weight:bold;color:#353535;}.nett{clear:both;height:5px;}.wazing{clear:both;position:relative;}/**/#layout{min-width:740px;}#