This file contains 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
// this is our imaginary package "react-lazy" | |
import React, { Component, createElement } from 'react'; | |
import { Redirect } from 'react-router-dom'; | |
import { observer } from 'mobx-react'; | |
import { observable } from 'mobx'; | |
/** | |
* This is generic module interface. We assume that we can access React components. | |
*/ | |
export interface FetchedModule { |
This file contains 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 HexConverter = { | |
hexDigits : '0123456789ABCDEF', | |
dec2hex : function( dec ) | |
{ | |
return( this.hexDigits[ dec >> 4 ] + this.hexDigits[ dec & 15 ] ); | |
}, | |
hex2dec : function( hex ) | |
{ |
This file contains 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
{ | |
"Id": "Policy<ENTER_RANDOM_NUMBERS_HERE>", | |
"Statement": [ | |
{ | |
"Sid": "Stmt<ENTER_RANDOM_NUMBERS_HERE>", | |
"Action": [ | |
"s3:GetObject" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::your.bucket.name/*", |
NewerOlder