Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
| import boto3 | |
| from boto3.session import Session | |
| def assume_role(arn, session_name): | |
| """aws sts assume-role --role-arn arn:aws:iam::00000000000000:role/example-role --role-session-name example-role""" | |
| client = boto3.client('sts') | |
| account_id = client.get_caller_identity()["Account"] | |
| print(account_id) |
| <!-- Annotated javascript available at http://enja.org/code/tuts/d3/bar --> | |
| <!-- Code walkthrough screencast available at --> | |
| <html> | |
| <head> | |
| <title>Enjalot's Bar</title> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.1.3"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?2.1.3"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?2.1.3"></script> | |
| <style type="text/css"> | |
| .bar rect |