This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xcodebuild -workspace XXX.xcworkspace -scheme XXX clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep '^\d\{3,\}[.]\{1\}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // from https://github.com/suxiaogang/WeiboPicBed | |
| // under its license | |
| function uploadToWeibo( url , callback ) | |
| { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.onload = function() { | |
| var reader = new FileReader(); | |
| reader.onloadend = function( e ) | |
| { |