Nice jQuery plugin that easily enhances your tables and even provides a pager if needed. The plugin is also Bootstrap compliant.
morris.js is a really nice chart lib for jQuery, that provides line, bar and donut charts.
Holland America Line’s fleet of 15 cruise ships offer nearly 500 cruises to many locations worldwide.
Holland America organizes regular competitions to win a cruise ship visit. The website database gets reset after each draw and starts fresh for the next cruise ship visit competition.
“PhoneJS contains everything you’ll need to create native client applications using HTML5 and JavaScript with a single codebase and deliver solutions that target today’s most popular smartphones and tablet devices.
With a touch-optimized user experience, natively rendered widgets, straightforward page navigation, view management, and data access layers, PhoneJS is a single page application (SPA) framework for your next iOS, Android and WindowsPhone application, ready for online publication or packaged as a store-ready native app using Apache Cordova (PhoneGap).”
Really thinking about using it for one of my upcoming projects. Best documentation I have seen for a long time. Will build a test app next year :)
Make a use of your favicon with badges, images or videos
favicon.js or on Github
1 2 3 4 5 |
function get_linkedin() { $json_string = $this->file_get_contents_curl("http://www.linkedin.com/countserv/count/share?url=$this->url&format=json"); $json = json_decode($json_string, true); return isset($json['count'])?intval($json['count']):0; } |
Shares only
1 2 3 4 5 |
function get_likes($url) { $json_string = file_get_contents('http://graph.facebook.com/?ids=' . $url); $json = json_decode($json_string, true); return intval( $json[$url]['shares'] ); } |
Shares & Likes
1 2 3 4 5 6 7 8 9 10 11 12 |
function get_likes($url) { $json_string = file_get_contents(‘http://graph.facebook.com/?ids=’ . $url); $json = json_decode($json_string, true); $like_count = 0; if (isset($json[$url]['shares'])) $like_count += intval($json[$url]['shares']); if (isset($json[$url]['likes'])) $like_count += intval($json[$url]['likes']); return $like_count; } |
1 2 3 4 5 |
function get_tweets($url) { $json_string = file_get_contents('http://urls.api.twitter.com/1/urls/count.json?url=' . $url); $json = json_decode($json_string, true); return intval( $json['count'] ); } |