Web Site: http://jscamp.asia/ Twitter: http://twitter.com/jscamp_asia
Ping me @cheeaun on Twitter if you found some awesome stuff for #jscamp. This gist will be updated whenever there's new stuff.
09:07 -!- Irssi: Join to #webconf.tw was synced in 133 secs | |
09:08 < MouseMs> 大家早安 | |
09:08 < locy69> 早安 | |
09:09 < StarNight> 早安!~ | |
09:10 < MouseMs> [SITCON] 答案填寫單將於9:30開放submit答案 PS:同時也會開放第五題唷 今天的題目都比較簡單 歡迎大家挑戰:) | |
09:13 < bency> 早安 | |
09:13 < BeataLin> 早安! | |
09:21 < SITCON> 今天也有3題等著大家挑戰唷^^ | |
09:23 < kikiqqp_> 今天R0的有線網路有點怪怪的 | |
09:25 < ChAndrew> Good Morning!! |
09:03 < MouseMs> 早安 :) | |
09:08 < BeataLin> 早安 | |
09:10 < carlcarl> 喔喔 看來是這裡@@ | |
09:14 < sss2500> 早安 | |
09:14 < carlcarl> 還想說怎麼無線都連不上XD | |
09:16 < BeataLin> 不好意思,請問一下附近有投幣面紙嗎 | |
09:17 < carlcarl> 問一下工作人員看看?? | |
09:17 < BeataLin> 謝謝 | |
09:26 < kikiqqp> 座位表座位表(敲碗) |
Web Site: http://jscamp.asia/ Twitter: http://twitter.com/jscamp_asia
Ping me @cheeaun on Twitter if you found some awesome stuff for #jscamp. This gist will be updated whenever there's new stuff.
//@see http://halgatewood.com/get-number-of-facebook-likes-for-a-url/ | |
<?php | |
function get_fb_likes($url) | |
{ | |
$query = "select total_count,like_count,comment_count,share_count,click_count from link_stat where url='{$url}'"; | |
$call = "https://api.facebook.com/method/fql.query?query=" . rawurlencode($query) . "&format=json"; | |
$ch = curl_init(); | |
$this->load->library('simple_html_dom'); | |
$raw = file_get_html('http://faisalbd.com'); | |
foreach($raw->find('a') as $element){ | |
echo $element->href . '<br>'; | |
} |
n=1 | |
Rate Mem filter.intersect filter.foreach foreach array_map.funcname array_map.closure | |
filter.intersect 17K/s 0B -- -8% -3% -1% -1% | |
filter.foreach 1K/s 0B 1208% -- -42% -16% -15% | |
foreach 597/s 0B 2875% 238% -- -39% -37% | |
array_map.funcname 238/s 1M 7221% 597% 251% -- -93% | |
array_map.closure 222/s 0B 7716% 638% 268% 106% -- | |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Hello FB</title> | |
</head> | |
<body> | |
<div id="fb-root"></div> | |
<div id="fb-content"></div> | |
<div> |
Source http://brooky.cc/2012/05/18/給工程師-生命就該浪費在有意義的事上 | |
給工程師 – 生命就該浪費在有意義的事上 | |
Posted on May 18, 2012 by brooky | |
前幾天看了 Mr. jamie 的文章年輕人,勇敢加入「明日」的台積電吧!, 剛好幾前天朋友也轉寄了一篇Life is too short to write shitty software給我,裡面講到 | |
Life’s too short to be creating shitty software. |
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers
I have always struggled with getting all the various share buttons from Facebook, Twitter, Google Plus, Pinterest, etc to align correctly and to not look like a tacky explosion of buttons. Seeing a number of sites rolling their own share buttons with counts, for example The Next Web I decided to look into the various APIs on how to simply return the share count.
If you want to roll up all of these into a single jQuery plugin check out Sharrre
Many of these API calls and methods are undocumented, so anticipate that they will change in the future. Also, if you are planning on rolling these out across a site I would recommend creating a simple endpoint that periodically caches results from all of the APIs so that you are not overloading the services will requests.