Skip to content

Instantly share code, notes, and snippets.

View huijunchen9260's full-sized avatar

Hui-Jun Chen huijunchen9260

View GitHub Profile
@huijunchen9260
huijunchen9260 / snippets.vim
Last active December 25, 2021 15:39
Snippet in pure vim
let g:snippet_dir = $HOME . "/.config/nvim/vimsnip/"
source $HOME/.config/nvim/vimsnip/*.vim
"""""""""""""""""""""""""""""""
" Jump Forward and Backward "
"""""""""""""""""""""""""""""""
""" mimic multi cursor
""""" if search find <-->, copy the content in {}
@huijunchen9260
huijunchen9260 / tikz_module.f90
Created June 8, 2024 04:37
Using tikz to plot 2D figure in Fortran
module tikz_module
! -------------------------------------------------- !
! ! If using intel fortran, must include this module !
! ! If using gnu fortran, must comment this line out !
! use ifport !
! -------------------------------------------------- !
use, intrinsic :: iso_Fortran_env, only : wp => real64, int32, int64, real32, real64, OUTPUT_UNIT, INPUT_UNIT, ERROR_UNIT
use omp_lib