我去市场买了10个苹果。我给了邻居2个苹果和修理工2个苹果。然后我去买了5个苹果并吃了1个。我还剩下多少苹果?
write a python script to output from 1 to 100
write the game "snake" in python using pygame
我去市场买了10个苹果。我给了邻居2个苹果和修理工2个苹果。然后我去买了5个苹果并吃了1个。我还剩下多少苹果?
write a python script to output from 1 to 100
write the game "snake" in python using pygame
| { | |
| "bundleId": "com.knollsoft.Rectangle", | |
| "shortcuts": { | |
| "maximizeHeight": { | |
| "keyCode": 126, | |
| "modifierFlags": 917504 | |
| }, | |
| "rightHalf": { | |
| "keyCode": 124, | |
| "modifierFlags": 1572864 |
| from langchain import hub | |
| from langchain.agents import AgentExecutor, load_tools | |
| from langchain.agents.format_scratchpad import format_log_to_str | |
| from langchain.agents.output_parsers import ReActJsonSingleInputOutputParser | |
| from langchain.tools.render import render_text_description | |
| from langchain_community.llms.bedrock import Bedrock | |
| from langchain_community.chat_models.bedrock import BedrockChat | |
| import dotenv | |
| dotenv.load_dotenv() |
| 1. # create new .py file with code found below | |
| 2. # install ollama | |
| 3. # install model you want “ollama run mistral” | |
| 4. conda create -n autogen python=3.11 | |
| 5. conda activate autogen | |
| 6. which python | |
| 7. python -m pip install pyautogen | |
| 7. ollama run mistral | |
| 8. ollama run codellama | |
| 9. # open new terminal |
| --- | |
| apiVersion: v1 | |
| kind: PersistentVolume | |
| metadata: | |
| name: s3-express-pv | |
| spec: | |
| capacity: | |
| storage: 100Gi # ignored, required | |
| accessModes: | |
| - ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany |
| apiVersion: kyverno.io/v1 | |
| kind: ClusterPolicy | |
| metadata: | |
| name: add-daemonset-fargate-anti-affinity | |
| spec: | |
| validationFailureAction: Enforce | |
| background: false | |
| rules: | |
| - name: add-node-anti-affinity | |
| match: |
| [user] | |
| name = <username> | |
| email = <email> | |
| signingkey = <gpg-sign-key> | |
| [core] | |
| editor = vi | |
| [init] | |
| defaultBranch = main | |
| [color] | |
| ui = auto |
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22
First install Rosetta if not already done, this is needed to run x86 code: