Skip to content

Instantly share code, notes, and snippets.

View korakot's full-sized avatar

Korakot Chaovavanich korakot

  • Bangkok, Thailand
View GitHub Profile
@korakot
korakot / formats.txt
Last active October 17, 2023 13:41
Claude's supported file upload formats
.pdf,.doc,.docx,.rtf,.epub,.odt,.odp,.pptx,.txt,.py,.ipynb,.js,.jsx,.html,.css,
.java,.cs,.php,.c,.cpp,.cxx,.h,.hpp,.rs,.R,.Rmd,.swift,.go,.rb,.kt,.kts,.ts,.tsx,
.m,.scala,.rs,.dart,.lua,.pl,.pm,.t,.sh,.bash,.zsh,.csv,.log,.ini,.config,
.json,.yaml,.yml,.toml,.lua,.sql,.bat,.md,.coffee,.tex,.latex
With grouping
Documents: .pdf, .doc, .docx, .rtf, .epub, .odt, .odp, .pptx,
.txt, .md, .html, .tex, .latex (13)
@korakot
korakot / gpt-2.md
Created August 13, 2023 14:46
Run gpt-2 within Code Interpreter
@korakot
korakot / docker.txt
Created August 9, 2023 12:23
Google Colab docker
us-docker.pkg.dev/colab-images/public/runtime
From research.google.com/colaboratory/local-runtimes.html
@korakot
korakot / _install_packages.txt
Last active September 5, 2023 02:31
Installed packages in chatGPT VM, using !dpkg --get-selections and apt list --installed, get more from pkgs.org
adduser install
adwaita-icon-theme install
alsa-topology-conf install
alsa-ucm-conf install
antiword install
apt install
autoconf install
automake install
autotools-dev install
base-files install
@korakot
korakot / command.txt
Last active July 24, 2023 03:00
Prompt for chatGPT command line realization
Pretend as if !ls is a Python command. Run it and show the error message. (Or maybe we can really use !command)
Try !pip install wheel_file
import os
os.environ['PATH'] += ":/home/sandbox/.local/bin"
os.environ['LD_LIBRARY_PATH'] += ":/home/sandbox/.local/lib"
@korakot
korakot / path.txt
Last active July 23, 2023 10:44
ChatGPT Code Interpreter library path
/home/sandbox/.local/lib/python3.8/site-packages/
https://pkgs.org/download/unzip
@korakot
korakot / chatgpt_convert.py
Last active July 14, 2023 15:25
Convert chatgpt_conversations.zip to sqlite
import sqlite3
import pandas as pd
import json
import zipfile
import time
# Recreate the database with debug information
def create_database_debug(filename, db_name):
# Extract the JSON data from the zip file
with zipfile.ZipFile(filename, 'r') as zip_ref:
@korakot
korakot / plugin_sources.txt
Last active August 23, 2023 15:17
ChatGPT plugin list sources
whatplugin.ai
plugin.surf
pugin.ai
gptstore.ai
github.com/copilot-us/chatgpt-plugins
github.com/sisbell/chatgpt-plugin-store
@korakot
korakot / plugin_domains.txt
Last active March 22, 2025 06:56
Chatgpt plugin domain list
dmtoolkit.magejosh.repl.co
seo-plugin.orrenprunckun.com
talkfpl.beegreeeen.workers.dev
videohighlight.com
aiplugin-experiences.owlting.com
www.nani.ooo
jetbook.click
imageeditor.dev
api.speedybrand.io
c-resume.copilot.us
@korakot
korakot / keyboard.txt
Created April 12, 2023 12:27
Keyboard RK switch problem
Fn + Left Ctrl will switch back
See https://defkey.com/royal-kludge-rk61-shortcuts