My mistakes

Install eclipse and then

Help -> Software Updates -> Available Software -> Add Site

put http://subclipse.tigris.org/update_1.8.x in input field

check two checkboxes:

1) Subclipse

2) SVNkit Adapter (Important, the default JavaHL adapter doesn’t support SSH and public key authentication)

accept everything and install it

Verify the SVN client is SVNKit ->Window -> Preferences -> Team -> SVN ( select the SVNKit. in the Client dropdown )

Now checkout the project

Right click in explorer -> New -> Project -> SVN folder -> Checkout projects from SVN -> Next -> Create a new repository location

Enter the location of the project you’re checking out e.g.
svn+ssh://example.com/repo/

Press Next

Enter SSH credentials.
next, next… and ready.

Advertisements

Sometimes this issue may related to the protocol which we are using to connect with aws dynamodb. By default it is using the protocol https to connect with the AWS. So try the http protocol.

To resolve this issue try the below code:

amazonDynamoDBClient = new AmazonDynamoDBClient(credentials);
amazonDynamoDBClient .setEndpoint(“http:///”);

Note: replace the with the appropriate endpoint

unoconv: Convert between any document format supported by OpenOffice

For more information :
http://dag.wieers.com/home-made/unoconv/#download

Tags:

create table test_table(id integer unsigned,cName varchar(50));

insert into test_table values(1,’test1′);
insert into test_table values(2,’test2′);
insert into test_table values(3,’test3′);

select group_concat(cName separator ‘,’)
from test_table

+———————————-+
| group_concat(cName separator ‘,’) |
+———————————-+
| test1,test2,test3 |
+———————————-+

But now,I want to limit the group_concat to the first two rows of the result:

+———————————-+
| group_concat(name separator ‘,’) |
+———————————-+
| test1,test2 |
+———————————-+

Solution :
We cannot use the limit with the group_concat so the better solution is to go for SUBSTRING_INDEX like

SELECT
SUBSTRING_INDEX(group_CONCAT(cName) , ‘,’, 2) as cName from test_table

Tags:

This issue is mainly related to the source path setting . To solve this issue ensure the source path is setup correctly.

For verifying the source path use
Project(Menu)
=> Properties
=> Java Build Path
=> Source (select the appropriate src files)

After setting up the src
1) While running select the type of the application
2) Select the appropriate file with the main function

Quick fix
$subject= mb_encode_mimeheader($subject,”UTF-8″, “B”, “\n”);

Tags: