Skip to content

Shenglian/-WORK_TIP

Repository files navigation

work-tip

工作上小技巧

面試相關

看過的 Source Code

需要做筆記

演算法

  1. 演算法 - 每日練習
  2. 演算法
  3. https://github.com/trekhleb/javascript-algorithms/blob/master/README.zh-TW.md

Javascript

ECMAScript

ES6 example

從瀏覽器多進程到JS單線程,JS運行機制最全面的一次梳理

Prototype

Other

  • By value vs by reference 前往
  • Javascript分号,加还是不加?前往
s = function(x){return x}
(1 + 2).toString()
// parse to 
s = function(x){return x}(1 + 2).toString()
// so we can to 
s = function(x){return x}
;(1 + 2).toString()
// we often to see 
;(function(){
// ...
})();
// 在 function 的前面加了一个分号,目的就是为了防止整个函数的返回值作为参数送入上一条语句之中。

Js Api

Vanilla

Promise

Async Await

  1. [Javascript ES7 Async Await 聖經
  2. JavaScript 好用的 async 異步函數!
  3. JavaScript async/await 的奇淫技巧
  4. Callback Promise Generator Async-Await 和异常处理的演进

非同步

  1. 剩余参数
  2. 扩展语句

String

  1. replace
  2. search

Angularjs

  1. directive 區別 $eval, $parse 和 $observe

Vue

Js Api

Highcharts

  1. Highcharts API 文档 v5.0.7

Public API

  1. Public APIs

Css

square

Cursor

Layout

Grid

Flexbox

css variables

css bugs

SVG

RVM

Laravel

zsh

  • zsh环境变量失效问题 - 編輯~/.zshrc文件,在開頭添加一下配置
export PATH=$HOME/bin:/usr/local/bin:$PATH
source $HOME/.bashrc
source $HOME/.bash_profile

Tip

  1. css-protips
  2. Let’s Look at 50+ Interesting CSS Properties & Values

Unix

  1. 7个你可能不认识的CSS单位

Webpack

CommonsChunkPlugin

  1. CommonsChunkPlugin
  2. HTML-WEBPACK-TEMPLATE 參數設定
  3. 看清楚真正的 Webpack 插件

Prettier

Git

mobile 坑

  1. 移动端上遇到的各种坑与相对解决方案
  2. 腾讯2016公司代码报告总结 - 主要看 video 播放的部分

ESLint

  1. 详解 ESLint 规则,规范你的代码

緩存

  1. 九种浏览器端缓存机制知多少

bash

  1. bash-guide
OUTPUT="$(ls -1)"
echo OUTPUT

AppleScript

AppleScript Basic AppleScript Loop

set usergroup to {user1:{name:"Darth Vader", role:"leader"}, user2:{name:"Yoda", role:"instructor"}}
repeat with member in (usergroup as list) -- the member variable contains a record
    display dialog (name of member)
    --display dialog (role of member)
end repeat

DevTool

  1. Setting > General > Show rulers 下可以啟用尺規,當滑鼠停留在控制台顯示的某個元素上或者選中一個元素的時候,會顯示出來。
  2. Select element > Break on > subtree modification ​ ​ ​ attribute modification ​ ​ ​ node removal 代表監聽底下所限定的條件,非常好用。

Ruby on Rails

  1. 為你自己學 Ruby on Rails

MatterJs

  1. Matter.js 2D 物理引擎试玩报告

React

  1. 大型高性能React PWA如何消除各类性能瓶颈?

javascript es6

  1. 深入理解ES6中的解构

Nginx

Architecture Scenarios

WebGL && Three.js

UX

Cheatsheet

Rails

Service-workers

HTTP

Google Tag Manager

  • npm i --save pkg => npm i -S pkg
  • npm i --save-dev pkg => npm i -D pkg
  • npm test => npm t
  • npm ls --depth 0 (list installed packages)
  • npm ls -g --depth 0 (list installed global packages)
  • ./node_modules/.bin/ (execute local mode_module path)
  • npm repo
  • npm home
  • npm docs
  • npm version
  • npm search
  • npm info/view version

Frontend-Cheat-Sheets - Sheets

Notification

Opensearch

Robots.txt

Android

MessageChannel

Koa

postgresql

面試

Apple Developer Update

Http-cache

About

工作上小技巧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published