Skip to content

Instantly share code, notes, and snippets.

View dllz's full-sized avatar

Daniel dllz

View GitHub Profile
@ceessay
ceessay / ScannerScreen.js
Created December 27, 2019 11:30
Box alignments in RN
import React, {Component} from 'react';
import {
Text,
View,
SafeAreaView,
StyleSheet,
StatusBar,
TouchableOpacity,
Image,
PixelRatio,
@bradwestfall
bradwestfall / S3-Static-Sites.md
Last active May 22, 2024 13:44
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation