Saturday, July 25, 2015
Friday, June 19, 2015
Thursday, June 11, 2015
Mule Fundamentals Video Tutorial
|
Wednesday, June 10, 2015
Intellij IDEA for Students FREE (1 Year)
Folks,
Jetbrains is offering Intellij IDEA Ultimate Edition for one year FREE for students with edu email address. If you are student and you got .edu email address go and download the most intelligent IDE.
https://www.jetbrains.com/estore/students/
Happy Coding!
Jetbrains is offering Intellij IDEA Ultimate Edition for one year FREE for students with edu email address. If you are student and you got .edu email address go and download the most intelligent IDE.
https://www.jetbrains.com/estore/students/
Happy Coding!
Friday, June 5, 2015
Send Command / Process to Back Ground From Terminal
Here are the list of command to send a process or command to back ground from terminal
1) Press ctrl+z
2) Then type bg (bg means back ground)
3) Then type "disown"
To make sure process is running in back ground execute below command,
ps auxw | grep
1) Press ctrl+z
2) Then type bg (bg means back ground)
3) Then type "disown"
To make sure process is running in back ground execute below command,
ps auxw | grep
Saturday, April 18, 2015
Friday, April 3, 2015
XML To JSON Converter
Have the following jars in the classpath,
commons-beanutils-1.6.1.jar
commons-collections-3.2.jar
commons-lang-2.1.jar
commons-logging-1.1.jar
ezmorph-1.0.4.jar
json-lib-2.3-jdk15.jar
xom-1.0.jar
import net.sf.json.JSON;
import net.sf.json.xml.XMLSerializer;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
public class XML2JSONConverter {
public String convertXMLTOJSON(String inputXML) {
String jsonString = "";
try {
JSON objJson = new XMLSerializer().read(inputXML);
jsonString = objJson.toString();
} catch (Exception e) {
e.printStackTrace();
}
return jsonString;
}
static String convertStreamToString(java.io.InputStream is) {
java.util.Scanner s = new java.util.Scanner(is).useDelimiter("\\A");
return s.hasNext() ? s.next() : "";
}
public static void main(String[] args) throws Exception {
File inputFile = new File("input xml file path");
InputStream inputStreams = new FileInputStream(inputFile);
XML2JSONConverter toJASON = new XML2JSONConverter();
System.out.println("JASON Object:" + toJASON.convertXMLTOJSON(convertStreamToString(inputStreams)));
}
}
commons-beanutils-1.6.1.jar
commons-collections-3.2.jar
commons-lang-2.1.jar
commons-logging-1.1.jar
ezmorph-1.0.4.jar
json-lib-2.3-jdk15.jar
xom-1.0.jar
import net.sf.json.JSON;
import net.sf.json.xml.XMLSerializer;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
public class XML2JSONConverter {
public String convertXMLTOJSON(String inputXML) {
String jsonString = "";
try {
JSON objJson = new XMLSerializer().read(inputXML);
jsonString = objJson.toString();
} catch (Exception e) {
e.printStackTrace();
}
return jsonString;
}
static String convertStreamToString(java.io.InputStream is) {
java.util.Scanner s = new java.util.Scanner(is).useDelimiter("\\A");
return s.hasNext() ? s.next() : "";
}
public static void main(String[] args) throws Exception {
File inputFile = new File("input xml file path");
InputStream inputStreams = new FileInputStream(inputFile);
XML2JSONConverter toJASON = new XML2JSONConverter();
System.out.println("JASON Object:" + toJASON.convertXMLTOJSON(convertStreamToString(inputStreams)));
}
}
Java InputStream to String Covertion
Found this small method to convert InputStream to String, This will help to avoid using Apache IOUtils etc.,
static String convertStreamToString(java.io.InputStream is) {
java.util.Scanner s = new java.util.Scanner(is).useDelimiter("\\A");
return s.hasNext() ? s.next() : "";
}
static String convertStreamToString(java.io.InputStream is) {
java.util.Scanner s = new java.util.Scanner(is).useDelimiter("\\A");
return s.hasNext() ? s.next() : "";
}
Wednesday, February 18, 2015
EP 128 The 12 Step Plan for Creating a Rich Life with Nicole Lapin - SoundCloud
https://soundcloud.com/lewishowes/nicole-lapin
Friday, February 13, 2015
Thursday, February 12, 2015
Thursday, February 5, 2015
My Experience Talk:What I learnt from a year of start up experience
Sirish Reddy Gongal Reddy has sent you a link to a blog:
Blog: My Experience Talk
Post: What I learnt from a year of start up experience
Link: http://www.myexperiencetalk.com/2014/10/what-i-learnt-from-year-of-start-up.html
--
Powered by Blogger
http://www.blogger.com/
Blog: My Experience Talk
Post: What I learnt from a year of start up experience
Link: http://www.myexperiencetalk.com/2014/10/what-i-learnt-from-year-of-start-up.html
--
Powered by Blogger
http://www.blogger.com/
Wednesday, January 7, 2015
Sterling Integrator Purge All Tables
1. EDI_COMPLIANCE_RPT
2. EDI_DOCUMENT_STATE
3. WF_INST_S
4. WORKFLOW_CONTEXT
5. WORKFLOW_LIFESPAN
6. WORKFLOW_DATA
7. EDIINTDOC
8. MSGMDNDUP
9. MSGMDNCORRELATION
10. WEBX_MINED_DATA
11. WF_INACTIVE
12. GENERIC_ACK
13. CORRELATION_SET
14. ACT_SESSION
15. ACT_AUTHENTICATE
16. ACT_AUTHORIZE
17. ACT_XFER
18. ACT_NON_XFER
19. DATA_FLOW
20. DMI_ROUTE
21. DMI_ROUTE_FACT
22. MBX_MESSAGE
23. TRANS_DATA
2. EDI_DOCUMENT_STATE
3. WF_INST_S
4. WORKFLOW_CONTEXT
5. WORKFLOW_LIFESPAN
6. WORKFLOW_DATA
7. EDIINTDOC
8. MSGMDNDUP
9. MSGMDNCORRELATION
10. WEBX_MINED_DATA
11. WF_INACTIVE
12. GENERIC_ACK
13. CORRELATION_SET
14. ACT_SESSION
15. ACT_AUTHENTICATE
16. ACT_AUTHORIZE
17. ACT_XFER
18. ACT_NON_XFER
19. DATA_FLOW
20. DMI_ROUTE
21. DMI_ROUTE_FACT
22. MBX_MESSAGE
23. TRANS_DATA
Tuesday, January 6, 2015
Sunday, November 9, 2014
Startup Notes
Here are the some notes
out of many Start-up entrepreneurs interviews and from their failed stories...
- Every start-up savvy must read all the articles listed
here http://www.paulgraham.com/articles.html
- thehackernews.com or Google it on hacker news.... Post
the product / idea here and get the early feed back and work on it.
- Try out and fail..
- Never work in isolation, Do frequent release of the
product have early user access and pay attention to users feedback. It's
okey to be crappy but fix the damn thing.
- Research the idea in targeted market segment.
- Getting priorities right..Logo is not important :)
Build and Ship.
- Write content and share with right audience and market
your self.
- Customer feedback is extremely important. Let them talk
and listen to them.
How do you turn your mind into the type that
startup ideas form in unconsciously?
(1) Learn a lot about things that matter, then
(2) work on problems that interest you
(3) with people you like and respect. The third part, incidentally, is how you get co-founders at the same time as the idea.
(4) Look for a Startup Mentor, You need one who can guide you in all aspects right from Decisions, Marketing and Customer handling etc..
Thursday, November 6, 2014
Free SSL Certificate (Class1)
http://www.startssl.com/ is good place to get a Class1 SSL Certificate for FREE!!. One User for One Year.
Thursday, October 30, 2014
Monday, September 22, 2014
Wednesday, September 17, 2014
Saturday, September 13, 2014
Network Troubleshooting
Came across this cool URL while I am troubleshooting my port forwarding on Linksys E1200 router.
http://ping.eu/
http://ping.eu/
Friday, September 12, 2014
java.lang.Out OfMemoryError
Unveiling the java.lang.Out OfMemoryError
— When we encounter a java.lang.OutOfMemoryError, we often find that Java heap dumps, along with other artifacts, are generated by the Java Virtual Machine. If you feel like jumping right into a Java heap dump when you get a java.lang.OutOfMemoryError, don’t worry, it’s a normal thought. You may be able to discover something serendipitously, but it’s not always the best idea to analyze Java heap dumps, depending on the situation you are facing. We first need to investigate the root cause of the java.lang.OutOfMemoryError.
http://java.sys-con.com/node/1229281
Saturday, August 16, 2014
Gandi Veeranjaneya Swami Temple, Kadapa
A must visit Sri Verranajaneya Swami temple in Kadapa (Dt). Here is the address,
Sri Veeranjaneya Swami Temple,
Gandi, Vempalli, Kadapa (Dt).
Subscribe to:
Posts (Atom)