This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
# Clean, simple, compatible and meaningful. | |
# Tested on Linux, Unix and Windows under ANSI colors. | |
# It is recommended to use with a dark background and the font Inconsolata. | |
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# http://xiaofan.at | |
# 2 Jul 2015 - Xiaofan | |
# Machine name. | |
function box_name { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For Adonis | |
# Xiaofan | |
# 02 Jul 2015 | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/wuxxf/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Xiaofan Wu | |
email = [email protected] | |
[alias] | |
co = checkout | |
st = status | |
ci = commit | |
au = !git add -u && git add . && git status | |
last = log -1 HEAD | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":4,"name":"18 FLT 222 MBq/mL S inj Fl/1 [ATUn]","vidal_id":469247,"vidal_product_id":127224,"cip13":null,"otc":false,"created_at":"2015-06-22T16:04:09.000Z","updated_at":"2015-06-22T16:04:09.000Z"},{"id":5,"name":"68 GA/ 68GE 1,1 GBq Générateur radiopharmaceutique B/1 [ATUn]","vidal_id":469240,"vidal_product_id":127225,"cip13":null,"otc":false,"created_at":"2015-06-22T16:04:09.000Z","updated_at":"2015-06-22T16:04:09.000Z"},{"id":6,"name":"A 313 200 000 UI/100 g Pom T/50g","vidal_id":6,"vidal_product_id":3,"cip13":"3400930001479","otc":true,"created_at":"2015-06-22T16:04:09.000Z","updated_at":"2015-06-22T16:04:09.000Z"},{"id":7,"name":"A 313 50 000 UI Caps molle B/30","vidal_id":2,"vidal_product_id":1,"cip13":"3400930000649","otc":false,"created_at":"2015-06-22T16:04:09.000Z","updated_at":"2015-06-22T16:04:09.000Z"},{"id":8,"name":"ABBE CHAUPITRE 05 S buv états grippaux Fl/20ml","vidal_id":17942,"vidal_product_id":8261,"cip13":"3400933080983","otc":false,"created_at":"2015-06-22T16:04:10.000Z","updated_a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://eslint.org/docs/user-guide/configuring | |
module.exports = { | |
root: true, | |
parserOptions: { | |
parser: 'babel-eslint' | |
}, | |
env: { | |
browser: true, | |
mocha: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"env": { | |
"node": true, | |
"mocha": true | |
}, | |
"extends": ["standard", "eslint:recommended"], | |
"rules": { | |
"prefer-const": ["error", { // 优先使用 const 来声明变量 | |
"destructuring": "any", | |
"ignoreReadBeforeAssign": true |