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
{ | |
"type": "character", | |
"action": "stand1", | |
"emotion": "default", | |
"skin": 2000, | |
"zoom": 1, | |
"frame": 0, | |
"mercEars": false, | |
"illiumEars": false, | |
"selectedItems": { |
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
import WebP from 'node-webpmux'; // remember put libwebp.wasm somewhere | |
import { Buffer } from 'buffer'; | |
function createColorCanvasArrayBuffer(width: number, height: number, color: string) { | |
const canvas = document.createElement('canvas'); | |
canvas.width = width; | |
canvas.height = height; | |
const ctx = canvas.getContext('2d')!; | |
ctx.fillStyle = color; |
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
export enum CharacterAction { | |
Stand1 = 'stand1', | |
Walk1 = 'walk1', | |
Alert = 'alert', | |
} |
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
import { Tool } from 'langchain/tools'; | |
import { google } from 'googleapis'; | |
class GoogleSerpAPI extends Tool { | |
private apiKey: string; | |
private engineId: string; | |
private count = 5; | |
name = 'google-search'; | |
description = | |
'a search engine. useful for when you need to answer questions about current events. input should be a search query.'; |
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
$powershellDir = "C:\Config\Powershell" | |
New-Item -ItemType Directory -Force -Path $powershellDir | |
cd $powershellDir | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/66cdc60aa61da8a88a480c14b5fe817beba7dab9/profile.ps1' -OutFile 'profile.ps1' | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/cda7a409a315bf767f830897b0b8f53611e11f1e/Install.ps1' -OutFile 'Install.ps1' | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/13c1f7eb8ffa50e385c3b960c76ded9389bdaf3e/takuya.omp.json' -OutFile 'takuya.omp.json' |