theos的makefile写法与其他linux/unix环境下的makefile写法大同小异,但是对于makefile不熟悉的在导入一些dylib或者framework的时候就会变得很蛋疼。
.vimrc 配置文件
Mac OS下默认的vim配置文件也够蛋疼的,什么都没有。这个发一个,不是我自己写的 😉 ,其实本来应该是那个地方的来着我也忘了,去掉了一行不支持的配置。
最简单的办法是在用户目录下执行
wget http://www.h4ck.org.cn/.vimrc
theos iosopendev各种蛋疼的问题
1.xcrun: error: unable to find utility “codesign_allocate”, not a developer tool or in PATH
可能原因,xcode版本问题,这个鸟机器是昨天又换过来的,结果上面两个xcode 4.6 和xcode 5 preview。蛋疼啊,折腾这么多东西。这个问题只要执行下面的命令将默认的xcode设置为4.6基本就可以解决了
sudo xcode-select -switch /Applications/Xcode4.6.app/Contents/Developer/
2.执行make package的时候提示如下的错误:
theos make: *** [internal-package] Error 2
话说这个鸟东西搜索了一下还没找到是什么原因导致的,后来想到可能是路径或者工程名的问题,于是修改了一下工程下的control文件原内容为:
Package: com.mars.ssl_hook
Name: SSL_HooK
Depends: mobilesubstrate
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome
MobileSubstrate tweak!
Maintainer: obaby
Author: obaby
Section: Tweaks
mitmproxy
mitmproxy是一款支持SSL的HTTP代理,它可以用于调试HTTP通信,发起中间人攻击等。mitmproxy提供了一个控制台接口用于动态拦 截和编辑HTTP数据包。mitmdump是mitmproxy的命令行版本,功能与其相同。
link:http://www.mitmproxy.org/
mitmproxy的主要特点:
Intercept and modify HTTP traffic on the fly
Save HTTP conversations for later replay and analysis
Replay both HTTP clients and servers
Make scripted changes to HTTP traffic using Python
SSL interception certs generated on the fly
Python tools for VS2012

PTVS is a free/OSS plugin that turns Visual Studio into a Python IDE. PTVS supports CPython, IronPython, Editing, Browsing, Intellisense, Debugging, Profiling, HPC Clusters, Multiple REPL’s, IPython, Django, and Cloud computing with Client Libraries for Windows, Linux and MacOS. This is an officially supported product from Microsoft’s Developer Division.
如果喜欢用vs勊考虑用这个插件来实现在vs中进行代码编写和调试,简单的测试了一下,发现如果新建工程调试的时候断点是有效的,但是如果是单一文件作为脚本调试,断点无法正常中断。当然作为一个alphra版本的软件做到这样已经不错了。
AlphaControls 2013 v8.33 Full Source
Download link: http://pan.baidu.com/share/link?shareid=488372&uk=3188888025
Black Vendetta -改变主题颜色
其实不是很喜欢换主题每次换主题都会需要折腾很多的后续问题。虽然这个主题和上个主题是从同一个模板修改过来的。但是鉴于Artisteer 4不能直接编辑css文件,每次修改完了都需要重新调校很多的东西,所以换主题就成了一件很蛋疼的事情,并且有很多功能都是通过修改主题生成的php文件直接得到的。