Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

xyzdata xyzdata

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

input=number & spin style (arrows)

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

css input type number remove arrows

View regex.md

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 Jul 4, 2017
U盘打开为空白不显示内容怎么办
View U盘-error.md

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

bash shell

$ cd U:

$ ls -al
# check files
@xyzdata
xyzdata / Symbol.iterator-object-rest-spread.md
Created Jul 4, 2017
Symbol.iterator & object-rest-spread
View Symbol.iterator-object-rest-spread.md

Symbol.iterator & object-rest-spread

what's this exactly mean?

...createLoading({obj})

Is it ES6 destructuring assignment?