Managing Simplicity :: Coding Notes
Wednesday, August 17, 2011
Managing simplicity
Log4j files all over the place let you manage complexity.
Log4j files in one place, but with switches for everything is managing simplicity.
Sometimes simple will be more centralized, sometimes more distributed. So you can't pick that criterion and say simple == centralized.
Simple workspace setup tasks and habits
Keep log windows as wide as possible so that lines don't wrap.
Use Ctrl-M and navigation windows in IDE
Wednesday, March 9, 2011
Using find
find with -prune to kill .svn dirs:
find . -path '*/.svn' -prune -o -print
this works better:
find examples -not -name .svn -name '*.java'
find . -path '*/.svn' -prune -o -print
this works better:
find examples -not -name .svn -name '*.java'
for loop in bash
for i in $(seq 1 1 200)
do
cp collectionobject.xml import/collectionobject$i.xml
done
do
cp collectionobject.xml import/collectionobject$i.xml
done
Subscribe to:
Posts (Atom)