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
| curl -kL https://bootstrap.pypa.io/get-pip.py | sudo python |
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
| Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-15 |
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're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py |
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
| Installing collected packages: pip, wheel | |
| Exception: | |
| Traceback (most recent call last): | |
| File "/var/folders/jp/w42t18ld4111wgg57dw4jflw0000gn/T/tmpqokvBP/pip.zip/pip/basecommand.py", line 215, in main | |
| status = self.run(options, args) | |
| File "/var/folders/jp/w42t18ld4111wgg57dw4jflw0000gn/T/tmpqokvBP/pip.zip/pip/commands/install.py", line 342, in run | |
| prefix=options.prefix_path, | |
| File "/var/folders/jp/w42t18ld4111wgg57dw4jflw0000gn/T/tmpqokvBP/pip.zip/pip/req/req_set.py", line 784, in install | |
| **kwargs | |
| File "/var/folders/jp/w42t18ld4111wgg57dw4jflw0000gn/T/tmpqokvBP/pip.zip/pip/req/req_install.py", line 851, in install |
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
| sudo pip install awscli --ignore-installed six |
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
| Installing collected packages: six | |
| Exception: | |
| Traceback (most recent call last): | |
| File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main | |
| status = self.run(options, args) | |
| File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 342, in run | |
| prefix=options.prefix_path, | |
| File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 784, in install | |
| **kwargs | |
| File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 851, in install |
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
| npm run build && aws s3 sync build/ s3://your-bucket-name | |
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
| @IBOutlet weak var pageControll: UIPageControl! | |
| @IBOutlet weak var scrollView: UIScrollView! | |
| var scrollViewPageIndex :Int { | |
| set { | |
| let contentX = scrollView.width * CGFloat(newValue) | |
| DispatchQueue.main.async { | |
| UIView.animate(withDuration: 0.2, animations: { [weak self] _ in | |
| self?.scrollView.contentOffset = CGPoint.init(x: contentX, y: 0) | |
| }) |