Skip to content

Instantly share code, notes, and snippets.

Avatar

Korakot Chaovavanich korakot

  • Bangkok, Thailand
View GitHub Profile
@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
View docker.txt
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
View _install_packages.txt
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
View command.txt
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
View path.txt
/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
View chatgpt_convert.py
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
View plugin_sources.txt
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 September 21, 2023 12:58
Chatgpt plugin domain list
View plugin_domains.txt
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
View keyboard.txt
Fn + Left Ctrl will switch back
See https://defkey.com/royal-kludge-rk61-shortcuts
@korakot
korakot / zig.py
Last active February 4, 2023 13:32
Install zig in Colab
View zig.py
url = 'https://ziglang.org/download/0.10.1/zig-linux-x86_64-0.10.1.tar.xz'
!curl $url | tar xJ
!mv zig-linux-x86_64-0.10.1 /opt/bin
%%file main.zig
const std = @import("std");
pub fn main() void {
std.debug.print("Hello world\n", .{});
}