Here is the cool example of using google maps inside bing maps silverlight control. You can also find the example from OpenStreet maps + bing maps sl control
No title available
Mike Driver

No title available
trying on a metaphor
đ

#extradirty

oozey mess
2025 on Tumblr: Trends That Defined the Year

izzy's playlists!
official daine visual archive
almost home
Keni
No title available
hello vonnie
RMH
will byers stan first human second
The Bowery Presents

ellievsbear
"I'm Dorothy Gale from Kansas"

Origami Around

seen from United States
seen from United States

seen from United States
seen from United States

seen from United States

seen from United States

seen from Russia
seen from Venezuela
seen from Venezuela
seen from Venezuela
seen from Venezuela

seen from United States
seen from United States
seen from United Kingdom
seen from United States
seen from United States

seen from United States
seen from United States

seen from Bahrain
seen from United States
@gotbit
Here is the cool example of using google maps inside bing maps silverlight control. You can also find the example from OpenStreet maps + bing maps sl control
OOP in JavaScript
Here is the quick example of inheritance in JavaScript. This example was taken from https://developer.mozilla.org/en/Introduction_to_Object-Oriented_JavaScript
// define the Person Class function Person() {} Person.prototype.walk = function(){}; Person.prototype.sayHello = function(){ alert ('hello'); }; // define the Student class function Student() { // Call the parent constructor Person.call(this); } // inherit Person Student.prototype = new Person(); // correct the constructor pointer // because it points to Person Student.prototype.constructor = Student; // replace the sayHello method Student.prototype.sayHello = function(){ alert('hi, I am a student'); } // add sayGoodBye method Student.prototype.sayGoodBye = function(){ alert('goodBye'); } var student1 = new Student(); student1.sayHello(); student1.sayGoodBye(); // check inheritance alert(student1 instanceof Person); // true alert(student1 instanceof Student); // true
Code Highlight
Hi everyone! Suppose not a lot of people will read this, but this is my first post and i will post some code stuff in this blog (C#, JavaScript, etc.)
And the first problem is code hightlight in Tumblr, an as i see there are 2 options.
1) use javascript prettify script http://code.google.com/p/google-code-prettify/. Here you can reed how to add it to your tumblr blog http://hoffmann.tumblr.com/post/48187664/add-syntax-highlighting-to-tumblr
2) use pygments (http://pygments.org/).
I prefer pygments because you can use it not only to produce final html markup but for example LaTeX or other. All the documentation you can find on pygments site.
And of course the example (XML hightlight):
<?xml DOCTYPE ?> <test attr="value" attr2="anotherValue"> <!-- Comment --> </test>
Use this command to generate full html with css classes:
$ pygmentize -f html -O full -o test.html test.xml