Skip to content

Instantly share code, notes, and snippets.


devedbox devedbox

View GitHub Profile
devedbox /
Created Nov 27, 2018 — forked from Weptun/
Now fix when no entitlements are present.
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# Extension Copyright (c) 2013 Weptun Gmbh
# Extended by Ronan O Ciosoig January 2012
# Extended by Patrick Blitz, April 2013
devedbox / xcode-downloader.rb
Created Nov 22, 2018 — forked from iandundas/xcode-downloader.rb
Script for reliably downloading binaries (e.g. Xcode) from Apple's CDN
View xcode-downloader.rb
#!/usr/bin/env ruby
print "What is the URL of your Apple Downloads resource?\nURL:"
url = gets.strip
print "What is the ADCDownloadAuth cookie token:\nADCDownloadAuth: "
token = gets.strip
command = "aria2c --header \"Host:\" --header \"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\" --header \"Upgrade-Insecure-Requests: 1\" --header \"Cookie: ADCDownloadAuth=#{token}\" --header \"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B72 Safari/602.1\" --header \"Accept-Language: en-us\" -x 16 -s 16 #{url} -d ~/Downloads"
devedbox / AXWebViewController
Created Nov 18, 2016
Lightweight web browser inside app.
View AXWebViewController
# AXWebViewController[![Build Status](]([![Version](]([![License](]([![Platform](](
`AXWebViewController`是一款易用的基于`UIWebView`(20160716更新:iOS8.0以上使用`WKWebView`实现)封装的网页浏览控制器. 在系统功能的基础上添加了工具条导航,可以刷新、返回、前进、等操作,同时,`AXWebViewController`还实现了`微信样式`的导航返回支持,集成简单,使用方便。如图所示:
[![sample2](]( [![sample](](