Skip to content

Instantly share code, notes, and snippets.

View lanvige's full-sized avatar
🏠
Working from home

Zhiming Jiang lanvige

🏠
Working from home
View GitHub Profile
@lanvige
lanvige / cloudSettings
Last active March 30, 2020 04:30
Visual Studio Code Sync Settings Gist
{"lastUpload":"2020-03-30T04:30:12.205Z","extensionVersion":"v3.4.3"}
#!/usr/bin/env bash
# Pre-requisites
sudo apt-get -y update
sudo apt-get --no-install-recommends -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev vim
# Download and compile Ruby 2.1.2
cd /tmp
wget http://ruby.taobao.org/mirrors/ruby/2.1/ruby-2.1.2.tar.gz
tar -xvzf ruby-2.1.2.tar.gz
#import <UIKit/UIKit.h>
@interface TestViewController : UIViewController <
UITableViewDelegate,
UITableViewDataSource>
{
// instance variable 实例变量,Refrence Count,在实现类里赋值,引用值怎么计算?因为它没有指定strong类型。
NSMutableArray *_listData;
UITableView *_tableView;
}