If you’re behind a corporate firewall or simply at home behind a router, the IP address coming into the environment will hit the main switch and issue DHCP IP Addresses for the machines (PCs, Laptops, Tablets, Phones, etc) within the network. So, if you try to request your address with the port for your application, it will get lost at…
For quick reference, you may need to create a policy for an AWS IAM user to only access one specific bucket, ‘BUCKET_NAME_HERE‘. { “Version”: “2012-10-17”, “Statement”: [ { “Effect”: “Allow”, “Action”: [ “s3:ListBucket” ], “Resource”: [ “arn:aws:s3:::BUCKET_NAME_HERE” ] }, { “Effect”: “Allow”, “Action”: [ “s3:PutObject”, “s3:GetObject”, “s3:DeleteObject” ], “Resource”: [ “arn:aws:s3:::BUCKET_NAME_HERE/*” ] } ] }
It’s awkward to find out that the the string.replace(targetString, replaceWith) function in JavaScript doesn’t act like it does in most other modern programming languages. JavaScript will only find the first instance of the target string and replace it. It will not continue to find other instances of the targeted string and replace it. Java/.Net/etc. will search for all occurrences of…