Skip to content

Instantly share code, notes, and snippets.

View infinitekh's full-sized avatar

KIM Hyeok infinitekh

View GitHub Profile
@infinitekh
infinitekh / .vimrc
Last active January 18, 2024 00:01
my vimrc
call plug#begin('~/.vim/plugged')
" 설치
Plug 'Shougo/ddc.vim'
Plug 'vim-denops/denops.vim'
" Install your sources
Plug 'Shougo/ddc-around'
" Install your filters
Plug 'Shougo/ddc-matcher_head'
Plug 'Shougo/ddc-sorter_rank'
@infinitekh
infinitekh / Kurzweil_SP4.midnam
Created September 6, 2023 13:53
Kurzweil SP4 MIDI Name Document(xml)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MIDINameDocument PUBLIC "-//MIDI Manufacturers Association//DTD MIDINameDocument 1.0//EN" "http://www.midi.org/dtds/MIDINameDocument10.dtd">
<MIDINameDocument>
<Author>Hyeok KIM</Author>
<MasterDeviceNames>
<Manufacturer>Kurzweil</Manufacturer>
<Model>SP4</Model>
<!-- Object Version 2.31.2 -->
<CustomDeviceMode Name="Default">
<ChannelNameSetAssignments>
#!/bin/bash
#array D0[3] = [0.00256450982078853, 0.00138352380952381, 0.00184947918228621];
#array tauv[3] = [4.75e-1, 2.28e-1, 3.20e-1];
#array tauf[3] = [7.27, 4.36, 5.82];
#array tauD[3] = [ 3.68e4, 7.66e4, 5.47e4];
for i in [hd]qt_rho*type3.tr
# install taglib first ( from github , no apt-get)
git clone https://github.com/taglib/taglib
cd taglib
## diff !!
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06a7c2fa..f987a6d4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
@infinitekh
infinitekh / sge.bash
Last active April 14, 2023 03:18
bash completion file for sun grid engine
_qconf()
{
local cur prev opts;
_get_comp_words_by_ref cur prev;
#prev2="${COMP_WORDS[COMP_CWORD-2]}"
helpopts="-aattr -Aattr -acal -Acal -ackpt -Ackpt -aconf -Aconf -ae -Ae -ah -ahgrp -Ahgrp -arqs -Arqs -am -ao -ap -Ap -aprj -Aprj -aq -Aq -as -astnode -astree -Astree -at -au -Au -auser -Auser -clearusage -cq -dattr -Dattr -dcal -dckpt -dconf -de -dh -dhgrp -drqs -dm -do -dp -dprj -dq -ds -dstnode -dstree -du -dul -duser -help -ke -k -kec -kt -mattr -Mattr -mc -mckpt -Mc -mcal -Mcal -Mckpt -mconf -Mconf -me -Me -mhgrp -Mhgrp -mrqs -Mrqs -mp -Mp -mprj -Mprj -mq -Mq -msconf -Msconf -mstnode -Mstree -mstree -mu -Mu -muser -Muser -purge -rattr -Rattr -sc -scal -scall -sckpt -sckptl -sconf -sconfl -se -secl -sel -sep -sh -shgrp -shgrp_tree -shgrp_resolved -shgrpl -sds -srqs -srqsl -sm -so -sobjl -sp -spl -sprj -sprjl -sq -sql -ss -sss -ssconf -sstnode -rsstnode -sst -sstree -su -suser -sul -suserl -tsm"
modified="-mattr -mcal -mconf -mhgrp -mprj -mrqs -mstnode -mu
-mc -mckpt
@infinitekh
infinitekh / .XCompose_latex
Created October 18, 2022 04:14
XCompose my file
## from ~/.XCompose ^(at)include "~/.XCompose_latex"
# greek small letters
<Multi_key> <g> <a> : "\\alpha" U03B1 # GREEK SMALL LETTER ALPHA
<Multi_key> <g> <b> : "\\beta" U03B2 # GREEK SMALL LETTER BETA
<Multi_key> <g> <g> : "\\gamma" U03B3 # GREEK SMALL LETTER GAMMA
<Multi_key> <g> <d> : "\\delta" U03B4 # GREEK SMALL LETTER DELTA
<Multi_key> <g> <e> : "\\epsilon" U03B5 # GREEK SMALL LETTER EPSILON
<Multi_key> <g> <z> : "\\zeta" U03B6 # GREEK SMALL LETTER ZETA
<Multi_key> <g> <h> : "\\eta" U03B7 # GREEK SMALL LETTER ETA
<Multi_key> <g> <i> : "\\iota" U03B9 # GREEK SMALL LETTER IOTA