Monday, August 17, 2015
Sunday, August 16, 2015
Tuesday, August 11, 2015
Encoding a Payload in Sterling Integrator using Java Task
import java.io.InputStream;
import java.lang.StringBuilder;
import com.sterlingcommerce.woodstock.workflow.Document;
import com.sterlingcommerce.woodstock.util.Base64;
Document doc = wfc.getPrimaryDocument();
InputStream in = doc.getInputStream();
StringBuilder sb = new StringBuilder();
for (int i = 0; i < in.available(); i++) {
sb.append(in.read());
}
byte data[] = sb.toString().getBytes();
byte newdata[] = Base64.encode(data);
doc.setBody(new String( ""+ new String(newdata)+" ").getBytes());
return new String(sb.toString());
import java.lang.StringBuilder;
import com.sterlingcommerce.woodstock.workflow.Document;
import com.sterlingcommerce.woodstock.util.Base64;
Document doc = wfc.getPrimaryDocument();
InputStream in = doc.getInputStream();
StringBuilder sb = new StringBuilder();
for (int i = 0; i < in.available(); i++) {
sb.append(in.read());
}
byte data[] = sb.toString().getBytes();
byte newdata[] = Base64.encode(data);
doc.setBody(new String( "
return new String(sb.toString());
Sunday, August 9, 2015
Friday, July 31, 2015
Sir A.P.J Abdul Kalam
Don't take rest after your first victory because if you fail in second, more lips are waiting to say that your first victory was just luck." - A.P.J Abdul Kalam
"All Birds find shelter during a rain. But Eagle avoids rain by flying above the Clouds." - A.P.J Abdul Kalam
"Failure will never overtake me if my definition to succeed is strong enough". - A.P.J Abdul Kalam
"Man needs difficulties in life because they are necessary to enjoy the success." - A.P.J Abdul Kalam
"If you want to shine like a sun. First burn like a sun." - A.P.J Abdul Kalam
"It is very easy to defeat someone, but it is very hard to win someone" - A.P.J Abdul Kalam
"All of us do not have equal talent. But , all of us have an equal opportunity to develop our talents." - A.P.J Abdul Kalam
" Be more dedicated to making solid achievements than in running after swift but synthetic happiness." -A.P.J Abdul Kalam
"Thinking should become your capital asset, no matter whatever ups and downs you come across in your life." - A.P.J Abdul Kalam
" Without your involvement you can't succeed. With your involvement you can't fail. " - A.P.J Abdul Kalam
"All Birds find shelter during a rain. But Eagle avoids rain by flying above the Clouds." - A.P.J Abdul Kalam
"Failure will never overtake me if my definition to succeed is strong enough". - A.P.J Abdul Kalam
"Man needs difficulties in life because they are necessary to enjoy the success." - A.P.J Abdul Kalam
"If you want to shine like a sun. First burn like a sun." - A.P.J Abdul Kalam
"It is very easy to defeat someone, but it is very hard to win someone" - A.P.J Abdul Kalam
"All of us do not have equal talent. But , all of us have an equal opportunity to develop our talents." - A.P.J Abdul Kalam
" Be more dedicated to making solid achievements than in running after swift but synthetic happiness." -A.P.J Abdul Kalam
"Thinking should become your capital asset, no matter whatever ups and downs you come across in your life." - A.P.J Abdul Kalam
" Without your involvement you can't succeed. With your involvement you can't fail. " - A.P.J Abdul Kalam
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
Subscribe to:
Posts (Atom)