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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>compileBitcode</key> | |
| <true/> | |
| <key>method</key> | |
| <string>app-store</string> | |
| <key>provisioningProfiles</key> | |
| <dict> |
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
| ssh -T [email protected] //if you are using bitbucket | |
| ssh -T [email protected] //if you are using github | |
| //Are you sure you want to continue connecting (yes/no)? : type yes | |
| //Enter passphrase for key '/Users/Shared/Jenkins/.ssh/id_rsa': type in the pass phrase you used while creating RSA keys |
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
| pbcopy < ~/.ssh/id_rsa.pub |
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
| ssh-keygen | |
| //Enter file in which to save the key : hit enter (no need to provide any file name) | |
| //Enter passphrase : type in password | |
| //Enter same passphrase again : type in password again |
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
| security unlock-keychain -p Your_System_Password | |
| security import ~/Path to your certificate/Certificates.p12 -k ~/Library/Keychains/login.keychain -P Password_used_to encrypt_certificate |
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
| javac -version | |
| //my output looks like javac 1.8.0_131 |
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 su | |
| //once asked for password provide your system password | |
| pbcopy < /Users/Shared/Jenkins/Home/secrets/initialAdminPassword |
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
| class Thor : Aliens { | |
| let flyingCapability = ThorsFlyingCapability() | |
| func fly() { | |
| self.flyingCapability.fly() | |
| } | |
| private class ThorsFlyingCapability : FlyingCapability { | |
| override private func fly() { | |
| //thow hammer in the air |
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
| public class Thor extends Aliens{ | |
| ThorsFlyingCapability flyingCapability = new ThorsFlyingCapability(); | |
| public void fly() { | |
| this.flyingCapability.fly(); | |
| } | |
| private class ThorsFlyingCapability extends FlyingCapability { | |
| public void fly() { | |
| //throw hammer in the air |
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
| class FlyingCapability { | |
| func fly() { | |
| //I can fly | |
| } | |
| } | |
| class IronMan : Humans { | |
| let flyingCapability = FlyingCapability() | |
| func fly() { |