Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # sudo gem install json icalendar | |
| require 'rubygems' | |
| require 'open-uri' | |
| require 'json' | |
| require 'icalendar' | |
| # sessions_data = JSON.parse(open("http://developer.apple.com/wwdc/data/sessions.json").read)["SessionsData"] | |
| sessions_raw = '[{ |
| ffmpeg -i koubei.mp4 -i taobao.mp4 -i pdd.mp4 -filter_complex "[0:v]pad=iw*3:ih[a];[a][1:v]overlay=w[b];[b][2:v]overlay=w*2" out.mp4 |
| import lldb | |
| import re | |
| import shlex | |
| # This script allows Xcode to selectively ignore Obj-C exceptions | |
| # based on any selector on the NSException instance | |
| def getRegister(target): | |
| if target.triple.startswith('x86_64'): | |
| return "rdi" |
| $("span.show-action").each(function(idx,ele){$.get("https://bpms.alibaba-inc.com/workdesk/taskcenter/ignoreTask.jsonp?sourceId=AliPayApprove&systemType=AliPay&taskId=" + $(ele).data("value").taskId)}) |
| in 100 | |
| loss 10 | |
| delay 250 | |
| out 150 | |
| loss 10 | |
| delay 250 | |
| dns 200 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>晓哲 subscriptions in feedly Cloud</title> | |
| </head> | |
| <body> | |
| <outline text="前端" title="前端"> | |
| <outline type="rss" text="掌心" title="掌心" xmlUrl="http://www.zhanxin.info/feed.xml" htmlUrl="http://www.zhanxin.info/feed.xml"/> | |
| <outline type="rss" text="Blog of Wenli Zhang" title="Blog of Wenli Zhang" xmlUrl="http://zhangwenli.com/blog/feed.xml" htmlUrl="http://zhangwenli.com/blog"/> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Subscriptions - WHY</title> | |
| </head> | |
| <body> | |
| <outline text="cool" title="cool"> | |
| <outline htmlUrl="http://kedebug.com/" title="kedebug" xmlUrl="http://kedebug.com/atom.xml" type="rss" text="kedebug"/> | |
| <outline htmlUrl="http://lucida.me/" title="Lucida" xmlUrl="http://lucida.me/atom.xml" type="rss" text="Lucida"/> | |
| <outline htmlUrl="http://www.wbrecom.com" title="微博推荐" xmlUrl="http://www.wbrecom.com/?feed=rss2" type="rss" text="微博推荐"/> |
| @implementation XCDUUID | |
| + (void) load | |
| { | |
| // query runtime if NSUUID class already exists, if so => done | |
| if (objc_getClass("NSUUID")) | |
| { | |
| return; | |
| } | |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| export THEOS=/opt/theos | |
| # clone theos.git | |
| cd /opt | |
| git clone git://github.com/DHowett/theos.git | |
| # clone iphoneheaders.git | |
| cd $THEOS | |
| mv include include.bak |