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
from dotenv import load_dotenv | |
load_dotenv() | |
import os | |
import openai | |
import time | |
openai.api_key = os.getenv("AZURE_OPENAI_KEY") | |
openai.api_base = os.getenv("AZURE_OPENAI_ENDPOINT") | |
openai.api_type = 'azure' |
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
from dotenv import load_dotenv | |
load_dotenv() | |
import os | |
import openai | |
import time | |
openai.api_key = os.getenv("OPENAI_API_KEY") | |
model_name = "gpt-3.5-turbo" |
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
version: '3' | |
services: | |
cadvisor: | |
image: google/cadvisor:latest | |
ports: | |
- 8080:8080 | |
volumes: | |
- /:/rootfs:ro | |
- /var/run:/var/run:rw |
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
Description: | |
This template deploys a VPC, with a pair of public and private subnets spread | |
across two Availability Zones. It deploys an Internet Gateway, with a default | |
route on the public subnets. It deploys a pair of NAT Gateways (one in each AZ), | |
and default routes for them in the private subnets. | |
Parameters: | |
EnvironmentName: | |
Description: An environment name that will be prefixed to resource names | |
Type: String |
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
<?php | |
phpinfo(); | |
$form = $this->createForm(); |
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
[ | |
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true } }, | |
{ "keys": ["ctrl+h"], "command": "move", "args": {"by": "characters", "forward": false } }, | |
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": false } }, | |
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "lines", "forward": true } } | |
] |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>My First Heading</h1> | |
<p>My first paragraph.</p> | |
<p>現在時刻は<?php echo date("H時i分"); ?>です</p> | |
</body> |
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
<?php | |
/* | |
class一覧 | |
Human系 | |
└Human(Abstract) | |
└Japanese 日本人クラス。cm,kgで身長体重を入出力 | |
└American 米国人クラス。ft,lbで身長体重を入出力 | |
└English 英国人クラス。ft,stで身長体重を入出力 | |
└Hyde ハイドクラス。hyde,kgで身長体重を入出力 |