Start up a lambda-like docker container:
docker run -i -t -v /tmp:/var/task lambci/lambda:build /bin/bash
Install some dependencies inside the container:
yum install gperf freetype-devel libxml2-devel git libtool -y
easy_install pip
/** | |
* @flow | |
* @prettier | |
*/ | |
import { type QueryRenderProps } from 'react-apollo' | |
import * as React from 'react' | |
import { | |
get, | |
takeRightWhile, |
import React from "react"; | |
import { PropTypes } from "prop-types"; | |
import classNames from "classnames"; | |
import withStyles from "@material-ui/core/styles/withStyles"; | |
import TableCell from "@material-ui/core/TableCell"; | |
import TableSortLabel from "@material-ui/core/TableSortLabel"; | |
import { | |
AutoSizer, | |
Column, | |
SortDirection, |
// Licensed under CC BY 4.0. | |
type $If<X: boolean, Then, Else = empty> = $Call< | |
& ((true, Then, Else) => Then) | |
& ((false, Then, Else) => Else), | |
X, | |
Then, | |
Else, | |
>; |
#ifdef GL_ES | |
precision mediump float; | |
precision mediump int; | |
#endif | |
varying vec4 vertColor; | |
varying vec3 vertNormal; | |
varying vec3 vertLightDir; | |
varying vec4 vertTexCoord; |
import React, { Component } from 'react'; | |
import { View, ScrollView } from 'react-native'; | |
export default class App extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
enabled:true | |
}; | |
} |
In your command-line run the following commands:
brew doctor
brew update
const { Writable, Readable, PassThrough } = require("stream"); | |
const { inherits } = require("util"); | |
const AWS = require("aws-sdk"); | |
const zlib = require("zlib"); | |
const https = require("https"); | |
const gzip = zlib.createGzip(); | |
const s3 = new AWS.S3(); | |
// Change the bucket name to point to an S3 bucket write-able within the IAM role assigned to your Lambda |
/* @flow */ | |
const SCAN_WIFIS_START = 'SCAN_WIFIS_START' | |
const SCAN_WIFIS_SUCCEED = 'SCAN_WIFIS_SUCCEED' | |
const SCAN_WIFIS_FAILED = 'SCAN_WIFIS_FAILED' | |
const SET_ACTIVE_WIFI_ITEM = 'SET_ACTIVE_WIFI_ITEM' | |
const CONNECT_WIFI_START = 'CONNECT_WIFI_START' | |
const CONNECT_WIFI_SUCCEED = 'CONNECT_WIFI_SUCCEED' | |
const CONNECT_WIFI_FAILED = 'CONNECT_WIFI_FAILED' |
:root { | |
--gutter-width: 1; | |
--gutter-compensation: calc((var(--gutter-width) * 0.5) * -1); | |
--half-gutter-width: calc((var(--gutter-width) * 0.5)); | |
--container-sm: 46.5em; | |
--container-md: 63em; | |
--container-lg: 74em; | |
} | |
@custom-media --sm-viewport only screen and (min-width: 48em); |