tobethelight / tobethelight.github.io Goto Github PK
View Code? Open in Web Editor NEW个人博客
Home Page: https://tobethelight.github.io/
License: MIT License
个人博客
Home Page: https://tobethelight.github.io/
License: MIT License
docker run --name zk -p 2181:2181 zookeeper
$ open .npmrc
electron_mirror=http://npm.taobao.org/mirrors/electron/
回滚删除远端提交
git reset --hard commit_id
git push origin HEAD --force
基于 vue-cli webpack 的开发环境关闭严格模式。
构建后每个模块会被添加"use strict",导致部分调用 callee 库冲突,需关闭此功能。
发现不止babel中插件有此功能,eslint-loader 中也有此功能,可在 eslint-loader 中添加 strict: "never" 来关闭此功能。
.eslintrc 文件里的配置跟 eslint-loader 中的配置还不一样[捂脸],又让这堆配置坑了一天[捂脸]。
tree
目录树for /r %i in (*.*) do (if "%~xi" neq ".css" del %i)
当前目录下删除非css后缀文件for /f "delims=" %i in ('dir /s /b /ad ') do rd "%i"
当前目录下删除空文件夹hash相关配置——缓存:
开始尝试了cnpm,但是不明原因的在windows系统下无法缓存下载包(也可能是我没配好),所以又尝试了Sinopia和Verdaccio,最终使用Verdaccio实现。
"linebreak-style": ["error", "windows"],
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.