Skip to content

Instantly share code, notes, and snippets.

View Nfinley's full-sized avatar

Nigel Finley Nfinley

View GitHub Profile
{
"Stateless Functional Component": {
"prefix": "stateless",
"body": [
"import React from 'react';",
"import PropTypes from 'prop-types';",
"",
"const ${TM_FILENAME_BASE/(.*)\\..+$/$1/} = () => {",
" return <div className=\"\"></div>;",
"}",
@clstokes
clstokes / assume-role-policy.json
Last active September 1, 2022 20:15
Example: Terraform IAM Role
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Effect": "Allow",
"Sid": ""
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing