Skip to content

Instantly share code, notes, and snippets.

View bpelaia's full-sized avatar

Bruno Pelaia bpelaia

  • Rome, Italy
View GitHub Profile
@bpelaia
bpelaia / tomcat manager deploy
Created November 22, 2018 11:11 — 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
@bpelaia
bpelaia / AdbCommands
Created October 15, 2018 19:36 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell