Skip to content

Instantly share code, notes, and snippets.

View rexlow's full-sized avatar
🏸
Need to workout more!

Rex Low rexlow

🏸
Need to workout more!
View GitHub Profile
@rexlow
rexlow / ImageTools.es6
Created September 20, 2019 03:48 — forked from dcollien/ImageTools.es6
Resize Images in the Browser
let hasBlobConstructor = typeof(Blob) !== 'undefined' && (function () {
try {
return Boolean(new Blob());
} catch (e) {
return false;
}
}());
let hasArrayBufferViewSupport = hasBlobConstructor && typeof(Uint8Array) !== 'undefined' && (function () {
try {
@rexlow
rexlow / gist:2b2d4f8c814fa5853faf2a9205a84ddc
Created April 4, 2018 01:41 — forked from mtigas/gist:952344
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
@rexlow
rexlow / react-native-maps-enable-google-maps-instructions.md
Created May 26, 2017 05:13 — forked from heron2014/react-native-maps-enable-google-maps-instructions.md
Visual instructions how to enable Google Maps on IOS using react-native-maps

Visual instructions how to enable Google Maps on IOS using react-native-maps

This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps

Steps from scratch:

1.react-native init GoogleMapPlayground

2. cd GoogleMapPlayground

@rexlow
rexlow / 0-startup-overview.md
Created March 15, 2017 16:03 — forked from dideler/0-startup-overview.md
Startup Engineering notes