book icon indicating copy to clipboard operation
book copied to clipboard

📝 record daily code、share-article、storage of dotfiles

Welcome to book 👋

Version Documentation Maintenance License: ISC

Record Daily Code, storage of dotfiles and workflows

🏠 Homepage

✨ Category

🗒 share & article

  • 2020-09-10 chrome 扩展探索
  • 2020-07-18 图解 React 原理
  • 2020-05-04 前端工程化 -- 实践总结
  • 2020-03-25 给自己提了个 bug:setInterval 卡顿问题
  • 2020-01-14 Lerna + yarn 实现 monorepo 管理
  • 2019-11-07 作为面试官,我会问哪些问题?(基础篇)
  • 2019-09-03 从封装一个日期处理工具到发布为 npm 公共包的全过程
  • 2019-08-21 带 bar Mac Book Pro 主板损坏血泪史
  • 2019-07-16 Async/Await 深入理解
  • 2019-07-10 前端之路:RN 拆包 demo(js 部分)
  • 2019-06-26 前端之路:用 Angular 规范来约束团队 git 提交
  • 2019-05-05 前端之路: 如何用 jenkins 构建部署项目
  • 2019-05-01 前端之路:紧跟潮流,docker 简单应用
  • 2019-02-20 前端之路: 用 github 的 webhooks 实现项目自动化构建

🛠 utils

🆕 新版请看 https://github.com/jsany/any/blob/main/packages/shared-utils/src/index.ts

  • fetch 封装(timeout,cancel)
  • 复制到粘贴板(健壮)
  • (多屏幕+手机系统字体+webview+750 设计稿)适配方案
  • 个人常用工具函数封装
    • 获取数据的具体类型
    • 根据路径获取对象的值
    • 获取某个区间[min=0, max]的随机数
    • 格式化名次:在数字后面加上 st/nd/rd/th
    • 随机打乱数组
    • 将 css 转为驼峰对象
    • 深拷贝
    • 防抖动:(decorator)可装饰类内箭头函数
    • 节流:(decorator)可装饰类内箭头函数
    • url Stringify:json 对象转参数字符串
    • url Parse:参数字符串转 json 对象
    • 格式化日期
    • 获取 utc 的时间戳
    • utc 时间转目标时区的时间
    • 目标时区的时间转 utc 时间
    • 扩展 Error
    • 判断当前环境是否支持 webp 格式
    • 获取图片 base64
    • 将一维数组(arr)按一定数量(num)分为二维数组

🎨 components

react

🧠 algorithm

  • 两数之和
  • 背包(0-1)
  • 整数反转

⚙️ dotFiles

  • tmux
  • zsh
  • vim

🔠 Fonts

  • MonoLisa

🅰 applications

  • Visual Studio Code
  • Sublime Text
  • WebStorm
  • Xcode
  • iTerm
    • my settings
  • Alfred 4
    • my settings
  • iHosts
  • LICEcap
  • LightProxy
  • Charles
  • OmniGraffle
  • XMind
  • TinyPNG4Mac
  • Typora
  • KeyCastr
  • KeepingYouAwake
  • Flux
  • RunCat
  • Kite
  • RDM
  • 即可地球

interviewer

作为面试官,我会问哪些问题?

  • js 基础

Author

👤 jzg

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 jzg.
This project is ISC licensed.


This README was generated with ❤️ by readme-md-generator