Skip to content

Instantly share code, notes, and snippets.

View Ihindng's full-sized avatar

Dang IgHing Ihindng

View GitHub Profile
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
# env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@Ihindng
Ihindng / .ideavimrc
Created May 28, 2018 06:03
idaevimrc
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmode
set number
" set relativenumber
" insert mode shortcut
inoremap <C-b> <Left>
inoremap <C-n> <Down>
use std::rc::Rc;
use std::rc::Weak;
use std::cell::RefCell;
struct Owner {
name: String,
gadgets: RefCell<Vec<Weak<Gadget>>>,
}
struct Gadget {