一些typecho的插件

Dewplayer音乐播放插件
很小巧的一个FlashMp3Player,在wordpress上有插件,这个是从wordpress移植到typecho上的。很符合我的风格。
代码演示(实际使用时将两处mp4改成mp3,且该插件只支持mp3):
音乐地址
实例演示(音乐:Whitney Houston & Mariah Carey两大天后的神级作品When You Believe):
http://music.jpoping.org/music2/believe.mp3

GeShi代码高亮显示插件
代码演示(实际使用时,将两处cod改成code):
你的cpp代码实例演示(Huffman编码):
#include #include typedef struct { char ch; /*当前结点表示的字符,对于非叶子结点,此域不用*/ char code[2]; int weight; /*当前结点的权值*/ int parent; /*当前结点的父结点的下标,为0时表示无父结点*/ int lchild,rchild; /*当前结点的左,右孩子结点的下标,为0时表示无孩子结点*/ } HuffmanTree; //查找根节点权值最小的2棵二叉树: void Select(HuffmanTree HT[],int n,int *min1,int *min2) { int i; unsigned int temp1=0; unsigned int temp2=0; unsigned int temp3; for (i=1; i<=n; i++) { if (HT[i].parent==0) { if (temp1==0) { temp1=HT[i].weight; (*min1)=i; } else { if (temp2==0) { temp2=HT[i].weight; (*min2)=i; if (temp2temp1&&HT[i].weight

Only One Comment »

  1. 我爱TE V.V

Leave a Comment »


贴图