Skip to content

Instantly share code, notes, and snippets.

View trvbr's full-sized avatar

Travis Bernard trvbr

View GitHub Profile
<icecast>
<limits>
<clients>500</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
#!/bin/sh
#-----------------------------------
# Install icecast2 and Icecast-KH
#-----------------------------------
#----------------------------------------------
# Get command line arguments
#----------------------------------------------
@trvbr
trvbr / kusf-embed.html
Last active October 4, 2016 21:41
Demo Integration Code for KUSF
<!-- Creek JavaScript Toolkit -->
<script type="text/javascript" src="http://cdn.creek.fm/embed/0.7.4c-alpha/creek.js"></script>
<!-- Apply one of the built-in CSS themes -->
<link rel="stylesheet" href="http://cdn.creek.fm/embed/0.7.4-alpha/css/light1.css">
<!-- This is the main content element into which the Creek shows and schedule are inserted. -->
<div id="Creek-Shows"></div>
#!/bin/bash
#--------------------------------------------
#
# Simple Archive Fixer:
#
# Uploads timestamped recordings from your studio computer to Creek.
#
#--------------------------------------------
#
@trvbr
trvbr / bff-archives-fix.sh
Created March 19, 2016 06:04
A bash script that grabs missing archives from the BFF.fm studio Mac, and sends them to the BFF.fm website.
#Archive file fixer & uploader
echo " "
echo "--------------------------------------------"
echo " "
echo "Creek archive fixer for Nicecast + BFF.fm!"
echo " "
echo "Example: radio-shoe_2015-09-05_03-00-00.mp3 ";
echo "(Make sure to add 7 hours to the time, for GMT.) ";