Skip to content

Instantly share code, notes, and snippets.

@dienhoa
dienhoa / .vimrc
Last active October 8, 2020 07:58
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
unbind C-b
set -g prefix C-s
bind-key -r C-s send-prefix
# Use vim keybindings in copy mode
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
setw -g mode-keys vi
# Setup 'v' to begin selection as in Vim
bind-key -T copy-mode-vi 'v' send -X begin-selection
@dienhoa
dienhoa / i3-config
Last active November 17, 2020 20:35
i3 config with vim style
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@dienhoa
dienhoa / pytorch2fastai.ipynb
Last active October 15, 2021 20:41
How to take advantage of fastai with your pytorch training pipeline
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dienhoa
dienhoa / docment-notes.md
Last active February 19, 2022 05:20
It's my note about useful commands I use during the docment sprint https://github.com/muellerzr/fastai-docment-sprint

Run 3 commands below when you prepare your PR

nbdev_build_lib 

nbdev_build_docs —fname {path the to file}

nbdev_clean_nbs
Sorry, this is too big to display.
@dienhoa
dienhoa / SSD.ipynb
Created August 21, 2022 08:27
SSD Implementation using fastai
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dienhoa
dienhoa / regression.ipynb
Last active April 27, 2023 20:09
transformer for TimeSeries regression
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.