Tuesday, December 30, 2008
Saturday, December 13, 2008
simple clone of GitHub Badge
Thanks to jQuery, I just spend three hours to create GitHub Widget, a clone of GitHub Badge. The widget is put in the sidebar of this page.
Compare with GitHub Badge, GitHub Widget is full written in jQuery, so that it is also compatible with IE. And the usage and html structure is full compatible with GitHub Badge.
I host it here temporarily. Please feel free to use it.
Compare with GitHub Badge, GitHub Widget is full written in jQuery, so that it is also compatible with IE. And the usage and html structure is full compatible with GitHub Badge.
I host it here temporarily. Please feel free to use it.
Labels:
github,
javascript,
jquery
github api callback
Not documented on Official GitHub API Guide, GitHub provide "callback" parameter to allow corss-site json accessing.
Example in jQuery:
Example in jQuery:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js' type="text/javascript"></script>
<script>
function myFunction(data) {
// data is the json we would get
}
$.getScript("http://github.com/api/v1/json/username?callback=myFunction")
</script>
Labels:
api,
github,
javascript
Friday, December 5, 2008
OPT presentation
Slide which was uploaded to slideshare.net:
PDF of submitted paper:
http://sites.google.com/site/shelling/Home/archive/opt2008%5Brevisedrelease%5D.pdf?attredirects=0PDF version slide:
http://sites.google.com/site/shelling/Home/archive/opt-presentation.pdf?attredirects=0
Labels:
photonics,
presentation
Subscribe to:
Posts (Atom)