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
    
  
  
    
  | { | |
| "Records": [ | |
| { | |
| "eventVersion": "2.1", | |
| "eventSource": "aws:s3", | |
| "awsRegion": "eu-west-1", | |
| "eventTime": "2021-05-31T14:20:42.582Z", | |
| "eventName": "ObjectCreated:Put", | |
| "userIdentity": { | |
| "principalId": "A1QU9BML00BASO" | 
  
    
      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
    
  
  
    
  | #!groovy | |
| import groovy.json.JsonOutput | |
| import groovy.json.JsonSlurper | |
| /* | |
| Please make sure to add the following environment variables: | |
| HEROKU_PREVIEW=<your heroku preview app> | |
| HEROKU_PREPRODUCTION=<your heroku pre-production app> | |
| HEROKU_PRODUCTION=<your heroku production app> | 
  
    
      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
    
  
  
    
  | { | |
| "movies": [ | |
| { | |
| "id": 1, | |
| "title": "The Shawshank Redemptoin", | |
| "posterUrl": "https://images-na.ssl-images-amazon.com/images/M/MV5BODU4MjU4NjIwNl5BMl5BanBnXkFtZTgwMDU2MjEyMDE@._V1_SY500_CR0,0,336,500_AL_.jpg", | |
| "stars": 2, | |
| "likes": 22, | |
| "genres": [ | |
| "Crime", | 
  
    
      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
    
  
  
    
  | # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> | 
  
    
      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
    
  
  
    
  | { | |
| "movies": [ | |
| { | |
| "id": 1, | |
| "title": "The Shawshank Redemption", | |
| "posterUrl": "https:\/\/images-na.ssl-images-amazon.com\/images\/M\/MV5BODU4MjU4NjIwNl5BMl5BanBnXkFtZTgwMDU2MjEyMDE@._V1_SY500_CR0,0,336,500_AL_.jpg", | |
| "stars": 5, | |
| "likes": 22, | |
| "genres": ["Crime", "Drama"], | |
| "actors": [ | 
  
    
      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
    
  
  
    
  | [ | |
| { | |
| "title": "Nyckeln till frihet", | |
| "year": "1994", | |
| "genres": [ | |
| "Crime", | |
| "Drama" | |
| ], | |
| "ratings": [ | |
| 8, | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Testing</title> | |
| <style type="text/css"> | |
| body { | |
| margin: 0; | |
| } | |
| .text { | 
  
    
      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
    
  
  
    
  | //promises | |
| var p = new Promise((resolve, reject) => { | |
| resolve(1); | |
| }) | |
| p.then( | |
| success => { console.log(success) }, | |
| fail => { console.log(fail) | |
| }); | 
  
    
      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
    
  
  
    
  | const data = [6,5,4,3,2,1]; | |
| function insertionSort(unsortedList) { | |
| const list = [...data]; | |
| var len = list.length; | |
| for (var i = 0; i < len; i++) { | |
| var tmp = list[i]; //Copy of the current element. | |
| /*Check through the sorted part and compare with the number in tmp. If large, shift the number*/ | |
| for (var j = i - 1; j >= 0 && (list[j] > tmp); j--) { | 
  
    
      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
    
  
  
    
  | diff --git a/index.js b/index.js | |
| index 7c74aa6..c895fcf 100644 | |
| --- a/index.js | |
| +++ b/index.js | |
| @@ -1,72 +1,42 @@ | |
| -import React, { Component } from 'react'; | |
| +import React, { Component, PropTypes } from 'react'; | |
| import { | |
| StyleSheet, | |
| Text, | 
NewerOlder