This document copied from https://gist.github.com/abdallahokasha/37911a64ad289487387e2d1a144604ae
here.
Download the package form Robo3t or using wget
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowViewAccountInfo", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:GetAccountPasswordPolicy", | |
"iam:GetAccountSummary", | |
"iam:ListVirtualMFADevices", |
This document copied from https://gist.github.com/abdallahokasha/37911a64ad289487387e2d1a144604ae
here.
wget
function check(numbers:number[], value: number): number[] { | |
const needMap:any = {}; | |
const result: number[] = []; | |
let round = 0; | |
numbers.every((n, index) => { | |
round ++; | |
if(needMap[n] > -1) { | |
result.push(...[numbers[needMap[n]], n]); |