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

Mac升级到10.13.2后,从非AppStore渠道下载的软件,打开时提示:已损坏,打不开. 您应该将它移到废纸篓

2018/7/25 posted in  macOS

大胡子与我

结婚以前大胡子问过我一句很奇怪的话:“你要一个赚多少钱的丈夫?”
我说:“看得不顺眼的话,千万富翁也不嫁;看得中意,亿万富翁也嫁。”
“说来说去,你总想嫁有钱的。”
“也有例外的时候。”我叹了口气。
“如果跟我呢?”他很自然地问。
“那只要吃得饱的钱也算了。”
他思索了一下,又问:“你吃得多吗?”
我十分小心地回答:“不多,不多,以后还可以少吃点。”
就这几句对话,我就成了大胡子荷西的太太。
                                              ----三毛
2018/4/25 posted in  memo

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

2018/4/13 posted in  tech