I have a project where I needed to build an S3 bucket policy in a CFT, where certain statements should only be in the policy when a user ARN is provided. It’s hard to even Google for this use case, since bucket policies can contain “conditions”, but that’s different from conditionally including or excluding a policy statement.
The linked gists contain one extra feature – if a second user ARN is provided via a parameter, that user is added to one of the policy statements.
I’ve included json and yml versions. The yml is much easier to read, but my use case required json, so I’ve included both: https://gist.github.com/karlkranich/cd27f8bda64aa9e1cdab6cb52eaafcd8
I’m really enjoying The Complete 2020 Flutter Development Bootcamp with Dart on Udemy by Angela Yu and London App Brewery. I like how Angela has organized the progression of concepts and challenges. It’s also easy to skip lectures if you’re already an experienced programmer and don’t need to learn concepts like data types and function syntax.
My first big snag came when I added the audioplayers package to the Xylophone project. The run tab fills up with errors, ending with:
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
I’m developing python code in a Cloud9 environment. Tried setting the default python version to 3, but “python” still runs python 2. It’s not a big deal to type “python3” each time, but “pip install boto3” only installed the module for python 2.
Finally, this adaptation of a command I found on stackoverflow worked:
python3 -m pip install --user boto3
I had been using Skype for Business as the online call handler for my Mac, but had various problems in online meetings – sometimes not seeing screen shares, sometimes not seeing chat, sometimes others not seeing my screen share.
But when I tried to switch to Lync, it took a while to figure out how to make “Join online meeting” links work – they kept launching Skype. Turns out that it’s simple – go to Lync Preferences > General tab and change the drop-down settings in the Services section (you can click on the image to expand it).
My friend Tom invited us to a Rocketry of Orlando’s Community Kids launch event on Saturday at the Little Big Econ State Forest (non-members pay a small fee to launch). We picked up a rocket at Walmart on Friday and got it ready. It was a little windy, but we had a great time!
At left you’ll see that we had a successful launch!
Check more of my photos on Flickr.
Scroll down to the “PC Mac Linux” ads at www.novell.com/videos. Funny!
Welcome to my tech blog.? I’m involved in network design, security, administration, and troubleshooting.? As I come up with tips, tricks, or resources to let you know about, I’ll post them here.? I’ll start by posting the various information that used to be on my old website.