This file contains hidden or 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
gst-launch-0.10 v4l2src device=/dev/video0 ! typefind ! ffmpegcolorspace ! videorate force-fps=12/1 ! vp8enc ! \ | |
queue ! mux. alsasrc ! audioconvert ! audioresample ! audiodynamic ! vorbisenc ! \ | |
queue ! mux. webmmux name=mux streamable=true ! shout2send ip=127.0.0.1 port=8000 mount=montaje.webm password=XXXXX |
This file contains hidden or 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
dvswitch -p2000 -hlocalhost 2>&1 /dev/null & | |
sleep 1 | |
avconv -v 0 -f video4linux2 -i /dev/video1 -target ntsc-dv - | \ | |
dvsource-file /dev/stdin -p 2000 -h localhost 2>&1 /dev/null & | |
sleep 5 | |
dvsink-command -h localhost -p 2000 tee /dev/null | \ |
This file contains hidden or 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 | |
# Script facilitador para transmitir video con dvswitch a icecast | |
# Ejemplo de uso | |
# vstream -h 127.0.0.1 -p 2000 -d /dev/video1 -i espora.org:8000/vstream.ogg | |
while [[ $# > 1 ]] | |
do | |
key="$1" | |
shift |
This file contains hidden or 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 | |
import os, sys | |
import contextlib | |
import wave | |
def main(): | |
folders = [] | |
dir1, dir2 = parseArgs(sys.argv) | |
print dir1, dir2 |
This file contains hidden or 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 ruby | |
require 'ruby-mpd' | |
mpd = MPD.new | |
mpd.connect | |
sched = ['Jazz', 'Jazz', 'Classical', 'Classical', 'Country', 'Blues', 'Son Jarocho', 'Jazz', 'Classical', 'Classical', 'Country', 'Blues', 'Jazz', 'Soul', 'R&B', 'R&B', 'Chilena', 'African', 'Afrobeat', 'Cumbia', 'Salsa', 'Tropical', 'Salsa' ,'Classical'] # 0-24 | |
# make list of filenames w/out extension |
This file contains hidden or 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
# Title: Gallery Tag for Jekyll | |
# Authors: Kevin Brown | |
# Description: gallery using extended bootstrap carousel. Uses a CDN if needed. | |
# | |
# Adaption of "Photos tag for Jekyll" by Devin Weaver | |
# Using bootstrap carosel-extended instead of fancybox: "http://bootsnipp.com/snipps/carousel-extended" | |
# We have also left out the photo tag and are using solly the gallery function | |
# | |
# ** This only covers the markup. Not the integration of carousel-extended ** | |
# |
This file contains hidden or 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
NARRARADOR | |
Profundamente lejos en los remanos inexplorados del espiral pasado del moda del Oeste de la Galaxia esta un desatendido sol amarillo. Orbitando a ello a una distancia de mas o menos cincuenta millones de kilómetros es un pequeño y completamente insignificante planeta de azul-verde cuyos simio-descendiente formas de vida son tan increíblemente primitivos que aun piensan que relojes digitales son una idea genial. | |
Este planeta tiene, o tenia, un problema - lo cual era lo siguiente: la mayoría de las personas viviendo en ello estaban infelices el mayor parte del tiempo. Muchos soluciones fueran surgidos para resolver la problema, pero la mayoría de ellos preocupaban principalmente por el movimiento de pequeños verdes piezas de papel, lo cual es un poco extraño debido al hecho que por lo general no eran los pequeños verdes piezas de papel que estaban infelices. | |
Entonces la problema continuaba; y muchos personas eran muy bajos, y la mayoría eran miserables, inclusive los con relojes digitales. Much |
This file contains hidden or 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/perl | |
#Copyright 2012, [email protected] | |
# * Licensed under the GPL Version 2 license. | |
use File::Copy; | |
use File::Basename; | |
my $PLS="$ARGV[0]"; | |
my $DEST="$ARGV[1]"; | |
my $tmp='/tmp/out.wav'; | |
my @exts=qw(.ogg .oga .wma .m4a); | |
open($p, $PLS); |
This file contains hidden or 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
upstream unicorn { | |
server unix:/tmp/.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name xyz.org; | |
rewrite ^(.*) https://$host$1 permanent; | |
} | |
server { | |
client_max_body_size 100m; |