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
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
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
| #!/bin/sh | |
| # Combined all static libaries in the current directory into a single static library | |
| # It is hardcoded to use the i386, armv7, and armv7s architectures; this can easily be changed via the 'archs' variable at the top | |
| # The script takes a single argument, which is the name of the final, combined library to be created. | |
| # | |
| # For example: | |
| # => combine_static_libraries.sh combined-library | |
| # | |
| # Script by Evan Schoenberg, Regular Rate and Rhythm Software |
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
| -(UIImage *)screenShot | |
| { | |
| CGRect originalFrame = self.frame; | |
| CGPoint originalOffset = self.scrollView.contentOffset; | |
| CGSize entireSize = [self sizeThatFits:CGSizeZero]; | |
| [self setFrame: CGRectMake(0, 0, entireSize.width, entireSize.height)]; | |
| CGRect rect = [self positionOfElementWithId:@"post1"]; | |
| //如果没有找到这个元素,就取整个页面 | |
| if (rect.origin.y != 0) { |