Skip to content

Instantly share code, notes, and snippets.

@Lpker-2006
Lpker-2006 / tomcat manager deploy
Created January 22, 2020 10:23 — forked from pete911/tomcat manager deploy
tomcat - deploy war files using curl
# deploy under "path" context path
curl --upload-file appplication-0.1-1.war "http://tomcat:tomcat@localhost:8080/manager/deploy?path=/application-0.1-1
# undeploy
curl "http://tomcat:tomcat@localhost:8080/manager/undeploy?path=/application-0.1-1"
# ! tomcat7 uses /manager/text/undeploy and /manager/text/deploy paths
# tomcat6-admin (debian) or tomcat6-admin-webapps (rhel) has to be installed
# tomcat-users.xml has to be setup with user that has admin, manager and manager-script roles
@Lpker-2006
Lpker-2006 / China_Name_TOP500_Pinyin
Created November 22, 2019 04:17 — forked from evi1m0/China_Name_TOP500_Pinyin
中国姓名排行 TOP500 Pinyin
zhangwei
wangwei
wangfang
liwei
lina
zhangmin
lijing
wangjing
liuwei
wangxiuying
@Lpker-2006
Lpker-2006 / China_Name_TOP500
Created November 22, 2019 04:17 — forked from evi1m0/China_Name_TOP500
中国姓名排行 TOP500
张伟
王伟
王芳
李伟
李娜
张敏
李静
王静
刘伟
张丽