ssh-keygen Tutorial – Generating RSA and DSA keys by Guy Rutenberg
Simple guide to generate rsa 2048
Enhancing your expertise in Java, Kubernetes, Spring Boot, AWS, BTC, and ETH can significantly elevate your career prospects in the ever-evolving tech industry. Welcome to my blog, where I share insights and resources to help you master these key technologies and stay ahead of the curve. Enhance your tech skills with insights on Java, Kubernetes, Spring Boot, AWS, BTC, and ETH. Master advanced topics and stay updated with practical tips and tutorials!
ssh-keygen Tutorial – Generating RSA and DSA keys by Guy Rutenberg
Simple guide to generate rsa 2048
export MAVEN_OPTS= "-Xmx1024m -Xms1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
Reference:
http://vikashazrati.wordpress.com/2007/07/26/quicktip-how-to-increase-the-java-heap-memory-for-maven-2-on-linux/
https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors
|
super.setIntegerProperty("splashscreen", R.drawable.splash);
super.loadUrl("file:///android_asset/www/index.html", 5000);
navigator.splashscreen.hide();but that call isn't ready yet. However, if you want to be on the bleeding edge you should be able to call:
cordova.exec(null, null, "SplashScreen", "hide", []);but you are wait out on the edge there so don't blame me if it doesn't work. Then you'll be able to tell the splash screen to go away once you have "deviceready".
document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { console.log("We got device ready"); cordova.exec(null, null, "SplashScreen", "hide", []); // Soon to be // navigator.splashscreen.hide(); }
CA.pl
(see man-page), TinyCA or OpenCA amongst others. Some operating systems also provide their own small CA capabilities.If I connect using my own domainname or IP address, I know I'm the owner. What additional value does an SSL certificate provide if I'm the owner of both ends of a connection?
SchemeRegistry schemeRegistry = new SchemeRegistry();
// http scheme
schemeRegistry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
// https scheme
schemeRegistry.register(new Scheme("https", new EasySSLSocketFactory(), 443));
HttpParams params = new BasicHttpParams();
params.setParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, 30);
params.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, new ConnPerRouteBean(30));
params.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false);
HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);
ClientConnectionManager cm = new ThreadSafeClientConnManager(params, schemeRegistry);
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.binary.Hex;
public class TestMessageDigest {
/**
* @param args
*/
public static void main(String[] args) {
TestMessageDigest test = null;
String rawPass = "passwordInClearTxt";
String encodedPass = null;
test = new TestMessageDigest( "SHA-256", true );
encodedPass = test.encodePassword( rawPass );
System.out.println( encodedPass );
test = new TestMessageDigest( "SHA-256", false );
encodedPass = test.encodePassword( rawPass );
System.out.println( encodedPass );
test = new TestMessageDigest( "SHA-512", true );
encodedPass = test.encodePassword( rawPass );
System.out.println( encodedPass );
test = new TestMessageDigest( "SHA-512", false );
encodedPass = test.encodePassword( rawPass );
System.out.println( encodedPass );
}
private TestMessageDigest(String algorithm, boolean encodeHashAsBase64) {
super( );
this.algorithm = algorithm;
this.encodeHashAsBase64 = encodeHashAsBase64;
}
private String algorithm;
private boolean encodeHashAsBase64 = false;
public String encodePassword(String rawPass) {
MessageDigest messageDigest = getMessageDigest( );
byte[] digest;
try {
digest = messageDigest.digest( rawPass.getBytes( "UTF-8" ) );
} catch ( UnsupportedEncodingException e ) {
throw new IllegalStateException( "UTF-8 not supported!" );
}
if ( encodeHashAsBase64 ) {
return new String( Base64.encodeBase64( digest ) );
} else {
return new String( Hex.encodeHex( digest ) );
}
}
protected final MessageDigest getMessageDigest()
throws IllegalArgumentException {
try {
return MessageDigest.getInstance( algorithm );
} catch ( NoSuchAlgorithmException e ) {
throw new IllegalArgumentException( "No such algorithm ["
+ algorithm + "]" );
}
}
}
Recently bloggers tend to shorten their URLs in as much as their posting becomes totally boring. I won’t click /2008/06/27/google if I see only the URLs (like, say, in an email) but I will click google-files-for-bankrupcy
Word separator | Disadvantages | Example |
Space | URL encoded as %20 (makes the URL not easy to read). This may also prevent from sharing the URL in some social bookmarking services. | /word1%20word2 |
& | URL encoded as %26 (makes the URL not easy to read). This may also prevent from sharing the URL in some social bookmarking services. | /word1%26word2 |
Comma (,) or period (.) | Abused by spammers | /word1.word2 OR /word1,word2 |
Underscore | Traditionally it isn’t seen by search engines as a word separator (this is slowly changing now) | /word1_word2 |
Hyphen | NONE | /word1-word2 |