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
| mkdir singapore | |
| cd singapore | |
| git init | |
| git remote add -t singapore -f origin git@github.com:amolc/cxchonour-dev.git | |
| git checkout singapore |
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
| /** | |
| Adds two numbers together. <b>Sample only.</b> | |
| Could be used as mixin to {@link com.foo.SomeClass SomeClass} | |
| @function | |
| @param {int} first - first number | |
| @param {optional int} second - second number | |
| @returns sum of two numbers | |
| @author Amol C | |
| @sinceDate 13 Aug Mandar Joshi 1.00 PM | |
| @lastUpdate 13 Aug Amol Chawathe 2.00 PM |
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
| rm "platforms/ios/build/Popetybidding.ipa" #deletes previous ipa | |
| xcodebuild -scheme Popety clean archive -archivePath build/Popety | |
| xcodebuild -exportArchive -exportFormat ipa -archivePath "build/Popety.xcarchive" -exportPath "build/Popety.ipa" -exportProvisioningProfile "popety" |
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
| { | |
| "name": "transparent-1.0", | |
| "version": "0.0.100", | |
| "devDependencies": { | |
| "grunt": "~0.4.5", | |
| "grunt-cli": "~0.1.13", | |
| "grunt-html2js": "~0.2.7", | |
| "grunt-contrib-uglify": "~0.5.0", | |
| "grunt-contrib-clean": "~0.5.0", | |
| "grunt-contrib-connect": "~0.8.0", |
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 | |
| rm "platforms/ios/build/Popety.ipa" #deletes previous ipa | |
| xcodebuild -scheme Popety clean archive -archivePath build/Popety | |
| xcodebuild -exportArchive -exportFormat ipa -archivePath "build/Popety.xcarchive" -exportPath "build/Popety.ipa" -exportProvisioningProfile "popety" |
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/bash | |
| version=$1 | |
| build=$2 | |
| buildtype=$3 | |
| projectname=Popety | |
| python cordovaversion.py $version $build | |
| if [ "$buildtype" == "uat" ] | |
| then | |
| echo "We are building for UAT" | |
| mv www/js/config.uat.js www/js/config.js |
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
| /* global angular */ | |
| /** | |
| * https://gist.github.com/mlynch/dd407b93ed288d499778 | |
| * | |
| * the HTML5 autofocus property can be finicky when it comes to dynamically | |
| * loaded templates and such with AngularJS. Use this simple directive to tame | |
| * this beast once and for all. | |
| * | |
| * Usage: | |
| * <input type="text" autofocus> |
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
| # Convert the .cer file into a .pem file: | |
| $ openssl x509 -in aps_development.cer -inform der -out PushChatCert.pem | |
| # Convert the private key’s .p12 file into a .pem file: | |
| $ openssl pkcs12 -nocerts -in PushChatKey.p12 -out PushChatKey.pem | |
| # Finally, combine the certificate and key into a single .pem file | |
| $ cat PushChatCert.pem PushChatKey.pem > ck.pem | |
| # At this point it’s a good idea to test whether the certificate works. |
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
| brew tap homebrew/dupes | |
| brew tap homebrew/versions | |
| brew tap homebrew/homebrew-php | |
| brew install php56 | |
| # Fix PEAR permissions | |
| chmod -R ug+w `brew --prefix php56`/lib/php | |
| pear config-set php_ini /usr/local/etc/php/5.6/php.ini | |
| # Fix PEAR config and upgrade |
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
| Test |