Skip to content

Instantly share code, notes, and snippets.

@changyuan
changyuan / emojis.json
Created December 18, 2017 12:12 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"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_boys", "shortname": "", "unicode": "", "html": "👨&zw
@changyuan
changyuan / learning-english-way.md
Last active June 15, 2017 13:38
how to learning english
  • gig economy /sharing economy 打零工
  • pod 豆荚 工位
  • head & shoulders 头和肩膀(海飞丝)
  • rain cats and dogs 倾盆大雨,风雨交加
  • 网红 kol(key opinion leader)  net influencer
  1. 学小词
  2. 随时学习,信手拈来
  3. 理解文化
  4. 好的素材(小说,杂志)
# 下载安装
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
php composer-setup.php
php -r "unlink('composer-setup.php');"

## 更改为composer
sudo mv composer.phar /usr/local/bin/composer

# 常用命令
@changyuan
changyuan / mkdocs.md
Created June 12, 2017 14:24
mkdocs Usage

installation

curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install --upgrade pip #升级
pip install mkdocs
mkdocs --version

mkdocs new my-project
cd my-project
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
<style type="text/css">
* {
box-sizing: border-box;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style type="text/css">
.flex-container {
display: flex;
display: -webkit-flex;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style>
.flex-container {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
@changyuan
changyuan / gulpfile.js
Created November 23, 2016 02:13 — forked from mlouro/gulpfile.js
gulpfile.js with browserify, jshint, libsass, browserSync for livereload, image optimization and system notifications on errors
'use strict';
var gulp = require('gulp');
var gutil = require('gulp-util');
var del = require('del');
var uglify = require('gulp-uglify');
var gulpif = require('gulp-if');
var exec = require('child_process').exec;
var notify = require('gulp-notify');
@changyuan
changyuan / Artisan.php
Created September 2, 2016 02:36
Laravel Cheat Sheet
php artisan --help OR -h
php artisan --quiet OR -q
php artisan --version OR -V
php artisan --no-interaction OR -n
php artisan --ansi
php artisan --no-ansi
php artisan --env
// -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
php artisan --verbose