Skip to content

Instantly share code, notes, and snippets.

View ikendoit's full-sized avatar
🎭
(╯°□°)╯︵ ┻━┻

Trung Kien Nguyen - Ken Nguyen ikendoit

🎭
(╯°□°)╯︵ ┻━┻
  • cd /home/$USER
View GitHub Profile
@ikendoit
ikendoit / gist:37357917c368e2192c58e6c47dd23536
Last active November 17, 2023 05:52
Tamper Monkey ChatGPT script - Nov-2023-UI Adapt
// ==UserScript==
// @name Chat GPT Prompts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://chat.openai.com/*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @run-at document-idle
// @grant none
Trung Kien Nguyen
I will tell you stories about my daily life,
Then when I ask to, you will generate a description of a painting illustrating the situation I ask for.
CHAT:
Sure, I'd be happy to generate a painting description based on your daily life stories. Please feel free to share your stories!
Let's say we have a directed graph database, it is empty.
This graph database contains these Node Labels: [Person]. This graph database contains these relationships: [Family_Of, Friend_Of, Know_Of, Has_Met].
I will say sentences describing my daily life, and you analyze the words to: Create or Update an existing Node, Create or Update an existing relationship, Ask me questions if you need more info to have better analysis.
You can respond in two ways:
- 1. Question: Ask question if you need more detail to come to graph database conclusion
- 2. Graph Database Conclusion: Answer can contain one or more of these commands:
+ ADD Node:{id: <value>, name: '<value>', <attribute>: '<value>'}
+ UPDATE Node:{id: <value>, name: '<value>', <attribute>: '<value>'}
+ UPDATE Relationship:{id: <value>, from: Node{id: <value>}, to: Node{id: <value>}, <attribute>: <value>}
Note: You can add any attributes you want to any node or relationship. This is for a property graph.
Trung Kien Nguyen
Given a Janapenese Kanji word, write out how the words look like in real life, based on the shape of their hand writing.
For example:
Question: 町
Answer: The Town is having a blooming 田 Rice Paddy on one side and crowded 丁 Street on the other side.
Question: 電
Answer: Under the 雨 Rain, in the middle of a 田 Rice Paddy, a man holds the 乚 Umbrella while he discovers electicity.
Question: 明
Answer: The 日 sun shines light on the 月 moon, making the moon and its surrounding bright
Question: 礼
@ikendoit
ikendoit / .vimrc
Created January 19, 2022 22:34
vimrc-basic-2022-01-19
set history=500
filetype plugin on
filetype indent on
set autoread
au FocusGained,BufEnter * checktime
" With a map leader it's possible to do extra key combinations
" like <leader>w saves the current file
let mapleader = ","
@ikendoit
ikendoit / .bashrc
Created January 19, 2022 22:04
Lab-bash-rc-2022-01-19
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
@ikendoit
ikendoit / .tmux.config
Created January 19, 2022 22:01
Lab-tmux-config-2022-01-19
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf
#set-option -g status-style bg=colour235,fg=colour136,default # bg=base02, fg=yellow
# set window split
# bind-key v split-window -h
# bind-key b split-window
## default window title colors
#set-window-option -g window-status-style fg=colour244,bg=default,dim # fg=base0
#