Skip to content

Instantly share code, notes, and snippets.

View viralsavaniIM's full-sized avatar

viralsavani viralsavaniIM

View GitHub Profile
@viralsavaniIM
viralsavaniIM / MFA_Policy_Closed_Scope.json
Created July 7, 2023 14:34
IAM policy for closed scope on MFA policies.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowViewAccountInfo",
"Effect": "Allow",
"Action": "iam:ListVirtualMFADevices",
"Resource": "*"
},
{
@viralsavaniIM
viralsavaniIM / Cognito_Login.js
Created December 7, 2022 21:30
Perform Login with AWS Cognito Identity JS SDK
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2021 Facebank, Inc. //
// All rights reserved. //
// //
// Redistribution and use in source and binary forms, with or without //
// modification, are permitted provided that the following conditions are //
// met: //
// //
// Redistributions of source code must retain the above copyright //
// notice, this list of conditions and the following disclaimer. //
@viralsavaniIM
viralsavaniIM / CognitoAuthenticate.js
Last active November 21, 2022 19:45
Facebank OAuth Integration Guide: AWS Cognito Authenticate with ClientMetadata
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2021 Facebank, Inc. //
// All rights reserved. //
// //
// Redistribution and use in source and binary forms, with or without //
// modification, are permitted provided that the following conditions are //
// met: //
// //
// Redistributions of source code must retain the above copyright //
// notice, this list of conditions and the following disclaimer. //
@viralsavaniIM
viralsavaniIM / PostAuthentication_Cognito_Trigger.js
Last active December 7, 2022 18:25
Facebank OAuth Integration Guide: AWS Cognito Post Authentication trigger
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2021 Facebank, Inc. //
// All rights reserved. //
// //
// Redistribution and use in source and binary forms, with or without //
// modification, are permitted provided that the following conditions are //
// met: //
// //
// Redistributions of source code must retain the above copyright //
// notice, this list of conditions and the following disclaimer. //
@viralsavaniIM
viralsavaniIM / PreSignUp_Cognito_Trigger.js
Last active November 21, 2022 19:44
Facebank OAuth Integration Guide: AWS Cognito Sign Up Trigger with Custom Error
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2021 Facebank, Inc. //
// All rights reserved. //
// //
// Redistribution and use in source and binary forms, with or without //
// modification, are permitted provided that the following conditions are //
// met: //
// //
// Redistributions of source code must retain the above copyright //
// notice, this list of conditions and the following disclaimer. //
@viralsavaniIM
viralsavaniIM / PreSignUp_Cognito_Trigger_Without_Consent.js
Last active November 16, 2022 23:23
Facebank OAuth Integration Guide: Perform the Link Without User consent
@viralsavaniIM
viralsavaniIM / PreSignUp_Cognito_Trigger_With_Consent.js
Last active November 17, 2022 00:58
Facebank OAuth Integration Guide: Perform the Link with User consent
@viralsavaniIM
viralsavaniIM / dockerd_dev_logs
Created October 14, 2021 18:31
dockerd_logs_with_DOCKER_WINDOWSFILTER_NOREEXEC
time="2021-10-14T11:02:37.533564200-07:00" level=warning msg="WindowsGraphDriver is set to not re-exec. This is intended for debugging purposes only."
time="2021-10-14T11:02:37.533564200-07:00" level=info msg="Starting up"
time="2021-10-14T11:02:37.533564200-07:00" level=warning msg="Running experimental build"
time="2021-10-14T11:02:37.542186600-07:00" level=debug msg="Listener created for HTTP on npipe (//./pipe/docker_engine)"
time="2021-10-14T11:02:37.555571500-07:00" level=debug msg="Stackdump - waiting signal at Global\\stackdump-6696"
time="2021-10-14T11:02:37.555571500-07:00" level=info msg="Windows default isolation mode: process"
time="2021-10-14T11:02:37.557006900-07:00" level=debug msg="Using default logging driver json-file"
time="2021-10-14T11:02:37.557006900-07:00" level=debug msg="[graphdriver] trying provided driver: windowsfilter"
time="2021-10-14T11:02:37.557006900-07:00" level=debug msg="WindowsGraphDriver InitFilter at C:\\ProgramData\\docker\\windowsfilter"
time="2021-10-14T11:02:37.5576
@viralsavaniIM
viralsavaniIM / dockerd_logs
Created October 14, 2021 01:07
Build Logs for dockerd-dev.exe
time="2021-10-13T17:30:17.019446000-07:00" level=info msg="Starting up"
time="2021-10-13T17:30:17.019446000-07:00" level=warning msg="Running experimental build"
time="2021-10-13T17:30:17.019446000-07:00" level=debug msg="Listener created for HTTP on npipe (//./pipe/docker_engine)"
time="2021-10-13T17:30:17.031469000-07:00" level=info msg="Windows default isolation mode: process"
time="2021-10-13T17:30:17.031469000-07:00" level=debug msg="Stackdump - waiting signal at Global\\stackdump-5476"
time="2021-10-13T17:30:17.032387100-07:00" level=debug msg="Using default logging driver json-file"
time="2021-10-13T17:30:17.032456000-07:00" level=debug msg="[graphdriver] trying provided driver: windowsfilter"
time="2021-10-13T17:30:17.032520900-07:00" level=debug msg="WindowsGraphDriver InitFilter at C:\\ProgramData\\docker\\windowsfilter"
time="2021-10-13T17:30:17.032726000-07:00" level=debug msg="Initialized graph driver windowsfilter"
time="2021-10-13T17:30:17.051045100-07:00" level=debug msg="No quota support for
@viralsavaniIM
viralsavaniIM / build_output_ue4_4270_vs_2019
Last active October 14, 2021 01:10
Build Logs: "ue4-docker build 4.27.0 --verbose --visual-studio 2019 --exclude debug --exclude templates --exclude ddc"
C:\Users\Administrator>ue4-docker build 4.27.0 --verbose --visual-studio 2019 --exclude debug --exclude templates --exclude ddc
[ue4-docker build] COMMAND-LINE INVOCATION:
[ue4-docker build] ['ue4-docker', '4.27.0', '--verbose', '--visual-studio', '2019', '--exclude', 'debug', '--exclude', 'templates', '--exclude', 'ddc']
[ue4-docker build] UNREAL ENGINE VERSION SETTINGS:
[ue4-docker build] Custom build: No
[ue4-docker build] Release: 4.27.0
[ue4-docker build] Repository: https://github.com/EpicGames/UnrealEngine.git
[ue4-docker build] Branch/tag: 4.27.0-release