This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "status": 1, | |
| "payload": [ | |
| { | |
| "video_id": "3j3jg43j", | |
| "video_type": "youtube", | |
| "author": "Fulano da silva" | |
| }, | |
| { | |
| "video_id": "wejh484", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).* | |
| Oalo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public static function updateDestaques() | |
| { | |
| $xml = simplexml_load_file( | |
| Yii::app()->params['xml_destaques'] | |
| ); | |
| self::_updateFeed($xml); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| abstract class Badge { | |
| public $nome; | |
| public $pontos; | |
| abstract public function conforms(); | |
| private function __construct() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": { | |
| "estados": [ | |
| { | |
| "nome": "São Paulo", | |
| "ts": "2012-10-10", | |
| "status": "E", | |
| "x": 50, | |
| "y": 70 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var files = [ | |
| 'first.js', | |
| 'second.js', | |
| 'third.js', | |
| 'fourth.js' | |
| ]; | |
| var funcs = files.map(function(file) { | |
| return function() { return $.getScript(file); } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var files = [ | |
| 'first.js', | |
| 'second.js', | |
| 'third.js', | |
| 'fourth.js' | |
| ]; | |
| var scriptsLoaded; | |
| while( files.length ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var performers; | |
| performers = {}; | |
| async.parallel([ | |
| function(callback) { | |
| return conductor.find({}, function(err, result) { | |
| performers.conductor = result; | |
| return callback(err); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function shareFacebook(title, summary, image, url) { | |
| url = url || 'http://dev.digitalbox.cc/clientes/id-pernambucanas-natal2012/'; | |
| window.open('http://www.facebook.com/sharer.php?s=100&p[images][0]=' + image + '&p[url]=' + url + '&p[title]=' + title +' &p[summary]=' + summary); | |
| } | |
| $(function(){ | |
| $('[data-summary]').on('click', function(e){ | |
| e.preventDefault(); | |
| var $this = $(this), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| charsCounter($('.texto'), $('.counter'), 400); | |
| }); | |
| function charsCounter($input, $counter, max) { | |
| $input.bind('keyup', update).bind('paste', update); | |
| function update() { | |
| var numChars = $input.val().length; | |
| var remaining = max - numChars; |
OlderNewer