This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import feedparser | |
| entries = feedparser.parse(url) | |
| for entry in entries.entries: | |
| print(f'{entry["title"]} - {entry["link"]} - {entry["published"]}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import unittest | |
| import boto3 | |
| AWS_ACCOUNT_NUMBER = "xxxxxxxxxxxxxx" | |
| class TestIAMPolicy(unittest.TestCase): | |
| def setUp(self): | |
| # Initialize the boto3 IAM client | |
| self.iam = boto3.client("iam") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CmdUtils.CreateCommand({ | |
| names: ["java"], | |
| arguments: [{role: "object", | |
| nountype: noun_arb_text, | |
| label: "search criteria"}], | |
| icon: "http://www.sun.com/favicon.ico", | |
| preview: "Searches The Java 6 API.", | |
| help: "Enter the name of the Java class or package for which you would like to see the documentation.", | |
| author: {name: "KS", email: "tss@cornbread.com"}, |