Skip to content

Instantly share code, notes, and snippets.

View GrassHopper42's full-sized avatar
๐ŸŽฏ
Focusing

Hwanseok Yu GrassHopper42

๐ŸŽฏ
Focusing
View GitHub Profile
@GrassHopper42
GrassHopper42 / .vimrc
Last active January 22, 2023 07:31
vimrc for La Piscine
if has("syntax")
syntax enable
endif
"vi์™€์˜ ํ˜ธํ™˜์„ฑ X
set nocompatible
" ๋“ค์—ฌ์“ฐ๊ธฐ ์„ค์ •
set autoindent
set smartindent
// +page.server.ts
export const load: PageServerLoad = async () => {
const {
data: {
result: { uploadURL }
}
}: AxiosResponse = await axios(`https://api.cloudflare.com/client/v4/accounts/${PUBLIC_CF_ID}/images/v2/direct_upload`, {
method: 'POST',
headers: {
if has("syntax")
syntax enable
endif
"vi์™€์˜ ํ˜ธํ™˜์„ฑ X
set nocompatible
" ๋“ค์—ฌ์“ฐ๊ธฐ ์„ค์ •
set autoindent
set smartindent
@GrassHopper42
GrassHopper42 / coc-settings.json
Last active January 9, 2023 01:50
coc-setting.json
{
"coc.preferences.currentFunctionSymbolAutoUpdate": true,
"coc.preferences.formatOnSave": true,
"coc.preferences.jumpCommand": "edit",
"diagnostic.errorSign": "โœ–",
"diagnostic.warningSign": "โš ",
"diagnostic.infoSign": "โ„น",
"diagnostic.hintSign": "โžค",
"diagnostic.enableHighlightLineNumber": true,
if has("syntax")
syntax enable
endif
"vi์™€์˜ ํ˜ธํ™˜์„ฑ X
set nocompatible
" ๋“ค์—ฌ์“ฐ๊ธฐ ์„ค์ •
set expandtab
set autoindent
@GrassHopper42
GrassHopper42 / .tmux.conf
Last active March 13, 2023 12:49
.tmux.conf
# rmap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %