svn command

::ignore
svn propset svn:ignore “*.log” logs

::delete svn folder
@linux
find ./ -name “.svn” | xargs rm -Rf
@windows
FOR /F “tokens=*” %%G IN (‘DIR /B /AD /S *.svn*’) DO RMDIR /S /Q “%%G”

Advertisements

insert in mysql

“INSERT ~ ON DUPLICATE KEY UPDATE” which implies an unnecessary update at some cost

“INSERT IGNORE” which implies an invitation for other kinds of failure to slip in unannounced.