#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
| #!/bin/bash | |
| # http://ss64.com/bash/echo.html | |
| echo -n -e " " | |
| for j in {40..47}; do | |
| echo -n -e " bj-$j " | |
| # Reset text attributes to normal without clear | |
| tput sgr0 | |
| done |
#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
Most of these guidelines are to match Apple's documentation and community-accepted best practices. Some are derived some personal preference. This document aims to set a standard way of doing things so everyone can do things the same way. If there is something you are not particularly fond of, it is encouraged to do it anyway to be consistent with everyone else.
This document is mainly targeted toward iOS development, but definitely applies to Mac as well.
NSString *foo = @"bar";| // | |
| // Masonry+M9Ext.h | |
| // M9Dev | |
| // | |
| // Created by MingLQ on 2017-04-05. | |
| // Copyright © 2017 MingLQ <minglq.9@gmail.com>. Released under the MIT license. | |
| // | |
| #import <Masonry/Masonry.h> |
| #!/bin/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| chgrp -R admin $(brew --prefix)/* | |
| chmod -R g+w $(brew --prefix)/* | |
| # allow admins to homebrew's local cache of formulae and source files | |
| chgrp -R admin /Library/Caches/Homebrew |
| /*! | |
| * Javascript library - $class v0.2 | |
| * http://github.com/iwill/ | |
| */ | |
| /** | |
| * typeOf with Object.prototype.toString + instanceof | |
| * #see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString#Description | |
| */ | |
| function typeOf(obj) { |
| # Get project directory path | |
| current_pwd="$PWD" | |
| project_dir=`cd "../../"; pwd` | |
| cd "$current_pwd" | |
| # Get .xcodeproj file path (yes I know it's not a file) | |
| project_file=`find "$project_dir" -maxdepth 1 -name "*.xcodeproj" | tail -1` |
| Pod::Spec.new do |s| | |
| s.name = 'POD_NAME' | |
| s.version = '1.0.0' | |
| s.license = { :type => 'MIT', :file => 'LICENSE' } | |
| s.summary = 'Example of pod which installs a run script into the Xcode project (first target)' | |
| s.homepage = 'https://github.com/phatblat/POD_NAME' | |
| s.authors = { 'Ben Chatelain' => 'benchatelain@gmail.com' } | |
| s.source = { :git => 'https://github.com/phatblat/POD_NAME.git', :tag => s.version.to_s } | |
| s.ios.deployment_target = '6.0' |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'pathname' | |
| require 'open3' | |
| # This tool checks an input path for all static libraries *.a files | |
| # and makes sure they were built with the most modern ObjC ABI version. | |
| # Parse command line options. |
| #import <Foundation/Foundation.h> | |
| // VARIABLE must be a variable declaration (NSString *foo) | |
| // VALUE is what you are checking is not nil | |
| // WHERE is an additional BOOL condition | |
| #define iflet(VARIABLE, VALUE) \ | |
| ifletwhere(VARIABLE, VALUE, YES) | |
| #define ifletwhere(VARIABLE, VALUE, WHERE) \ |