Skip to content

Instantly share code, notes, and snippets.

View amunizp's full-sized avatar

Andres Muniz Piniella amunizp

View GitHub Profile
@-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) {
body {
background-color: #171717 !important;
}
}
/* dark blank tab */
u/-moz-document url(about:blank), url(about:newtab) {
#newtab-window, html:not(#ublock0-epicker) {
background: #222 !important;
}
@juehan
juehan / PyGameMP3Player.py
Created February 20, 2012 13:02
MP3Player Using PyGame
'''
Created on 2012. 2. 19.
This module is for playing mp3 (limited) and wav formatted audio file
@author: John
'''
import pygame
def playsound(soundfile):
"""Play sound through default mixer channel in blocking manner.
This will load the whole sound into memory before playback