#OpenSSL cheat sheet This is a brief howto for socket programmers.
ex: 1024bits length key pair:
$> openssl genrsa -out myprivate.pem 1024
$> openssl rsa -in myprivate.pem -pubout -out mypublic.pem
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
### You can download all the binaries one-shot by just giving the BASE_URL. | |
### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
### Script is updated for every JDK release. | |
### Features:- | |
# 1. Resumes a broken / interrupted [previous] download, if any. | |
# 2. Renames the file to a proper name with including platform info. |
// MarkupBuilder is a lot cleaner way of generating valid xml/html markup | |
// than writing tags as string and forgetting to close one ;) | |
def writer = new StringWriter() // html is written here by markup builder | |
def markup = new groovy.xml.MarkupBuilder(writer) // the builder | |
markup.html{ | |
table { | |
tr { | |
td(class:"row", "hello world!") |