This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
vol_perc=$(amixer get Master | egrep -o '[0-9]+%' | head -n 1) | |
mute=$(amixer get Master | egrep -o '\[off\]' | head -n 1) | |
amixer -q set Master 100% unmute | |
mplayer buzzer.ogg | |
amixer -q set Master $vol_perc $(if [ ! -z $mute ]; then echo 'mute'; fi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# The user that will run the server | |
CS_USER=hlds | |
# Leave this alone. | |
NAME=srcds | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
from sqlalchemy import create_engine | |
from knowledge.model import Fact, Entity, DBSession, init_model, metadata | |
def inject_knowledge(): | |
knowledge = DBSession | |
monster = Entity(u'Monster') | |
fairy = Entity(u'Fairy') | |
rjbean = Entity(u'rjbean') | |
monster[u'color'] = u'Green' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain('wiki.sugarlabs.org') { | |
a { | |
cursor: pointer !important; | |
} | |
} |
NewerOlder