Recent Notes

Displaying notes 1 - 10
Created by Міша on January 11, 2017 00:40:37    Last update: January 11, 2017 00:41:41
Thank you very much for these instructions. Based on these, I was able to implement a script to automate the conversion of regular certificate/key pair into a JKS. Apparently, the keytool-executable has improved since this "recipe" was written. Instead of renaming the alias later, it is now possible to specify separate source and destination aliases at the time of importing: keytool -importkeystore -srckeystore openssl_c... Also, for people doing this in order to use Tomcat with SSL, it is quite important to have the key saved inside the keystore to use the same password as the store's own: keytool -importkeystore \ -srckeystore $p1...
Created by Міша on January 11, 2017 00:33:58    Last update: January 11, 2017 00:34:56
You do not have to concatenate certificate with its key -- openssl has an option for a separate key-file: openssl pkcs12 -export -in openssl_ca3.pem -out op...
Created by Sanjay on July 03, 2015 05:11:23    Last update: July 03, 2015 05:11:23
<html> </head> <title>Img Element Maker</title> <script language="javascript" type="text/javascript" src="Img_maker.js"></script> <script language="javascript" type="text/javascript"> function x() { var image = document.getElementById("input").value ; var x = imgtag(image); document.getElementById("output").value = x ; } function c() { var k=document.getElementById("input").value.split("").join("").replace(/\s*/gm,'').replace(/\n/gm,'') ;document.getElementById("input").value=k; } </script> </head> <body onload="" bgcolor="ccccfc"> <h5><strong>Img Element Maker</strong></h5> <button type="button" onClick="x();"><noBr>Create JPEG Image Element using SRC of Base64 encoded string of the bellow textarea value.</button> <br><br> Input Field:: <textarea id="input" rows="20" cols="100%" wrap="hard" onclick="c();" style="color:blue;background-color:#ccccfc;font-size:12px;">San jay Kum ar Moh anta</textarea> <br><br> Output Field:: <textarea id="output" rows="20" cols="100%" wrap="hard" style="color:blue;background-color:#ccccfc;font-size:12px;" onClick=''></textarea> <br><br><br> </body> </html>
Created by Sanjay on July 03, 2015 02:57:05    Last update: July 03, 2015 02:57:05
<html> <script language="javascript" type="text/javascript" src="Img_maker.js"></script> <script language="javascript" type="text/javascript"> function x() { var image = document.getElementById("input").value ; var x = imgtag(image); document.getElementById("output").value = x ; } function c() { var k=document.getElementById("input").value.split("").join("").replace(/\s*/gm,'').replace(/\n/gm,'') ;document.getElementById("input").value=k; } </script> <body onload="" bgcolor="ccccfc"> <button type="button" onClick="x();"><noBr>Create JPEG Image Element using SRC of Base64 encoded string of the bellow textarea value.</button> <br><br> Input Field:: <textarea id="input" rows="20" cols="100%" wrap="hard" onclick="c();" style="color:blue;background-color:#ccccfc;font-size:12px;">San jay Kum ar Moh anta</textarea> <br><br> Output Field:: <textarea id="output" rows="20" cols="100%" wrap="hard" style="color:blue;background-color:#ccccfc;font-size:12px;" onClick=''></textarea> <br><br><br> </body> </html>
Created by Sanjay on July 03, 2015 02:31:54    Last update: July 03, 2015 02:47:31
I have tried as bellow but failed to get 8 bit binary string : Help please. __________________________________________________________________ <html><head><body> <script language="javascript" type="text/javascript"> function text2Binary() { var output = document.getElementById("input"); var input = document.getElementById("output").value ; output.value = "" ; for (var i=0; i<input.length; i++) { var x = input .charCodeAt(0).toString(2); output.value += x + " " ; } } </script> </head> <body> <button type="button" onClick="text2Binary();">Text to Binary</button> Text String: <textarea id="input" autofocus rows="8" cols="90%" onChange="text2Binary();" onKeyup="text2Binary();"></textarea> <br><br> Binary String: <textarea id="output" rows="8" cols="90%"></textarea> </body></html> __________________________________________________________________
Created by jerrysivan on May 05, 2015 11:18:28    Last update: May 05, 2015 11:18:28
Thanks for your sharing on the Java CSV parser library comparisons. Recently I used a powerful library "uniVocity-parsers" in my own project, and I found it powerful with simplified API for developers. I just need several lines to read/write CSV data, and the code is simple. I'd like to add this library into your comparisons table. Thanks. You can find more information on uniVocity-parsers at it's homepage and Github
Created by James on April 11, 2015 12:41:12    Last update: April 11, 2015 12:41:24
This didn't work in the Android browser (but worked in Firefox under Android): .hero { background: url(images/bg.jpg) no-... This worked: .hero { background: url(images/bg.j...
Created by Dr. Xi on April 07, 2015 10:20:38    Last update: April 07, 2015 10:20:38
Use the iwconfig command to display the status of the current wifi connection. $ iwconfig wlan3 IEEE 802.11bgn ESSID:"urw...
Created by Dr. Xi on April 07, 2015 10:17:30    Last update: April 07, 2015 10:17:30
Use the iwconfig command to increase the wifi transmission power: $ sudo iwconfig wlan3 txpower 27
Created by Dr. Xi on April 07, 2015 10:13:46    Last update: April 07, 2015 10:15:46
Set regulatory domain to US: $ sudo iw reg set US Show info about the regulatory domain: $ iw reg get country US: (2402 - 2472 @ 40)...
Previous  1 2 3 4 5 6 7 8 9 10 Next