Skip to content

Instantly share code, notes, and snippets.

@vinsentru
vinsentru / split_batch_flack.sh
Created April 2, 2018 18:53
Split a deep folders structure (like discography) containing *.cue and *.flack
find . -type f -iname "*.cue" | while read dir; do dirname=$(dirname "$dir"); echo $dirname; pushd "$dirname"; split2flac -cue *.cue *.flac; popd; done
@mattupstate
mattupstate / Vagrantfile
Last active December 13, 2015 21:48
RabbitMQ cluster with Vagrant and Chef
Vagrant::Config.run do |vagrant|
vagrant.vm.define :vm1 do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :hostonly, "192.168.0.80"
config.vm.host_name = 'rabbit1'
config.vm.provision :chef_solo do |chef|
chef.add_recipe "apt"
chef.add_recipe "hostsfile"
@ricardovf
ricardovf / install-mono.rb
Created June 2, 2011 20:13
Chef recipe to download tarballs, extract, and compile them.
#
# Cookbook Name:: mono
# Recipe:: install-mono
#
# Copyright 2011, Medidata Solutions, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#