Skip to content

Instantly share code, notes, and snippets.

Yinjie Hu huyinjie

  • NanJing , China
Block or report user

Report or block huyinjie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:bd1733be239ed69352acd7aa33b05dfa
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({
headless : true
const page = await browser.newPage();
await page.setExtraHTTPHeaders({
View .vimrc
set nocompatible
filetype off
set t_Co=24 " Explicitly tell Vim that the terminal supports 256 colors
set background=dark
set laststatus=2
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1 " enable tabline
let g:airline#extensions#tabline#buffer_nr_show=1 " 显示buffer行号
View markdown-github.css
body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: #333;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 1.5;
word-wrap: break-word;
huyinjie / emojis.json
Created Dec 18, 2017 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
View emojis.json
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👦‍👦", "name": "family_two_biys", "shortname": "", "unicode": "", "html": "👨&zw
echo "Port: ${RESUME_PORT:="8080"}"
command -v docker >/dev/null 2>&1
if [ $? != 0 ]; then curl -sSL | sh; fi
mkdir -p $RESUME_PATH
docker run -d --name resume_tmp zuolan/resume
View gist:ee1058b9656e7936183e5d62cbf780ae
ffmpeg -i *.mp4 -i *.m4a -acodec copy -vcodec copy video.mp4
ffmpeg -i videoplayback.mp4 -i videoplayback.m4a -acodec copy -vcodec copy video.mp4
View gist:57086324bcd0664f4e017f2c1b848dee
deb xenial nginx
deb-src xenial nginx
wget -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install nginx
View gist:fb3a22ff7f6683f03fd16ae65fe4687e
sudo vim /etc/apt/sources.list
###### Ubuntu Main Repos
deb xenial main restricted universe multiverse
View gist:f3a9321b4c6924f346be19546c1f0b25
sudo vim /etc/apt/sources.list
deb trusty main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb xenial main restricted universe multiverse
deb xenial-updates main restricted universe multiverse
You can’t perform that action at this time.