Skip to content

Instantly share code, notes, and snippets.

View yingzwang's full-sized avatar

Ying Wang yingzwang

View GitHub Profile
@yingzwang
yingzwang / starship.toml
Last active September 1, 2023 08:54
starship
# example ~/.config/starship.toml
# Don't print a new line at the start of the prompt
add_newline = false
format = """
$directory\
$aws\
$git_branch\
$git_status\
@yingzwang
yingzwang / gitconfig
Last active April 14, 2023 18:38
gitconfig
[pretty]
my-oneline = format:%C(auto,yellow)%h %C(auto,blue)%<(10,trunc)%ad %C(auto,green)%<(8,trunc)%aN %C(auto,reset)%s %C(auto,red)%gd%d
[alias]
a = add
ai = add -i
au = add -u
b = branch
bd = branch -d
bdd = branch -D
cm = commit -m
@yingzwang
yingzwang / vimrc
Last active April 14, 2023 14:32
vimrc
set clipboard=unnamed
" URL: http://vim.wikia.com/wiki/Example_vimrc
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode
" Description: A minimal, but feature rich, example .vimrc. If you are a
" newbie, basing your first .vimrc on this file is a good choice.
" If you're a more advanced user, building your own .vimrc based
" on this file is still a good idea.
"------------------------------------------------------------
" Features {{{1
@yingzwang
yingzwang / DeepQ-cartpole.ipynb
Last active July 8, 2022 08:29
Deep-Q learning implementation in Tensorflow and Keras (solving CartPole-v0)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.