First Entry
2014-05-25
##My blog on GitHub Generally, this is a test entry.
##Test code hightlight
$('#disqus_container .comment').on('click',function(){ $(this).html('加载中...'); var disqus_shortname = 'beiyuu'; var that = this; BYB.includeScript('http://' + disqus_shortname + '.disqus.com/embed.js',function(){$(that).remove()}); //这是一个加载js的函数 });
// sort list from less to greater // a_sortList: the list waiting to be sorted // a_max: numbers of element in the list int& bubbleSort(int a_sortList[], int a_max) { int temp = 0; // i is the counter, start from a_max - 1, minus by 1 every loop for (int i = 0; i < a_max - 1; ++i) { // compare every adjacent pair, move the greater one to the right side for (int j = 0; j < a_max - 1 - i; ++j) { if (a_sortList[j] > a_sortList[j + 1]) { temp = a_sortList[j]; a_sortList[j] = a_sortList[j + 1]; a_sortList[j + 1] = temp; } } } return *a_sortList; }
##Insert image My lovely Baybay.
##Insert video from youtube <!–
–>
</embed>
##Insert video from youku
</embed>