Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| { | |
| "xiaohongshu.com": "小红书", | |
| "vip.com": "唯品会", | |
| "douguo.com": "豆果美食", | |
| "youshu.cc": "有书", | |
| "missfresh.cn": "每日优鲜", | |
| "qnr.io": "去哪儿", | |
| "kaola.com": "网易考拉", | |
| "waimai.meituan.com": "美团外卖", | |
| "qcs.meituan.com": "美团打车", |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys, re | |
| import requests | |
| import Queue | |
| import threading | |
| class Proxy(): | |
| def __init__(self, proxy_url, target_url, ver_keyword, timeout): |
| #import <objc/runtime.h> | |
| #import <objc/message.h> | |
| @implementation AppDelegate | |
| id (*my_msgSend)(id, SEL, ...) = (void *)objc_msgSend; | |
| void (*my_msgSend_)(id, SEL, ...) = (void *)objc_msgSend;; | |
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
| 如果Mac 上没有安装brew。先安装:ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
| 首先安装jenkins #: brew install jenkins brew 官网:http://brew.sh 或直接从Jenkins下载:http://jenkins-ci.org | |
| 本地Xcode 工程设置: | |
| 安装完成后浏览器打开:http://localhost:8080 Jenkins 默认地址 | |
| 首先请确认本地的xcode 工程是否能生成ipa 最好先试一次。如果xcode 能正常生成ipa 那么下面的才能实现 | |
| 第一步:编译ios 工程首先需要安装Xcode Plugin | |
| 1 选择左边的Manage Jenkins--> Manage Plugins --> Available -->Xcode integration |
| //The calculations are coming from [here](https://gist.github.com/d-ronnqvist/11266321) (thanks David!) | |
| - (void)updateAnimations | |
| { | |
| CGFloat duration = self.duration * (1.f - [[self.progressLayers firstObject] strokeEnd]); | |
| CGFloat strokeEndFinal = 1.f; | |
| for (CAShapeLayer *progressLayer in self.progressLayers) | |
| { | |
| POPBasicAnimation *popEndAnimation = [POPBasicAnimation animation]; |
| import asyncio | |
| import aiohttp | |
| import bs4 | |
| import tqdm | |
| @asyncio.coroutine | |
| def get(*args, **kwargs): | |
| response = yield from aiohttp.request('GET', *args, **kwargs) | |
| return (yield from response.read_and_close(decode=True)) |
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf to /usr/local/etc/nginx/default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-availablehomebrew.mxcl.nginx.plist to /Library/LaunchDaemons/| // | |
| // ARC Helper | |
| // | |
| // Version 2.2 | |
| // | |
| // Created by Nick Lockwood on 05/01/2012. | |
| // Copyright 2012 Charcoal Design | |
| // | |
| // Distributed under the permissive zlib license | |
| // Get the latest version from here: |