Skip to content

Instantly share code, notes, and snippets.

View zhouzhongyuan's full-sized avatar

Zhongyuan Zhou zhouzhongyuan

View GitHub Profile
@jonah-williams
jonah-williams / build.sh
Created April 30, 2011 17:46
Command line iOS project builds and over-the-air distribution
#!/bin/bash
# https://gist.github.com/949831
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/
# command line OTA distribution references and examples
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html
@bluemsn
bluemsn / backboneJs-sourcecode-analysis.js
Last active May 24, 2016 16:05
转 backbonejs 源码分析 方便参考学习~ 【原出处不详 如作者发现告知一定加上原链接】
// Backbone.js 0.9.2
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function() {
// 创建一个全局对象, 在浏览器中表示为window对象, 在Node.js中表示global对象
var root = this;
@ChrisChares
ChrisChares / AsyncAwaitGenerator.md
Last active September 30, 2022 13:26
async/await with ES6 Generators & Promises

async/await with ES6 Generators & Promises

This vanilla ES6 function async allows code to yield (i.e. await) the asynchronous result of any Promise within. The usage is almost identical to ES7's async/await keywords.

async/await control flow is promising because it allows the programmer to reason linearly about complex asynchronous code. It also has the benefit of unifying traditionally disparate synchronous and asynchronous error handling code into one try/catch block.

This is expository code for the purpose of learning ES6. It is not 100% robust. If you want to use this style of code in the real world you might want to explore a well-tested library like co, task.js or use async/await with Babel. Also take a look at the official async/await draft section on desugaring.

Compatibility

  • node.js - 4.3.2+ (maybe earlier with
一。简介
1.传统科学上网是用VPN,只能用app里内置的网络,就像之前的小灵通一样只能用烧录在里面的号码。
2.现在科学上网是网络工具+网络节点,网络工具比如手机,网络节点就像网络运营商,这样可以自由选择工具和合适的网络。优缺点对比见下图(图中app为ios端)
二。网络工具的选择
----------------------------------------------------------------------------------------------------------------
下文软件集合https://github.com/ishareTG/Net
详细教程请看https://github.com/ishareTG/Net/blob/master/help.md
----------------------------------------------------------------------------------------------------------------