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
    
  
  
    
  | #!/usr/bin/env node | |
| const parseInput = (input) => input.split('\n').map(line => line.split('-')).reduce((acc, [from, to]) => { | |
| if (acc[from] == undefined) { | |
| acc[from] = [to] | |
| } else | |
| acc[from].push(to) | |
| if (acc[to] == undefined) { | |
| acc[to] = [from] | 
  
    
      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
    
  
  
    
  | # Copy this file to ~/.jupyter/jupyter_notebook_config.py | |
| import os | |
| import shutil | |
| from nbconvert.nbconvertapp import NbConvertApp | |
| SAVE_PROGRESS_INDICATOR_FILE_PY = '.ipynb_save_py' | |
  
    
      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
    
  
  
    
  | package jobs; | |
| import com.google.gson.JsonObject; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.concurrent.TimeUnit; | |
| import play.Logger; | |
| import play.Play; | |
| import play.jobs.Every; | |
| import play.jobs.Job; |