Article

  • Better Code: Implement Pull to Refresh in your iOS Apps

    How to Make an iOS Custom Pull-To-Refresh

    iOS7 and UIRefreshControl in UIViewController (with UITableView)

    How to use the new Refresh Control of UITableView, in iOS6

    iOS Programming 101: Implementing Pull-to-Refresh and Handling Empty Table

    Pul

  • 网上找到几个不错的工具集

    • Free Online Tools For Developers
    • Online Tools for Software Developers
    • 开源中国在线工具
    • iBox在线工具

    生成器(Generator)

    • JSON数据生成器:

    http://www.json-generator.com/
    http://jsonplaceholder.typicode.com/

    • Password密码生成器:用于各种系统用户的初始密码

    http://strongpasswordgenerator.com/

    • CSS Sprite生成器:减少服务器请求合并零散的小图

    ht

  • 参考文章

    https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04

    http://ubuntuhandbook.org/index.php/2014/04/install-nginx-with-php5-mysql-lemp-in-ubuntu-14-04-server/

    http://www.unixmen.com/install-lemp-server-nginx-mysql-mariadb-php-phpmyadmin-u

  • Mac自带了的JDK6,安装在目录:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/下。

    JDK7,JDK8则需要自己到Oracle官网下载安装对应的版本。自己安装的JDK默认路径为:/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk

    1. 在用户目录下的bash配置文件.bashrc中配置JAVA_HOME的路径:

    export JAVA_6_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    export J
  • 配置示例

    Vagrant.configure("2") do |config|
      config.vm.define :master do |master|
        master.vm.provider "virtualbox" do |v|
              v.customize ["modifyvm", :id, "--name", "master", "--memory", "1024"]
        end
        master.vm.box = "ubuntu/trusty64"
        master.vm.hostname = "master"
        master.vm.netw