Giter VIP home page Giter VIP logo

frontendlibrary's People

Contributors

zhangmengxue avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xileliu

frontendlibrary's Issues

自定义 overflow scroll 的滚动条样式

::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}
::-webkit-scrollbar-track {
      background-color: transparent;
} /* the new scrollbar will have a flat appearance with the set background color */

::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
} /* this will style the thumb, ignoring the track */

::-webkit-scrollbar-button {
      background-color: rgba(0, 0, 0, 0.3);
}

Mac 关闭指定端口

有时候端口监听的时间长了,关闭命令行窗口也关不掉监听的端口。这时候就需要手动关闭一下了:

先执行:

lsof -i:端口号

然后会得到当前端口占用信息:

COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    23611 yixuan   16u  IPv6 0x31d85b0daa406a31      0t0  TCP *:8010 (LISTEN)

然后kill掉对应的 pid 即可:

kill -9 23611

iOS 中的时间解析

在 iOS 中只能解析其中的 / 格式的日期(若为-形式则会出现 NaN):

new Date('2016/11/01 00:00:00').getTime()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.