Giter VIP home page Giter VIP logo

mrzzcn.github.io's People

Contributors

github-actions[bot] avatar mrzzcn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

mrzzcn.github.io's Issues

BFC | 随笔

https://mrzzcn.github.io/2018/12/28/bfc/

  1. 含义 块格式化上下文(Block Formatting Context,BFC) 是Web页面的可视化CSS渲染的一部分,是布局过程中生成块级盒子的区域,也是浮动元素与其他元素的交互限定区域。 下列方式会创建块格式化上下文: 根元素或包含根元素的元素 浮动元素(元素的 float 不是 none) 绝对定位元素(元素的 position 为 absolute 或 fixed) 行内

使用 Heroku 和 mongoDB Atlas 免费托管 YApi | 随笔

https://mrzzcn.github.io/2019/04/27/host-yapi-with-heroku-and-mongodb-atlas/#more

  1. 背景前端开发过程中,与后端约定接口标准之后,双方同时开始开发,可能会出现后端没有 Ready,但是前端已经需要使用接口的情况。这时候就需要 Fake 接口。有几种方式: 优点 缺点 1. 项目中使用 Fake Promise 方便快速 不能模拟真实网络请求,对代码有侵入,需要在 webpack 中配置路径替换或手动切换文件 2. 项目中使用 mockjs 等服务端方式启动

强化网站安全 - 第一篇:安全相关的Headers (Hardening Website Security – Part 1: HTTP Security Headers) | 随笔

https://mrzzcn.github.io/2019/01/11/HTTP-Security-Headers/

原文:Hardening Website Security – Part 1: HTTP Security Headers 简介感觉每周都会出现新的个人信息被盗事件,原因是某一家公司网站被黑了。 大部分攻击都是通过社会工程学诱骗某些用户主动提交一些信息,黑客借助这些信息获取更高权限并最终获取个人资料。 如果你想要在21世纪运营一个安全的网站,你需要遵循一些安全准则,我会写一个系列专

core-js ES6 ES7 cheatsheet | 随笔

https://mrzzcn.github.io/2018/04/27/core-js-es/

ECMAScript 5 (ES5):ECMAScript 的第五版修订,于 2009 年完成标准化。这个规范在所有现代浏览器中都相当完全的实现了。 ECMAScript 6 (ES2015/ES6) / ECMAScript 2015 (ES2015):ECMAScript 的第六版修订,于 2015 年完成标准化。这个标准被部分实现于大部分现代浏览器。可以查阅这张兼容性表来查看不同浏览器

| 随笔

https://mrzzcn.github.io/2019/07/20/react-redux-1-connect/

0 缘起之前有次面试被问起 connect 方法是如何把 store 的 state 传递到 Component 的,当时没有回答到点子上,拖到现在终于强迫自己坐下来搞清楚这个事情。 1 API先看看官方文档关于 connect() 方法的说明:Connect · React Redux | 中文版 大概翻译一下:connect() 方法把一个 React 组件绑定到 Redux store 上。

[翻译]Arrow Functions in Class Properties Might Not Be As Great As We Think | 随笔

https://mrzzcn.github.io/2018/11/17/arrow-function-in-class-property/

Javascript 新增了 arrow function 和 class,这两者的概念可参考:arrow function,类。React 里面的方法想要在JSX中使用,必须手动绑定 this,有些人会在这儿使用箭头函数简写掉 this.method = this.method.bind(this); 这行代码,本文作者对这种写法进行了分析,原文在此:Arrow Functions in Cl

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.