Thursday, June 30, 2016

Create schema tags using JSON-LD

Schema Tags

Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.

Schema.org vocabulary can be used with many different encodings, including RDFa, Microdata and JSON-LD. These vocabularies cover entities, relationships between entities and actions, and can easily be extended through a well-documented extension model.

Over 10 million sites use Schema.org to markup their web pages and email messages. Many applications from Google, Microsoft, Pinterest, Yandex and others already use these vocabularies to power rich, extensible experiences.

Schema.org is sponsored by Google, Microsoft, Yahoo and Yandex. The vocabularies are developed by an open community process, using the public-schemaorg@w3.org mailing list and through GitHub.

A shared vocabulary makes it easier for webmasters and developers to decide on a schema and get the maximum benefit for their efforts. It is in this spirit that the sponsors, together with the larger community have come together, to provide a shared collection of schemas.


JSON- LD example
 Type webpage
<script type="application/ld+json">
{
 "@context": "http://schema.org",
  "@type": "WebPage",
  "headline":"What We Do",
  "description":"Work description"
}
</script>
Type Service 
<script type="application/ld+json">
{
  "@context": "http://www.schema.org",
  "@type": "Service",
  "name": "Development",
  "description": "Details about your work."
}
</script>


Put these script at end of page.

Monday, January 11, 2016

Vlc player split screen to single screen



Vlc shows a split screen when I play a movie? - I downloaded a movie, and when I tried to play it using VLC, it shows a split screen, meaning the screen is divided into two panels, each showing exactly the same picture. I tried other players (WMP, Quick player) and the same thing goes.


Steps to fix vlc split screen into screen:
1 . Open Vlc.
2 . Tools
3 . Effects and filters
4 . Video Effects
5 . (Change Tab)>Advanced (Tab)
6 . Check Anaglyph 3D.
Its done enjoy.


Monday, November 2, 2015

Add dynamic class in limesurvey questions


Steps to add dynamic classes in limesurvey questions.

  1. Login to lime admin panel.
  2. Select survey from list.
  3. Select group in which your question exist.
  4. After selecting group question will be listed.
  5. From question list select in which you want to add dynamic class.
  6. After selecting question click on " edit current question" from question tool bar.
  7. It will look like below.

 8. Click on source in question edit tool bars (Array type question is here dummy question text ).
 9. After clicking on source it will look like below image.


 10. After question paste the below given script.

<script type="text/javascript" charset="utf-8">


        $(document).ready(function(){ 
$('#question{QID}').addClass('hello');
});


</script>

11. After pasting it will look like


12. After paste again click on source to back normal view and save .
13. No more steps done.

Enjoy.


Friday, October 9, 2015

Stop facebook from automatically playing video on android

I felt annoying on facebook android app while scrolling videos plays automatically. I found the solution so thought it may be useful for someone else.

Below i'm writing clear and precised steps to stop video play automatically on android.

Steps:
  1. Open facebook aap on android.
  2. Login with registered email or mobile and respective password.
  3. Swipe left and you will get lots of options like this i have added screen below.


4. Scroll down and find "App Setting"  click on that.
5. Then you will get screen like this that i have added below.



6. Click on "Videos play automatically" and select off.
7. Done

Enjoy!!


Saturday, October 3, 2015

The Monk Who Sold His Ferrari


The Monk Who Sold His Ferrari is a self-help book about the development of character and discipline in life, written by Robin Sharma, a writer and leadership guru. It conveys a message that one should also live his life freely in spite of working all day.

Publication

The first edition of 'The Monk Who Sold His Ferrari' was published in 1997 by Harper Collins Publishers. The book was well received. It became a best seller with more than three million copies sold (as of 2013).The book has been translated into more than 70 languages and published in over 50 nations. It is also one of the top selling personality development books in Indian cities like Chennai, Bangalore and Kolkata. Sharma also wrote a sequel, The Secret Letters Of The Monk Who Sold His Red Ferrari, another book on self-management and character development.

Synopsis

e book develops around two characters, Julian Mantle and John, in the form of conversation. Julian narrates his spiritual experiences during a Himalayan journey which he undertook after selling his holiday home and red Ferrari. A successful trial lawyer, Julian collapsed from a heart attack while arguing a case in court, and his lengthy recovery led him to seek a spiritual path in the Himalayan mountains after receiving wise and practical lessons which brought drastic changes in his life.



content courtesy: wikipedia

Tuesday, September 29, 2015

Facebook says supporting Digital India is not backing Internet.org


“There is absolutely no connection between updating your profile picture for Digital India and registering support for Internet.org”.

With Facebook’s tricolour profile picture tool to support Digital India project facing criticism of promoting its controversial Internet.org programme, the social media giant on Tuesday said there was no connection between the two and that it will change the wrong code to eliminate any confusion.
Ahead of his meeting with Prime Minister Narendra Modi, Facebook CEO Mark Zuckerberg put up a profile picture emblazoned with the Indian tricolour to show support for Mr. Modi’s Digital India initiative. Facebook also launched a tool to allow its users to change their profile pictures to support the Indian initiative.
However, a controversy brewed on social media with internet activists claiming that anyone changing their profile pictures using the tool was supporting Facebook’s Internet.org programme.
Blaming an engineer for the “mistake”, Facebook said the product in no way connects to or registers support for Internet.org.
“There is absolutely no connection between updating your profile picture for Digital India and registering support for Internet.org,” Facebook said in a statement.
An engineer mistakenly used the words “Internet.org profile picture” as a shorthand name he chose for part of the code, it added.
“But this product in no way connects to or registers support for Internet.org. We are changing the code today to eliminate any confusion,” the statement said.
Facebook has continued to defend the initiative that offers free access to basic internet services to consumers.
India has over 8 lakh users under the Internet.org initiative.
Internet activists have criticised the Internet.org platform, which has recently been rebranded as Free Basics, to be in violation of the principle of net neutrality that is against any priority being accorded to an entity in internet traffic flow on account of payments to service providers like telecom companies.
In a recent interview, Mr. Zuckerberg said it is important to get the debate on net neutrality “right” in India as the country is home to the world’s largest population of the “unconnected”.
He added that the regulatory framework needs to protect net neutrality for consumers and also ensure that companies are allowed to work on new models for stepping up internet access.

content courtesy : The Hindu

Saturday, September 26, 2015

Use multiple skype account same time on ubuntu


I was wondering from long time that how i can my two skype acoounts at the same time . I lots of people having. Like personal and official account.

It's simple step there is no need of any engineering to do that. Just follow the steps properly and it will be done in few second.

Steps:


  1. Open skye and logged in with first account then
  2. Open terminal (command prompt) by clickingon search application area located on top left. Or you can use shortcut (ctrl+t).
  3. When terminal is open type the below command.
  4. skype --secondary
  5. Another Instance of skype will be opened 
  6. Login with another skype id in new instance  
  7. And all done .
Enjoy the easy life.