Skip to content

Instantly share code, notes, and snippets.

View romepeng's full-sized avatar

romepeng romepeng

View GitHub Profile
  • Update HISTORY.rst
  • Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
  • Update version number (can also be minor or major)
bumpversion patch
@romepeng
romepeng / how-to-use-pelican.md
Created July 28, 2017 14:45 — forked from JosefJezek/how-to-use-pelican.md
How to use Pelican on GitHub Pages
@romepeng
romepeng / 0_reuse_code.js
Created August 10, 2017 06:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@romepeng
romepeng / ResumeSample_test.md
Last active August 12, 2017 11:33
ResumeSample

我的简历

如何写简历

首先, 即要事实,还要有说服力。

  • Feature :
  • Advantage :
  • Benefit : 其次, 点到为止, 要提供数据等论据。
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
import matplotlib.pyplot as plt
from pandasql import *
import pandas as pd
pysqldf = lambda q: sqldf(q, globals())
q = """
SELECT
m.date
, m.beef
async def main():
coroutine1 = do_some_work(1)
coroutine2 = do_some_work(2)
coroutine3 = do_some_work(4)
tasks = [
asyncio.ensure_future(coroutine1),
asyncio.ensure_future(coroutine2),
asyncio.ensure_future(coroutine3)
]
@romepeng
romepeng / neovim_install.sh
Created February 9, 2020 07:29 — forked from backroot/neovim_install.sh
neovim install for centos 7
# https://github.com/neovim/neovim/wiki/Installing-Neovim
yum -y install epel-release
curl -o /etc/yum.repos.d/dperson-neovim-epel-7.repo https://copr.fedorainfracloud.org/coprs/dperson/neovim/repo/epel-7/dperson-neovim-epel-7.repo
yum -y install neovim --enablerepo=epel
@romepeng
romepeng / init.vim
Created September 4, 2021 00:29 — forked from benawad/init.vim
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
{
"suggest.noselect": false,
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"typescriptreact",
"json",
"javascriptreact",
"typescript.tsx",
"graphql"