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
| // https://solidsoft.wordpress.com/2014/11/13/gradle-tricks-display-dependencies-for-all-subprojects-in-multi-project-build/ | |
| allprojects { | |
| task allDeps(type: DependencyReportTask) {} | |
| } |
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
| #!/bin/bash | |
| wget -q -O - http://www.wieistmeineip.de/ | grep -A2 '<div id="ipv4"' |
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
| nltest /dclist:adesso.local |
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
| openssl s_client -showcerts -state -crlf -ign_eof -connect www.heise.de:443 |
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
| openssl x509 -in Deutsche_Telekom_Root_CA_2.pem -noout -text | less | |
| openssl x509 -in Deutsche_Telekom_Root_CA_2.pem -noout -issuer -subject| less | |
| openssl x509 -in Deutsche_Telekom_Root_CA_2.pem -noout -serial -fingerprint -issuer -subject -dates | less | |
| # Check an MD5 hash of the public key to ensure that it matches with what is in a CSR or private key | |
| # source: https://www.sslshopper.com/article-most-common-openssl-commands.html | |
| openssl x509 -noout -modulus -in certificate.crt | openssl md5 | |
| openssl rsa -noout -modulus -in privateKey.key | openssl md5 | |
| openssl req -noout -modulus -in CSR.csr | openssl md5 |
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
| openssl x509 -inform DER -in Deutsche_Telekom_Root_CA_2.cer -outform PEM -out Deutsche_Telekom_Root_CA_2.pem |
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
| #!/bin/bash | |
| deleteGradleCache() { | |
| local id=$1 | |
| if [ -z "$id" ]; then | |
| echo "Please provide an group or artifact id to delete" | |
| return 1 | |
| fi | |
| find ~/.gradle/caches/ -type d -name "$id" -prune -exec rm -rf "{}" \; -print | |
| } |
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
| // found here: http://jdpgrailsdev.github.io/blog/2014/10/28/gradle_resolve_all_dependencies.html | |
| task resolveDependencies { | |
| doLast { | |
| project.rootProject.allprojects.each { subProject -> | |
| subProject.buildscript.configurations.each { configuration -> | |
| resolveConfiguration(configuration) | |
| } |
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
| #!/bin/bash | |
| # ... | |
| # usage: deleteGradleCache groupId | |
| deleteGradleCache() { | |
| local id=$1 | |
| if [ -z "$id" ]; then | |
| echo "Please provide an group or artifact id to delete" | |
| return 1 |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json] | |
| "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" | |
| "Encoding"=dword:00013880 | |
| [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/hal+json] | |
| "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" | |
| "Encoding"=dword:00013880 |