Ubuntu 环境下配置问题

  • GCC

    sudo apt-get install build-essential
    
  • sudo apt-get install python-pip is failing

    sudo apt-get install python-pip
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package python-pip
    

    python-pip is in the universe repositories, therefore use the steps below:

    sudo apt-get install software-properties-common
    sudo apt-add-repository universe
    sudo apt-get update
    sudo apt-get install python-pip
    
2018/7/26 posted in  tech

安卓某些机型 webview 中的一些坑

  1. 不支持 Object.assign()
    • 华为荣耀6 - Android 4.4.2 - EMUI 3.0
    • vivo V3Max - Android 5.1.1 - Funtouch OS_2.5.1
2018/7/26 posted in  tech

less 和 sass 中关于变量声明顺序的处理差别

2018/4/13 posted in  tech

apply call 和 bind 的区别

apply

fun.apply(thisArg[, argArray])

call

使用給定的this參數以及分別給定的參數來呼叫某個函數
fun.call(thisArg[, arg1[, arg2[, ...]]])

bind

返回一个函数, 类似 call

2018/3/9 posted in  tech

iOS Universal Links 配置流程

2017/11/29 posted in  tech