Recent Notes

Displaying keyword search results 31 - 40
Created by Dr. Xi on March 01, 2012 10:17:51    Last update: March 01, 2012 10:17:51
svn does not automatically substitute keywords like $Id$ . To enable keyword substitution, you have to enable it with propset : $ svn propset svn:keywords "Id" README.txt To enable keyword substitution for all files: $ svn propset -R svn:keywords "Id" . The above examples enabled substitution for $Id$ only. Each keyword must be explicitly listed to be substituted. The keywords recognized by svn are: svn:keywords - Keywords to be expanded. Val... To list properties on a file: $ svn proplist README.txt Properties on 'README... To see the svn:keywords for a file: $ svn propget svn:keywords README.txt Id
Created by Dr. Xi on February 25, 2012 09:25:23    Last update: February 25, 2012 09:25:23
By default, Java uses $JAVA_HOME/jre/lib/security/cacerts to very an SSL certificate. You can add a certificate to this file: $ keytool -importcert -alias VeriSignClass3Interna... The default password for cacerts is: "changeit".
Created by Dr. Xi on May 02, 2011 15:59:37    Last update: February 25, 2012 09:16:37
This code snippet gets the default keystore used by the Java keytool and displays the list of aliases along with the key type (certificate or private key). import java.io.File; import java.io.FileInputSt... The default keystore used by the above code is: $HOME/.keystore .
Created by Dr. Xi on February 24, 2012 12:42:09    Last update: February 24, 2012 12:43:00
Use the copy command to restore a deleted file: $ svn copy http://svn.example.com/path/to/svn/repo... @revision must be a revision number before the file was deleted. You can use the info command to view the info before restoring: $ svn info http://svn.example.com/path/to/svn/repo...
Created by woolf on February 17, 2012 13:08:52    Last update: February 17, 2012 13:08:52
The steps: Click File , then Info Click M anage Rules & Alerts Click New Rule in Rules and Alerts To block a sender, select "Move messages from someone to a folder"
Created by woolf on February 17, 2012 13:01:41    Last update: February 17, 2012 13:01:41
The steps: Click File then Info Click Automatic Replies .
Created by voodoo on February 17, 2012 10:40:43    Last update: February 17, 2012 10:40:43
When a certificate is "untrusted" by IE (such as a self-signed certificate), it displays a "Certificate error" icon next to the address bar. It used to be that you can click on that icon, "View certificates", then install it. On Windows 7, because of UAC , the "Install Certificate..." button is no longer displayed. In order to see the button, you have to start IE9 with administrator privileges: right click on the IE9 shortcut icon and select " Run as administrator... ". To save the certificate to a file, click the Details tab on the Certificate dialog, then click " Copy to File... ".
Created by Fang on February 10, 2012 16:17:13    Last update: February 10, 2012 16:17:13
The annotation @org.hibernate.annotations.Type overrides the default hibernate mapping type used for a column. This can usually be omitted since Hibernate normaly infers the correct type to use. But @Type is required in ambiguous scenarios such as a java.util.Date attribute, which can map to SQL DATE , TIME or TIMESTAMP . You use the @Type("timestamp") annotation to tell Hibernate that a timestamp converter should be used, which identifies an instance of org.hibernate.type.TimestampType . @Type can also be used to identify custom type converters, which can be defined with @TypeDef at the class level: @TypeDefs( { @TypeDef( na... or with an xml file: <?xml version="1.0"?> <!DOCTYPE hibernate-mappi...
Created by Fang on February 10, 2012 14:41:03    Last update: February 10, 2012 14:44:01
I wanted to add a jar file to a Maven project but I don't want to create an artifact and install it to the repository. This is a third party jar that will be used only for this project and not shared with other projects, so it's convenient just to drop it in the project folder and package it with the target. Maven provides the system dependency scope to do just that: <dependency> <groupId>com.thirdparty</group...
Created by Fang on February 08, 2012 21:21:01    Last update: February 08, 2012 21:21:17
Just a reminder that I got this error when I set the Java system property javax.net.ssl.trustStore to a non-existing file (typo). The full error message when running Maven was: [ERROR] java.lang.RuntimeException: Unexpected e...
Previous  1 2 3 4 5 6 7 8 9 10 Next