Skip to content

Instantly share code, notes, and snippets.

View wsciaroni's full-sized avatar
😀

Will Sciaroni wsciaroni

😀
View GitHub Profile
@tam5
tam5 / Shell.c
Created February 9, 2016 23:10
Basic Unix Shell with forks, pipes, and redirection
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <ctype.h>
#include <stdlib.h>
@stefanfoulis
stefanfoulis / findauthors.sh
Created April 8, 2011 12:37
How to sync svn to git
#!/usr/bin/env bash
# Run this script inside a SVN checkout of the project
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = NAME <USER@DOMAIN>";