Skip to content

Instantly share code, notes, and snippets.

View xyzdata's full-sized avatar
🏠
Working from home

xyzdata xyzdata

🏠
Working from home
View GitHub Profile
@xyzdata
xyzdata / input-number-spin-style.md
Created July 5, 2017 07:03
input=number & spin style (arrows)

input=number & spin style (arrows)

how to hidden [input=number] browser default spin style

css input type number remove arrows

@xyzdata
xyzdata / npm-install-error.md
Created July 5, 2017 05:19
npm install error
@xyzdata
xyzdata / regex.md
Last active July 4, 2017 08:46
regex

regex

    
//regex

const regex = /^(\w+)\:\/\/([^\/]+)\/(.*)$/;

let url = `https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Regular_Expressions`;
@xyzdata
xyzdata / U盘-error.md
Created July 4, 2017 08:12
U盘打开为空白不显示内容怎么办

U盘打开为空白不显示内容怎么办

bash shell

$ cd U:

$ ls -al
# check files
@xyzdata
xyzdata / property-initializer-syntax-auto-bind-this.md
Created July 3, 2017 07:58
ES7 & Property initializer syntax & React auto bind this

ES7 & Property initializer syntax

React auto bind this

property-initializer-syntax-auto-bind-this

babel-plugin

babel-plugin-transform-class-properties

@xyzdata
xyzdata / Ant-Components.md
Created July 3, 2017 07:09
Ant-Components

Ant-Components

    
//