Skip to content

Instantly share code, notes, and snippets.

BaddMann /
Last active March 27, 2017 17:33
FFMpeg Overlay of slides with Sound Mixing
ffmpeg -i AZPosh-DamianBrady-OctopusDeployforthePowerShellUser-audacitycompress.mp4 -i AZPoshTemplates720.mp4 -filter_complex "[0:v][1:v]overlay=enable='between(t\,0,70)'[out];[0:a][1:a]amix=inputs=2[aout]" -shortest -map [out] -map [aout] -pix_fmt yuv420p -c:v libx264 -crf 18 AZPosh-DamianBrady-OctopusDeployforthePowerShellUser-audacitycompress-overlay3.mp4
#!/usr/bin/env python
import plistlib
import os
from Foundation import CFPreferencesCopyAppValue
# Read the location of the ManagedInstallDir from ManagedInstall.plist
BUNDLE_ID = 'ManagedInstalls'
pref_name = 'ManagedInstallDir'
managedinstalldir = CFPreferencesCopyAppValue(pref_name, BUNDLE_ID)
BaddMann / plist-parser.js
Created April 4, 2012 06:04 — forked from hanshuebner/plist-parser.js
plist parser written in node.js
View plist-parser.js
var plistParser = require("../lib/sax").parser(false, {lowercasetags:true, trim:true}),
sys = require("sys"),
fs = require("fs");
function entity (str) {
return str.replace('"', '"');
plistParser.getInteger = function (string) {
this.value = parseInt(string, 10);
BaddMann / .gitignore
Created April 3, 2012 04:31 — forked from bergie/.gitignore
Node.js email handling examples
View .gitignore