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
#this command analyses the audio of the video and writes it down to the MLT XML | |
melt video1.mov -filter sox:analysis -consumer xml:video1.mlt video_off=1 all=1 | |
#this renders the video to looseless x264 with aac audio and the audio normalisation filter applied | |
melt video1.mlt -consumer avformat:video1.m4v properties=H.264 strict=experimental progressive=1 | |
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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
@import "compass"; | |
$base-font-size: 12px; | |
@function em($value, $relative-font-size: $base-font-size) { | |
@return $value / $relative-font-size * 1em; |
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 | |
sudo apt-get remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
sudo apt-get autoremove | |
sudo apt-get update | |
sudo apt-get -y install autoconf build-essential checkinstall git libgpac-dev \ | |
libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \ | |
librtmp-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev \ | |
libx11-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev gawk |
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
{ | |
"port": 8080, | |
"access_log": "access_log", | |
"database": "jobs.db", | |
"slots": 1, | |
"interface": "0.0.0.0", | |
"encoder": "ffmpeg", | |
"scratch_dir": "/tmp", | |
"use_scratch_dir": false, | |
"ffprobe": "ffprobe", |
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
Completed 200 OK in 152.6ms (Views: 147.5ms | ActiveRecord: 4.0ms) | |
Started GET "/jobs" for 10.10.10.148 at 2014-06-12 16:03:22 +0200 | |
Processing by JobsController#index as HTML | |
Rendered shared/_history.html.erb (21.1ms) | |
Rendered jobs/_job.html.erb (105.6ms) | |
Rendered jobs/_jobs.html.erb (124.8ms) | |
Rendered jobs/index.html.erb within layouts/application (147.4ms) | |
Rendered layouts/_menu.html.erb (3.2ms) | |
Rendered layouts/_help.html.erb (0.1ms) | |
Completed 200 OK in 155.5ms (Views: 150.6ms | ActiveRecord: 4.0ms) |
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 | |
## play the dorfstream to the HDMI output | |
## To enable add the following to /etc/rc.local | |
## sleep 10 | |
## echo localhost > /etc/ansible/hosts | |
## su - pi -c "git clone https://gist.github.com/46c6f53362aeadf8747b40111c371e47.git bin > /dev/null 2>&1 || echo Already Exists" | |
## su - pi -c "cd /home/pi/bin ; git pull || echo Error checkout" | |
## su - pi -c "/bin/sh /home/pi/bin/distribute.sh &" | |
## su - pi -c "/cd /home/pi/bin ; ansible-playbook playbook.yml" | |
## |
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
--- | |
- openssl_privatekey: | |
path: "/srv/{{ app_name }}/ssl/{{ trusted_domains[0] }}.key" | |
tags: letsencrypt | |
- name: Creating CSR for | |
debug: msg= | |
tags: letsencrypt |