Saturday, March 23, 2013
Sunday, March 17, 2013
Create blog post using Linux terminal - GoogleCL (Google CommandLine)
As you know Linux terminal is a very powerful tool which allows the user to perform almost everything on your Linux machine. It is the best tool a developer should get used to. Most developers use Google services such as email, blogger, youtube, docs, calender, picasa and finance. In order to consume these services users have to use a web browser like Firefox or Chrome. But can't we use our best tool, Linux terminal for it.
googlecl allows above services to be accessed via Linux commandline. You can
sudo apt-get install google
The syntax for any command is
googleSERICE TASK
services include blogger, docs, contacts, youtube, picaza and finance
Create a blog post
google blogger post --title "Terminal Blogging" "This post is created via Linux terminal"
List your contacts
google contacts list Udara
List your google docs
google docs list
Upload images to Picasa
google picasa create "Terminal images" ~/photos/*.jpg
Upload videos to Youtube
More examples can be found from the example page.
googlecl allows above services to be accessed via Linux commandline. You can
- Create blog posts
- Add calendar events
- View your google docs
- Add calendar events
- Upload images to Picasa
- Upload videos to Youtube
sudo apt-get install google
The syntax for any command is
services include blogger, docs, contacts, youtube, picaza and finance
Create a blog post
google blogger post --title "Terminal Blogging" "This post is created via Linux terminal"
List your contacts
google contacts list Udara
List your google docs
google docs list
Upload images to Picasa
google picasa create "Terminal images" ~/photos/*.jpg
Upload videos to Youtube
More examples can be found from the example page.
Friday, March 15, 2013
Debugging and Logging WSO2 ESB SOAP messages
In order to log and see the SOAP messages that comes in to and goes out from WSO2 ESB add the following entries to the log4j.properties file
log4j.logger.org.apache.synapse.transport.passthru.wire=DEBUG log4j.logger.httpclient.wire.content=DEBUG
You can find some more loging varieties from [1].
[1] http://hc.apache.org/httpcomponents-client-ga/logging.html
log4j.logger.org.apache.synapse.transport.passthru.wire=DEBUG log4j.logger.httpclient.wire.content=DEBUG
You can find some more loging varieties from [1].
[1] http://hc.apache.org/httpcomponents-client-ga/logging.html
Subscribe to:
Posts (Atom)