Skip to content

Instantly share code, notes, and snippets.

import org.apache.log4j.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Arrays;
/**
* Created by thangpn7 on 12/15/2017
@thangdc94
thangdc94 / cvsignore2git.sh
Created June 16, 2017 11:10 — forked from xkr47/cvsignore2git.sh
cvsignore -> gitignore converter
#!/bin/sh
if [ ! -d .git ]; then
echo ERROR: Please run this in the root of the git repository
exit 1
fi
cat > .gitignore <<'EOF'
# CVS global ignores
RCS