Skip to content

Instantly share code, notes, and snippets.

@jongillies
jongillies / find-svn-folders.cs
Created September 22, 2012 22:51
Example of how to find the top level SVN folder in a hierarchy of SVN repositories
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace findrepos
{
public class SVN
{
public static void Run (string command, string args)
@jongillies
jongillies / bash_threads.sh
Created September 22, 2012 22:47
Cheesy example of how to do "bash threads" keeping a limit on the number executing at once.
#!/bin/bash
#
# Credit goes to Pulu! http://www.linkedin.com/pub/pulu-anau/b/5b4/345
#
MAX_JOBS=5
function run_process ()
{