defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
windows$ copy source.jpg /b + hidden.zip /b target.jpg
Linux/MacOS$ cat hidden.zip >> source.jpg
export PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[36;40m\]\W\[\e[0m\]]\\$ "
export PS1="[\[\033[01;35m\]\u@\[\033[01;33m\]\H\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]]\$ "
windows$ netsh wlan show profile name="liangfh8006" key=clear
macos$ security find-generic-password -ga "liangfh8006" | grep password
mvn install:install-file -Dfile=/Users/liangfh/Downloads/myjars/spark-tfrecord_2.11-0.0.1.jar -DgroupId=xxx -DartifactId=xxx -Dversion=1.0 -Dpackaging=jar
mvn install:install-file -Dfile=online-training-0.0.1-alpha.jar -DgroupId=com.tencent.gdt.preprocess.stream -DartifactId=online-training -Dversion=0.0.1-alpha -Dpackaging=jar
清除某个jar
mvn dependency:purge-local-repository -DmanualInclude="com.tencent.gdt.preprocess.stream:online-training"
查看jar包下有什么文件:jar -tf xxx.jar
将target_dir从jar包中解析出来:jar -xf xxx.jar target_dir
将target_dir打成新的jar包: jar -cf new.jar target_dir
将target_dir从原始jar包中移除:zip -d xxx.jar target_dir
覆盖jar包内的文件:jar -uf xxx..jar target_file,当然也可以直接vim jar包内文件