• BLOG
  • ARCHIVE
  • GITHUB
  • RSS
  • Migration to vue 2.0

    Oct 9, 2016

    需要升级的包列表

    1
    2
    3
    4
    5
    npm i vue@2.0.1 --save
    npm i vue-router@2.0.0 --save
    npm i vuex@2.0.0 --save
    npm i vuex-router-sync@3.0.0 --save
    npm i vuex-loader@9.5.1 --save-dev
    ...more
  • Mac实现tree命令

    Jul 14, 2016

    tree命令可以很方便的展示目录结构,但是macos并不支持,这时我们需要安装这个命令

    首先需要安装homebrew

    1
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    然后安装tree

    1
    brew npm install tree

    安装完成,试试使用tree命令吧

    1
    tree -L 1
    ...more
  • Mac OS X 配置 - iTerm2

    Jul 13, 2016

    iTerm2

    iTerm2 is a terminal emulator for OS X that does amazing things
    

    ...more
  • 使用Hexo搭建Blog

    Jun 13, 2016

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

    Run server

    1
    $ hexo server

    More info: Server

    ...more
  • JavaScript高级程序设计

    Jan 3, 2016

    基本概念

    3.6.6 label语句

    使用label语句可以在代码中添加标签,以便将来使用。以下是label语句的语法:

    1
    label: statement

    下面是一个示例:

    1
    2
    3
    start: for (var i=0; i < count; i++) {
    alert(i);
    }

    这个例子中定义的start标签可以在将来由break或continue语句引用。加标签的语句一般都要与for语句等循环语句配合使用。

    ...more
PREVNEXT

© 2016 - 2019 Cacivy | Power By Hexo.

view times