- Thinking Architecturally - Nathaniel Schutta - youtube
- Thinking Architecturally: Lead Technical Change Within Your Engineering Team - oreilly book
- Infrastructure & Ops Superstream Series: CI/CD - oreilly video
- Building Evolutionary Architectures - oreilly book
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
{ | |
"contentType": "application/gliffy+json", | |
"version": "1.3", | |
"stage": { | |
"background": "#FFFFFF", | |
"width": 3411, | |
"height": 1329, | |
"nodeIndex": 236, | |
"autoFit": true, | |
"exportBorder": false, |
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
# delete all folders containing the string "conflict" | |
while true | |
do | |
dbxcli ls -l /mac01/Users/brianpfeil/projects/ > paths.txt | |
while read p; do | |
if echo $p | grep -iqF conflict; then | |
full_path=$(echo "/${p#*/}") | |
echo $full_path | |
dbxcli rm --force "$full_path" | |
fi |
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
// fetch all aws directory api metadata | |
(async () => { | |
const directories = [ | |
{ | |
"directoryId": "event-content" | |
}, | |
{ | |
"directoryId": "amazon-redwood" | |
}, | |
{ |
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
assumed_role_arn="$(aws sts get-caller-identity --query 'Arn' | sed -e 's/"//g' | sed -e 's/\/[[:alnum:]]*$//')" |
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
cd notes | |
for f in *.md; do | |
first_line=$(head -n 1 $f) | |
if [[ ! $first_line = \#* ]] ; then | |
#echo "${f}" | |
barename=$(basename $f .md) | |
# echo "${barename}" | |
# prepend bare filename as H1 to top of note | |
echo -e "# ${barename}\n\n$(cat $f)" > $f |
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
// gh cli test edit | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
float rand_float(float max_value) | |
{ | |
return (float)rand() / ((float)RAND_MAX / max_value); | |
} |
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
// pseudocode | |
const { ReactCDK, App, Stack } = require('@aws-cdk/react') | |
const Bucket = require('@aws-cdk/react/s3') | |
const { CloudFrontDistribution, Origins, DefaultOrigin } = require('@aws-cdk/react/cloudfront') | |
const { Api, Resource, Integration } = require('@aws-cdk/react/apigateway') | |
const Lambda = require('@aws-cdk/react/lambda') | |
const EchoLambda = ( | |
<Lambda> | |
{ |
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
// ==UserScript== | |
// @name AWS Blog Article Focus | |
// @namespace http://aws.amazon.com/ | |
// @version 0.1 | |
// @description remove extra content from AWS blog articles | |
// @author Brian Pfeil | |
// @match https://aws.amazon.com/blogs/* | |
// @grant none | |
// @updateURL https://gist.githubusercontent.com/pfeilbr/7d828b65bd49a048e7aa3d587a91001e/raw/aws-blog-article-focus.js | |
// @downloadURL https://gist.githubusercontent.com/pfeilbr/7d828b65bd49a048e7aa3d587a91001e/raw/aws-blog-article-focus.js |
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
(() => { | |
class RectProxy { | |
props = { | |
position: (newPos, twojs) => { | |
twojs.doWork(); | |
}, | |
innerColor: (newColor, twojs) => { |
NewerOlder