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
| parseInt('06'); // 6 | |
| parseInt('08'); // 0 |
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
| //Begäran: | |
| { | |
| "type" : "reCaptcha", | |
| "host" : "unicodesnowmanforyou.com", | |
| "img" : "ABSDFgewGSHSPGFKSDLKFSD" | |
| } | |
| //Svar: | |
| { | |
| "solved" : "cheesecake", | |
| "errors" : [ "Not enough unicorns", "Server is unicorning" ] |
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
| /* | |
| Why aren't you just deleting all images before update???? | |
| */ | |
| public function saveImages( $movieInfo ){ | |
| if( DONT_SAVE_IMAGES ) return; | |
| // $imageIds = array(); | |
| if( property_exists( $movieInfo, "posters" ) ){ | |
| foreach( $movieInfo->posters as $image ){ | |
| // $imageIds[ count( $imageIds ) ] = $image->image->id; | |
| $this->saveImage( $movieInfo->id, $image->image ); |
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 Person = endtable.Object.extend( | |
| { | |
| sayName: function() { | |
| sys.puts('Hello, my name is ' + this.name + '!'); | |
| } | |
| }, | |
| { | |
| engine: engine, | |
| type: 'person' | |
| } |
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 ben = new Person({ | |
| name: 'Benjamin Coe', | |
| age: 27, | |
| sex: 'male', | |
| interests: ['climbing'] | |
| }); | |
| ben.interests.push('programming'); |
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 endtable = require('endtable'); | |
| var engine = new endtable.Engine({ | |
| database: 'people_example', | |
| username: 'xxxxxx', | |
| password: 'xxxxxx', | |
| host: 'xxxxxx.couchone.com' | |
| }); |
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
| new Person().load({ | |
| keys: 'age', | |
| startkey: 28, | |
| endkey: 50 | |
| }, function(error, people) { | |
| for (var i = 0; i < people.length; i++) { | |
| people[i].sayName(); | |
| } | |
| }) |
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 | |
| function efficient_wp_list_authors($args = '') { | |
| global $wpdb; | |
| $defaults = array( | |
| 'optioncount' => false, 'exclude_admin' => true, | |
| 'show_fullname' => false, 'hide_empty' => true, | |
| 'feed' => '', 'feed_image' => '', 'feed_type' => '', 'echo' => true, | |
| 'style' => 'list', 'html' => true | |
| ); |
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 wp_list_authors('show_fullname=1&optioncount=0'); ?> |
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
| Parts | |
| id name brand category | |
| 1 Monsterchair 5000 ACME wheelchair | |
| 2 green-wheel ACME wheel | |
| 3 blue-wheel ACME wheel | |
| 4 frame-woo 3000 ACME wheelchair-frame | |
| Part-relationship | |
| parent child | |
| 1 4 |
OlderNewer