Better HN
topnewbestaskshowjobs
Log inSign up

simzor

63 karma · joined Mar 1, 2020 (6y ago) · 25 submissions

Submissions

comment 4y ago · link · parent

Thank you!!

comment 4y ago · link · parent

Makes operating AWS CLI against a user with MFA enabled easier

---------

#!/bin/sh

echo "Store and retrieve session token AWS STS \n\n"

# Get source profile read -p "Source Profile [<profile_name>]: " source_profile source_profile=${source_profile:-'<profile_name>'} echo $source_profile

# Get destination profile read -p "Destination Profile [<profile_name>-mfa]: " destination_profile destination_profile=${destination_profile:-'<profile_name>-mfa'} echo $destination_profile

mfa_serial_number='arn:aws:iam::<id>:mfa/<name>'

echo "\nOTP: " read -p "One Time Password (OTP): " otp

echo "\nOTP:" $otp echo "\n"

output=$(aws sts get-session-token --profile <profile_name> --serial-number $mfa_serial_number --output json --token-code $otp)

echo $output

access_key_id=$(echo $output | jq .Credentials.AccessKeyId | tr -d '"') secret_access_key=$(echo $output | jq .Credentials.SecretAccessKey | tr -d '"') session_token=$(echo $output | jq .Credentials.SessionToken | tr -d '"')

aws configure set aws_access_key_id $access_key_id --profile=$destination_profile aws configure set aws_secret_access_key $secret_access_key --profile=$destination_profile aws configure set aws_session_token $session_token --profile=$destination_profile

echo "Configured AWS for profile" $destination_profile

3.

Six European Boostrapped Startups(sifted.eu ↗)

1 points · by simzor · 4y ago · discuss

comment 5y ago · link · parent

Haha. To be fair GitHub has had a lot of issues that last few months though.

5.

GitHub Having Issues(githubstatus.com ↗)

79 points · by simzor · 5y ago · 41 comments

6.

Hello Kitty Ransomware Targets ESXi Servers(bleepingcomputer.com ↗)

2 points · by simzor · 5y ago · discuss

7.

GitHub Having Problems Again(githubstatus.com ↗)

2 points · by simzor · 5y ago · discuss

comment 5y ago · link · parent

Is the server down due to HN traffic? :P

comment 5y ago · link · parent

When I first started working from home because of the pandemic, I had a IKEA Marcus chair, however, this soon was too bad of a chair to sit all day in, so I ended up investing in a Herman Miller Embody, and have not been looking back since. Great chair!

comment 5y ago · link · parent

First thing that came to mind is that you should set a max width of the content container. For those of us that have a ultrawide for example, it can become hard to read when the content spans the entire screen.

comment 5y ago · link · parent

I like that idea :D

comment 5y ago · link · parent

This reminds me that we should get ChaosMonkey up and running. :D

comment 5y ago · link · parent

Are they also having issues with Webhooks and/or pushes? Had some slowdowns for pushes, and webhooks does not seem to be triggering.

comment 5y ago · link · parent

This looks great. Is there something similar that supports PHP?

15.

Access to Multiple Snapchat Grafana Production Dashboards(hackerone.com ↗)

2 points · by simzor · 6y ago · discuss

comment 6y ago · link · parent

Hate the idea to be honest. In my opinion this will just bloat the language, no need. Rather avoid the hundreds of different standards like PHP.

17.

State of the Cloud 2020(bvp.com ↗)

3 points · by simzor · 6y ago · discuss

comment 6y ago · link · parent

As Zoom now owns Keybase, I am really worried about the future of Keybase, especially after statements like these.

This also makes none or very little sense - if this is actually just to cooperate with law enforcement, why would encrypting corporate (or paying) calls be any better, the bad people that are referred to in the statement could just get a paid plan?

comment 6y ago · link · parent

Such a great tool - so glad I gave it a shot, which made me fall in love with it.

comment 6y ago · link · parent

This is great. With this comes to Firefox. I guess Firefox has a kind of similar feature (Containers), but this new Chrome feature looks way nicer, even though it might not have containerization.

comment 6y ago · link · parent

Can't stress this enough!

comment 6y ago · link · parent

Insomnia is great. This will be a great addition! However, it annoys me that the image showing the tool is not zoomable or clickable, so you can barely see what it's showing.

comment 6y ago · link · parent

Great work. Love the landing page!

comment 6y ago · link · parent

2D VR-Chat with a cam! Really cool stuff :)