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
# get the list of clean files | |
git status>cleanlist | |
# go in with an editor and delete everything before "Untracked files:\n (use "git add...") " | |
openuptexteditoranddeletethenon-untrackedfilelinesuntilwehavearealcommandtodothisautomatically | |
mkdir cleanbackupdir | |
sed -e "s/^\(.*\)$/mv \\1 cleanbackupdir/g"<cleanlist > cleanlistcmd | |
chmod +x cleanlistcmd |
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
#!/usr/bin/env bash | |
# Cleans up almost k&r formated control statements to nicer ones, e.g. | |
# if (something){ -> if (something) | |
# while(something){ -> while (something) { | |
# | |
# Probably doesn't work on lots of things and has holes and will destroy your computer, use at your own risk. | |
# It worked for me on two files | |
# | |
# Usage: |
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
// | |
// RSCCMacros.h | |
// doghouse | |
// | |
// Created by Michael Chinen on 13/05/17. | |
// | |
// | |
#ifndef doghouse_RSCCMacros_h | |
#define doghouse_RSCCMacros_h |
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
// | |
// RSCCBMacros.h | |
// doghouse | |
// | |
// Created by Michael Chinen on 13/04/10. | |
// | |
// | |
#ifndef doghouse_RSCCBMacros_h | |
#define doghouse_RSCCBMacros_h |