Concurrent set in java

There is no ConcurrentHashSet class in java but you can get a concurrent set from a ConcurrentHashMap using the following method:
Set set = Collections.newSetFromMap(new ConcurrentHashMap());

See also

Git: Remove a file from the repository without deleting it from the local filesystem

git rm --cached

See also

Remove file completely from git repository

To remove file dir/secret.txt:
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch dir/secret.txt'  --prune-empty --tag-name-filter cat -- --all

See also

install pydicom and pynetdicom on ubuntu linux

sudo aptitude install mercurial
hg clone
cd pydicom/source/; sudo python install
It will be installed into /usr/local/lib/python2.7/dist-packages/pydicom-1.0.0a-py2.7.egg

To install pynetdicom:
hg clone
cd pynetdicom/source/; sudo python install
It will be installed into /usr/local/lib/python2.7/dist-packages/netdicom

Java SSH2 libraries

1. Ganymed SSH 2 and its derivations (Ganymed -> Trilead -> Orion):

2. SSHD and SSHJ

3. JSCH folks

Discussions at Stackoverflow

grep: search for a string in a directory of files

grep -R "myFuction()" *