Skip to content

Instantly share code, notes, and snippets.

View brianhsu's full-sized avatar

Brian Hsu brianhsu

View GitHub Profile
@brianhsu
brianhsu / picasaweb.js
Created November 29, 2011 09:48
PicasaWeb Random Album Widget [JavaScript]
/****************************************************
* PicasaWeb 隨機相簿 JavaScript Widget
*
* 使用方式:
*
* 1. 引入此 JavaScript 檔案
* 2. 在要顯示的地方使用,記得將 [USERNAME] 的部份改成自己的 PicasaWeb 帳號
* <script src="http://picasaweb.google.com/data/feed/base/user/[USERNAME]?kind=album&access=public&alt=json-in-script&callback=showRandomAlbums"></script>
*
****************************************************/
@brianhsu
brianhsu / gist:718878
Created November 28, 2010 12:27
噗浪河道備份工具 by SPlurk.
package org.bone.plurkbackup
import org.bone.splurk._
import org.bone.splurk.constant._
import org.bone.splurk.model._
import java.util.Date
import java.text.SimpleDateFormat
object Main
{