This file contains 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
keytool -list -keystore keystore.jks | |
keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -deststoretype PKCS12 -srcalias alias -deststorepass password | |
openssl pkcs12 -in keystore.p12 -nokeys -out cert.pem | |
openssl pkcs12 -in keystore.p12 -nodes -nocerts -out key.pem | |
openssl x509 -outform der -in cert.pem -out cert.crt | |
openssl rsa -in key.pem -out key.key |
This file contains 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
#!/bin/bash | |
version=1.5.1 | |
dir=~/local/elastic-search | |
mkdir ${dir} | |
cd ${dir} | |
curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${version}.tar.gz | |
tar xzvf elasticsearch-${version}.tar.gz |
This file contains 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
#!/bin/bash | |
# | |
# ========================================================================= | |
# Copyright 2014 Rado Buransky, Dominion Marine Media | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
/* | |
Usage: define 4 variables. and apply this file as below in build.gradle. | |
archivesBaseName = 'doblist' | |
group = 'doblist' | |
version = '1.0.0-SNAPSHOT' | |
System.properties.repoUrl = 'http://REPOSITORY_URL' | |
apply from: 'https://gist.githubusercontent.com/sh1nj1/5c12f2390a9180be4949/raw/9b5711490bc0526ac2bfc3df5aa4a0343e722b52/upload-archives.gradle' |
This file contains 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
actions=true | |
ads=true | |
analytics=true | |
appindexing=true | |
appstate=true | |
auth=true | |
cast=true | |
common=true | |
drive=false | |
dynamic=true |
This file contains 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
task serverJar(type: Jar) { | |
classifier = 'server' | |
from sourceSets.main.output | |
} | |
task removeAnnotation << { | |
ant.echo("strip annotation") |
NewerOlder