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
{ | |
"imports": { | |
"openai": "npm:openai@^4.46.0", | |
"zod": "npm:zod@^3.23.8" | |
} | |
} |
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
import { writeFile } from 'fs/promises'; | |
import { glob } from 'glob'; | |
import { format } from 'prettier'; | |
import { watch } from 'chokidar'; | |
export default async function generateRoutes() { | |
const routes = await glob('./src/routes/**/+page.svelte', { withFileTypes: true }).then((files) => | |
files | |
.filter((file) => file.isFile()) | |
.sort((a, b) => (a.path > b.path ? 1 : -1)) |
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
function github-copilot_helper | |
set -l TMPFILE (mktemp) | |
trap 'rm -f $TMPFILE' EXIT | |
if github-copilot-cli $argv[1] "$argv[2..]" --shellout $TMPFILE | |
if [ -e "$TMPFILE" ] | |
set -l FIXED_CMD (cat $TMPFILE) | |
eval "$FIXED_CMD" | |
else | |
echo "Apologies! Extracting command failed" | |
end |
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
>>>+++++++++[<++++++++++>-]<<<[-]>>[<<+>>>+<-]>[-]+<<[-]>>[<<+>+>-]<[-]<[>+>+<<-]>>[<<+>>-]<<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]<[-<[>>+>+<<<-]>>>[<<<+>>>-]+<[<<->>>-<[-]]>[<<[-]>>-]<<]+<[>-<[-]]>[<<[>+>>+<<<-]>>>[<<<+>>>-]+++<<[>>->+<[>>+>+<<<-]>>>[<<<+>>>-]+<[>-<[-]]>[<<[<+>-]>>-]<<<<<-]>>[-]>[<<<->>>-]+<<<[>>>-<<<[-]]<[>+>>+<<<-]>>>[<<<+>>>-]++++++++++<<[>>->>+<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]+<[>-<[-]]>[<<[<<+>>-]>>-]<<<<<<-]>>[-]<<+++>>>>[<<<<->>>>-]+<<<<[>>>>-<<<<[-]]>>>[<<<+>>>[-]]>[<<<<+>>>>[-]]<<<<[>>>>+<<<<[-]]+>>>>[>+++++++[<<<++++++++++++++>>>-]<<<.[-]>>>++++++++[<<<++++++++++++>>>-]<<<+.[-]>>>+++++++++[<<<++++++++++++>>>-]<<<-.[-]>>>++++++++[<<<++++++++++++>>>-]<<<+.[-]<<->>>>[-]]<<<<[<[>>>>>+<<+<<<-]>>>[<<<+>>>-]++++++++++>>[-<<->>>+<<<[>>>>+>+<<<<<-]>>>>>[<<<<<+>>>>>-]+<[>-<[-]]>[<<[<<<+>>>-]>>>+<-]<<<]>[>>>>>+<<<<<-]>>>[<<<<+>>>>-]<<<<<<[-]++++++++++>>[-<<->>>+<<<[>>>>+>+<<<<<-]>>>>>[<<<<<+>>>>>-]+<[>-<[-]]>[<<[<<<+>>>-]>>>+<-]<<<]>[>>>>+<<<<-]>>>[++++++++++++++++++++++++++++++++++++++++++++++++.<+>> |
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
#include QMK_KEYBOARD_H | |
#ifdef PROTOCOL_LUFA | |
#include "lufa.h" | |
#include "split_util.h" | |
#endif | |
#ifdef SSD1306OLED | |
#include "ssd1306.h" | |
#endif | |
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
import pyautogui as pgui | |
import subprocess | |
from time import sleep | |
if __name__ == "__main__": | |
subprocess.call(["say", "キャリブレーション"]) | |
sleep(3) | |
select_p = pgui.position() | |
pgui.click(select_p) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<?php | |
$accessToken = ''; | |
//ユーザーからのメッセージ取得 | |
$json_string = file_get_contents('php://input'); | |
$json_object = json_decode($json_string); | |
//取得データ | |
$replyToken = $json_object->{"events"}[0]->{"replyToken"}; //返信用トークン |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder