Skip to content

Instantly share code, notes, and snippets.

View nicolasdao's full-sized avatar

Nicolas Dao nicolasdao

View GitHub Profile
@nicolasdao
nicolasdao / actions.js
Created February 4, 2022 00:21
AWS actions list. Keywords: aws actions action
app.PolicyEditorConfig={"conditionOperators":["ArnEquals","ArnEqualsIfExists","ArnLike","ArnLikeIfExists","ArnNotEquals","ArnNotEqualsIfExists","ArnNotLike","ArnNotLikeIfExists","BinaryEquals","BinaryEqualsIfExists","BinaryNotEquals","BinaryNotEqualsIfExists","Bool","BoolIfExists","DateEquals","DateEqualsIfExists","DateGreaterThan","DateGreaterThanEquals","DateGreaterThanEqualsIfExists","DateGreaterThanIfExists","DateLessThan","DateLessThanEquals","DateLessThanEqualsIfExists","DateLessThanIfExists","DateNotEquals","DateNotEqualsIfExists","IpAddress","IpAddressIfExists","NotIpAddress","NotIpAddressIfExists","Null","NumericEquals","NumericEqualsIfExists","NumericGreaterThan","NumericGreaterThanEquals","NumericGreaterThanEqualsIfExists","NumericGreaterThanIfExists","NumericLessThan","NumericLessThanEquals","NumericLessThanEqualsIfExists","NumericLessThanIfExists","NumericNotEquals","NumericNotEqualsIfExists","StringEquals","StringEqualsIfExists","StringEqualsIgnoreCase","StringEqualsIgnoreCaseIfExists","StringLi
@nicolasdao
nicolasdao / all_aws_managed_policies.json
Created August 3, 2021 02:32 — forked from gene1wood/all_aws_managed_policies.json
A list of all AWS managed policies and they're policy documents as well as a short script to generate the list
This file has been truncated, but you can view the full file.
{
"APIGatewayServiceRolePolicy": {
"Arn": "arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy",
"AttachmentCount": 0,
"CreateDate": "2019-10-22T18:22:01+00:00",
"DefaultVersionId": "v6",
"Document": {
"Statement": [
{
@nicolasdao
nicolasdao / aws_managed_policies.json
Created August 2, 2021 13:16
AWS managed policies
[
{ "name": "AWSAccountActivityAccess", "arn": "arn:aws:iam::aws:policy/AWSAccountActivityAccess" },
{ "name": "AWSAccountUsageReportAccess", "arn": "arn:aws:iam::aws:policy/AWSAccountUsageReportAccess" },
{ "name": "AWSAgentlessDiscoveryService", "arn": "arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService" },
{ "name": "AWSApplicationDiscoveryAgentAccess", "arn": "arn:aws:iam::aws:policy/AWSApplicationDiscoveryAgentAccess" },
{ "name": "AWSApplicationDiscoveryServiceFullAccess", "arn": "arn:aws:iam::aws:policy/AWSApplicationDiscoveryServiceFullAccess" },
{ "name": "AWSBatchFullAccess", "arn": "arn:aws:iam::aws:policy/AWSBatchFullAccess" },
{ "name": "AWSBatchServiceRole", "arn": "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole" },
{ "name": "AWSCertificateManagerFullAccess", "arn": "arn:aws:iam::aws:policy/AWSCertificateManagerFullAccess" },
{ "name": "AWSCertificateManagerReadOnly", "arn": "arn:aws:iam::aws:policy/AWSCertificateManagerReadOnly" },
@nicolasdao
nicolasdao / aws_principals.json
Last active August 2, 2021 12:22
AWS principal list
[
{ "uri": "a4b.amazonaws.com", "name": "Alexa for Business" },
{ "uri": "acm-pca.amazonaws.com", "name": "AWS Certificate Manager - Private Certificate Authority" },
{ "uri": "acm.amazonaws.com", "name": "AWS Certificate Manager" },
{ "uri": "alexa-appkit.amazon.com", "name": "Alexa Skills Kit" },
{ "uri": "alexa-connectedhome.amazon.com", "name": "AWS IoT - Connected Home" },
{ "uri": "amazonmq.amazonaws.com", "name": "Amazon MQ - Managed Message Borker Service" },
{ "uri": "apigateway.amazonaws.com", "name": "AWS API Gateway" },
{ "uri": "appflow.amazonaws.com", "name": "Amazon AppFlow" },
{ "uri": "application-autoscaling.amazonaws.com", "name": "Application Auto Scaling" },
@nicolasdao
nicolasdao / aws_regions.json
Last active May 20, 2022 01:53
AWS and GCP availability zones and regions full list
[
{ "az": "af-south-1a", "region": "af-south-1", "name": "Africa (Cape Town)"},
{ "az": "af-south-1b", "region": "af-south-1", "name": "Africa (Cape Town)"},
{ "az": "af-south-1c", "region": "af-south-1", "name": "Africa (Cape Town)"},
{ "az": "ap-east-1a", "region": "ap-east-1", "name": "Asia Pacific (Hong Kong)"},
{ "az": "ap-east-1b", "region": "ap-east-1", "name": "Asia Pacific (Hong Kong)"},
{ "az": "ap-east-1c", "region": "ap-east-1", "name": "Asia Pacific (Hong Kong)"},
{ "az": "ap-northeast-1a", "region": "ap-northeast-1", "name": "Asia Pacific (Tokyo)"},
{ "az": "ap-northeast-1c", "region": "ap-northeast-1", "name": "Asia Pacific (Tokyo)"},
{ "az": "ap-northeast-1d", "region": "ap-northeast-1", "name": "Asia Pacific (Tokyo)"},
@nicolasdao
nicolasdao / physical_forces.md
Created October 18, 2020 03:46
Physical forces. Keywords: physic force

PHYSICAL FORCES

Table of contents

Forewords

  • Thermophoretic
  • Magnetic
@nicolasdao
nicolasdao / postman_guide.md
Last active May 2, 2024 02:13
Postman guide. Keywords: postman web api rest
@nicolasdao
nicolasdao / functional_programming_guide.md
Last active May 2, 2024 02:13
Functional programming guide. Keywords: function functional program curry currying monad monadic immutable immutability
@nicolasdao
nicolasdao / UserInStrategy.js
Last active May 2, 2024 02:14
UserIn strategy template. Keywords: userin
/**
* Copyright (c) 2020, Cloudless Consulting Pty Ltd.
* All rights reserved.
*
* To use this template, follow the next steps:
*
* 1. Install 'userin-core': npm i userin-core
* 2. Set the constant variable 'STRATEGY' to your liking.
* 3. Rename the class 'YourStrategy' to your liking.
* 4. Implement all the following functions: