Skip to content

Instantly share code, notes, and snippets.

View icedwater's full-sized avatar
😅
I may be slow to respond.

icedwater icedwater

😅
I may be slow to respond.
View GitHub Profile
@jalcine
jalcine / livedemo.gtk.py
Created January 7, 2013 12:22
Automatic speech recognition with PocketSphinx and GStreamer.
#!/usr/bin/env python
# Copyright (c) 2008 Carnegie Mellon University.
#
# You may modify and redistribute this file under the same terms as
# the CMU Sphinx system. See
# http://cmusphinx.sourceforge.net/html/LICENSE for more information.
import pygtk
pygtk.require('2.0')
@orendon
orendon / pip_size.sh
Created January 10, 2018 20:36
Python: list pip packages size
pip list | xargs pip show | grep -E 'Location|Name' | cut -d ' ' -f 2 | paste -d ' ' - - | awk '{print $2 "/" tolower($1)}' | xargs du -sh 2> /dev/null