$node src/chat.js
あなた: おすすめのパスタを教えてください。
AI:
私はAIのため選べませんが、一般的な人気のあるパスタレシピとしては、
・トマトソーススパゲッティ
・カルボナーラ
・アラビアータ
View chat.openai.com.css
This file contains 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
@-moz-document url-prefix("https://chat.openai.com/") { | |
.text-base { | |
max-width: 100% !important; | |
} | |
.h-full { | |
height: auto !important; | |
} | |
div[class^=react-scroll-to-bottom--css-vsfma-] { | |
height: auto !important; | |
overflow-y: auto !important; |
View 00_RESULT.md
View WorldMap.vue
This file contains 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
<template> | |
<div> | |
<div id="world_map" style="width: 100%; height: 100vh; background-color: #ccc;"></div> | |
</div> | |
</template> | |
<script setup lang="ts"> | |
import { onMounted } from 'vue'; | |
import * as am5 from '@amcharts/amcharts5'; | |
import * as am5map from '@amcharts/amcharts5/map'; |
View SpeedDial.vue
This file contains 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
<template> | |
<div> | |
<div class="speed-dial-modal-layer" v-if="isOpen"></div> | |
<div class="speed-dial"> | |
<div | |
:class="['speed-dial-action', toggleClass, {'hide': isHideAction}]" | |
v-for="(action, idx) in actions" | |
:key="idx" | |
@click="onClickAction(action)" | |
> |
View init.lua
This file contains 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
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "Left", function() | |
local win = hs.window.focusedWindow() | |
local f = win:frame() | |
local screen = win:screen() | |
local max = screen:frame() | |
f.x = max.x | |
f.y = max.y | |
f.w = max.w / 2 | |
f.h = max.h |
View tweet.rb
This file contains 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
#!/usr/bin/env ruby | |
require 'oauth' | |
require 'json' | |
require 'typhoeus' | |
require 'oauth/request_proxy/typhoeus_request' | |
def create_tweet(url, oauth_params, payload) | |
options = { | |
method: :post, |
View countries.yml
This file contains 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
--- | |
region: | |
- name: 北ヨーロッパ | |
countries: | |
- name: アイスランド | |
name_en: Iceland | |
alpha2: IS | |
- name: オーランド諸島 | |
name_en: Åland Islands | |
alpha2: AX |
View image_uploader.rb
This file contains 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
class ImageUploader < CarrierWave::Uploader::Base | |
storage RetryableStorageFog | |
cache_storage RetryableStorageFog | |
end |
View main.dart
This file contains 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
/// 現在の壁紙のファイルパス | |
String wallpaperFilePath = path.join( | |
"path", "to", "wallpaper.jpg"); | |
/// 壁紙を変更するボタンが押された時の処理。 | |
void _handleChangeWallpaper() { | |
var file = File(wallpaperFilePath); | |
if (!file.existsSync()) { | |
// ファイルが存在しない | |
log("画像が存在しない。 filePath=$wallpaperFilePath"); |
View RESULT.md
バージョン
- MySQL: 8.0.18
テーブル
mysql> show create table users;
+-------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
NewerOlder