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 / Symbol.iterator-object-rest-spread.md
Created July 4, 2017 01:25
Symbol.iterator & object-rest-spread

Symbol.iterator & object-rest-spread

what's this exactly mean?

...createLoading({obj})

Is it ES6 destructuring assignment?