- Launch Cloud9 IDE with SSM option
- When it launchers, open the Cloud9 IDE in the AWS Console
Install:
- AWS CLI
| # %% | |
| import os | |
| import openai | |
| # import autogen | |
| from autogen import Agent, ConversableAgent, oai, UserProxyAgent, AssistantAgent | |
| import types | |
| from dotenv import load_dotenv, find_dotenv | |
| from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union | |
| _ = load_dotenv(find_dotenv()) # read local .env file |
| I'm a [your level] [profession] and I want to learn [topic] so I can [objective]. Follow the RULES below to generate a comprehensive yet concise mini-course for rapid learning. The course should contain chapters that teach me about these SUB_TOPICS. Make sure the chapters fit my level, profession and topic. Ask for clarification if you need more information about my knowledge. | |
| SUB_TOPICS | |
| - [topic 1] | |
| - [topic 2] | |
| - [topic 3] | |
| RULES | |
| - Use concrete examples to explain every concept | |
| - Use emojis to add expression |
| # Credit 🙏: I just used the example from langchain docs and it works quite well: https://python.langchain.com/en/latest/use_cases/question_answering.html | |
| # Note 2: The Arxiv -> PDF logic is a bit messy, I'm sure it can be done better | |
| # Note 3: Please install the following: | |
| # To run: | |
| # Save this in a `app.py` | |
| # pip install arxiv PyPDF2 langchain chromadb | |
| # The chat feature was shipped in H2O nightly this week, we will need to install from nightly link: |
| const SECRET_KEY = ENTER YOUR SECRET KEY HERE; | |
| const MAX_TOKENS = 200; | |
| // For more cool AI snippets and demos, follow me on Twitter: https://twitter.com/_abi_ | |
| /** | |
| * Completes your prompt with GPT-3 | |
| * | |
| * @param {string} prompt Prompt | |
| * @param {number} temperature (Optional) Temperature. 1 is super creative while 0 is very exact and precise. Defaults to 0.4. |
| nymtech.net | |
| ifconfig.me | |
| iplocation.net | |
| rgbfaq.com | |
| notrustverify.cn | |
| nym.notrustverify.ch | |
| mempool.space | |
| duckduckgo.com | |
| telegram.com | |
| 2001:b28:f23d:f001:0:0:0:a |
| pragma solidity ^0.6.6; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/docs-v3.x/contracts/math/SafeMath.sol"; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/docs-v3.x/contracts/token/ERC20/IERC20.sol"; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/docs-v3.x/contracts/token/ERC20/SafeERC20.sol"; | |
| import "./IFlashLoanReceiver.sol"; | |
| import "./ILendingPoolAddressesProvider.sol"; | |
| import "./Withdrawable.sol"; | |
| abstract contract FlashLoanReceiverBase is IFlashLoanReceiver, Withdrawable { |
| Make sure to click the "view the full file" link or "Raw" button because github doesn't show all lines here. | |
| "name","address" | |
| "cuddly-cider-cod","112BzeMcnxc3Faahpz1uR5bhDVDidbvZk87NfytLzHcnEDZXa91C" | |
| "upbeat-lime-pelican","112NHzaRFLsUWcwZvuUsnqG9hbXxp9NkLtZY4vQ5EKs6kZH67AC9" | |
| "future-sepia-canary","11rYSiB6EZHBNWoKL1QPaNK4sri7j1ddK7xbQiaoTa2iRnHVjK6" | |
| "tricky-oily-blackbird","112DmWpx2ayp7gyR6zTVaYgANQwBu8oem4KC1Xg7izAMAqudrCz4" | |
| "fancy-glass-haddock","11ZbAVVPwY8QjriDsWTx5Ja2sPasF8U1nFe1bNhyvzpn2RUu7DC" | |
| "zany-burgundy-chimpanzee","112eR4yVLCL1GFfMXXFdgLNyfcpGJNqkhhrfs5LbUoTbfxqF783T" |