- 🚧 work in progress
- ⚡, 🔼 improvement
- ➕ when adding feature
- ➖ when removing feature
- 🐛 when fixing a bug
ClassPath cp = ClassPath.from(this.getClass().getClassLoader()); | |
cp.getAllClasses().stream() | |
.filter(ci -> ci.getName().startsWith("com.example")) | |
.forEach(ci -> System.err.println(ci.getName())); |
#!/bin/bash | |
# | |
# decompress - a bash script file to decompress a batch of rar files | |
# | |
password=$1 | |
file_count=$(ls *.part01.rar 2> /dev/null | wc -l) | |
if [ "$file_count" -eq "0" ] | |
then | |
echo "No file to decompress" |
# install and run db2 docker image | |
# see: https://hub.docker.com/r/ibmcom/db2express-c/ | |
docker pull ibmcom/db2express-c | |
docker create -v $(pwd):/dbdata --name dbstore ibmcom/db2express-c /bin/true | |
docker run -it -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept --name db2 --volumes-from dbstore ibmcom/db2express-c:latest bash | |
su - db2inst1 | |
# -> db2start | |
# --> db2 create database WWSCM on /dbdata dbpath on /dbdata |
Content Folder | |
Your documents ~/Documents and ~/Desktop | |
iTunes data and settings ~/Music/iTunes/ | |
iPhoto data and settings ~/Pictures/iPhoto Library/ | |
Movies ~/Movies | |
Books ~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books | |
Mail data and settings ~/Library/Mail/V2 | |
Contacts data and settings ~/Library/Application Support/AddressBook | |
Calendar data and settings ~/Library/Calendars/ | |
Safari data and settings ~/Library/Safari/ |
# first param is pid | |
# stop | |
kill -STOP $1 | |
# resume | |
kill -CONT $1 |
sudo tcpdump -A -s0 -ien1 port 80 |
find . -type f | wc -l |
ls -lrt | tail -n 10 |