I kinda wanted to know what it's like.
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
ui_print("4.1.1 Modified for Busybox."); | |
mount("ext4", "EMMC", "/dev/block/platform/s3c-sdhci.0/by-name/system", "/system"); | |
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/soju/crespo:4.0.4/IMM76D/299849:user/release-keys" || | |
file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/soju/crespo:4.1.1/JRO03E/403059:user/release-keys"); | |
assert(getprop("ro.product.device") == "crespo" || | |
getprop("ro.build.product") == "crespo"); | |
ui_print("Verifying current system..."); | |
show_progress(0.100000, 0); | |
assert(apply_patch_check("/system/app/ApplicationsProvider.apk", "da8ace2279cd01b9d7aadcb44e3645fc627da3f8", "d6ab70bf18fc590f08c70b27f1e7c2498abe6509")); | |
set_progress(0.000063); |
Afternoon All,
Thank you for attending/avoiding (delete as appropriate) my bewildering talk on React and Redux.
Here’s the application I built in a day to demonstrate the wonderful world of React/Redux: https://github.com/thomasmichaelwallace/Retrospectively
If you want to relive the presentation, start at BrownBag.md and follow the instructions. If you want to run it, follow the vague guidance in ReadMe.md.
Below is a semi-curated long list of resources/libraries for anyone who would like to learn more.
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
const chaosPromise = result => ( | |
Math.random() >= 0.5 | |
? Promise.resolve(result) | |
: new Promise(res => setTimeout(() => res(result), Math.random() * 1000)) | |
); |
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
FROM amazonlinux:latest | |
# set locale | |
RUN echo LC_ALL=en_GB.UTF-8 >> /etc/environment | |
ENV LC_ALL=en_GB.UTF-8 | |
# install node and build tools | |
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - && \ | |
yum install -y nodejs gcc-c++ make git |
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
container_commands: | |
extend_proxy_timeout: | |
command: | | |
sed -i '/\s*location \/ {/c \ | |
location / { \ | |
proxy_connect_timeout 300;\ | |
proxy_send_timeout 300;\ | |
proxy_read_timeout 300;\ | |
send_timeout 300;\ | |
' /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf |
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
import Ajv from 'ajv'; | |
const ajv = new Ajv({ allErrors: true }); |
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
const schema = { | |
type: 'object', | |
additionalProperties: false, | |
required: ['hello'], | |
items: { hello: { type: 'string' } } | |
}; |
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
const test = ajv.compile(schema); | |
const isValid = test(obj); | |
return isValid ? obj : { obj, error: test.errors } |
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
container_commands: | |
00download: | |
command: "wget http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip" | |
ignoreErrors: true | |
01extract: | |
command: "unzip -o CloudWatchMonitoringScripts-1.2.1.zip" | |
ignoreErrors: true | |
02rmzip: | |
command: "rm CloudWatchMonitoringScripts-1.2.1.zip" | |
ignoreErrors: true |
OlderNewer