This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty | |
# Volumes are stored here | |
ls -l /var/lib/docker/volumes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
couchdb: | |
image: couchdb | |
container_name: couchdb | |
restart: "unless-stopped" | |
volumes: | |
- "data:/opt/couchdb/data" | |
- "settings:/opt/couchdb/etc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate module-info.java | |
jdeps --generate-module-info <output-path-for-module-info.java> <path-to-non-modular-jar> | |
# Compile the module-info.java | |
javac --patch-module <name-of-the-module>=<path-to-non-modular-jar> <path-to-module-info.java> | |
# Update jar with module-info | |
cd <directory-containing-module-info.class> # avoid path prefix to module-info for next command | |
jar uf <path-to-non-modular-jar> module-info.class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn deploy:deploy-file -DgroupId=com.sample -DartifactId=sample -Dversion=47.11 -Dpackaging=jar -Dfile=/path/to/sample.jar -DrepositoryId=repository-id -Durl=file:/path/to/repo/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SampleTest.m | |
// | |
#import "TestBase.h" | |
@interface DiscoveryTests : TestBase | |
@end |