As of 1.8, assets are stored by hash, which makes it fiddly to listen to Minecraft's amazing ambient soundtrack outside the game.
This script can be used to copy music files to appopriately-named and organised .ogg
files for easier listening.
# GNU Screen - main configuration file | |
# All other .screenrc files should source this file to inherit settings. | |
# Author: Christian Wills - [email protected], minor mods [email protected] | |
# Allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# Tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
As of 1.8, assets are stored by hash, which makes it fiddly to listen to Minecraft's amazing ambient soundtrack outside the game.
This script can be used to copy music files to appopriately-named and organised .ogg
files for easier listening.
#! /usr/bin/env python | |
#pip install websocket-client | |
#python mycroft_ws_test.py localhost recognizer_loop:utterance '{"utterances": ["what time is it"]}' | |
import sys | |
from websocket import create_connection | |
uri = 'ws://' + sys.argv[1] + ':8181/core' | |
ws = create_connection(uri) | |
print("Sending " + sys.argv[2] + " to " + uri + "...") | |
if len(sys.argv) >= 4: | |
data = sys.argv[3] |