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 fct_one = function (callback){ | |
| callback(null,Math.random()*10000); | |
| }; | |
| async.parallel({ | |
| one: fct_one, | |
| two: function(callback){ | |
| callback(null,2); | |
| }, | |
| three:fct_one | 
  
    
      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
    
  
  
    
  | async.parallel([ | |
| function(callback){ | |
| setTimeout(function(){ | |
| console.log('flag1'); | |
| callback(null,{"flag1":new Date()}); | |
| }, 2000); | |
| }, | |
| function(callback){ | |
| setTimeout(function(){ | |
| console.log('flag2'); | 
  
    
      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
    
  
  
    
  | # 1ere règle | |
| tell application "Adium" | |
| go away with message "Podomoro en cours | back at " & (time string of ((current date) + 25 * minutes)) | |
| end tell | |
| # 2eme règle | |
| tell application "Adium" | |
| go available | |
| end tell | 
  
    
      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 | |
| // Utilisable dans le CMS Drupal | |
| $wrapper = entity_metadata_wrapper('node', $node); | |
| dsm($wrapper->book->author->mail->value()); | |
| dsm($wrapper->book->title->value()); | |
| dsm($wrapper->book->label(),'Titre de book'); | |
| dsm($wrapper->label(),'Titre du noeud'); | |
NewerOlder