Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am liyanchang on github.
  • I am ldchang (https://keybase.io/ldchang) on keybase.
  • I have a public key whose fingerprint is 3AC8 5788 9BA0 5402 409F 43CC CA30 553C 64D4 A6CF

To claim this, I am signing this object:

/**
* Like, basically PERFECT scrollbars
*/
/*
It's pure CSS.
Since a quick google search will confirm people going crazy about Mac OS Lion scrollbars...
this has no fade-out effect.
In Mac OS Lion, the lowest common denominator is always showing scrollbars by a setting.
var conversions = {
'origin': {},
'mythumb': {
'w': 200,
'format': 'jpg'
},
};
filepicker.getFile('*/*', {multiple: true, container:'window', metadata: true, conversions: conversions}, function(url, data){
<?php
$logo_url = 'https://www.filepicker.io/api/file/3H-lP2NNQ3G9d0jyjP8T';
$ch = curl_init($logo_url);
$fp = fopen("example_homepage.txt", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
print curl_exec($ch);