This file contains 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
Use this: http://docs.aws.amazon.com/sns/latest/dg/mobile-push-apns.html | |
Prepare: | |
1. Create folder "Certificates" in the "Documents" folder. | |
Do: | |
1. Go: https://developer.apple.com/account/ios/certificate/certificateCreate.action | |
2. Select: Apple Push Notification service SSL (Sandbox) | |
3. On your Mac open Keychain Access. In the drop down menu, select Keychain Access > | |
Certificate Assistant > Request a Certificate from a Certificate Authority. | |
In the Certificate Information window, enter the following information: |
This file contains 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
Ionic and ngCordova upload example |
This file contains 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
git init | |
git add * | |
git commit -m "first commit" | |
git remote set-url origin https://user:server:port/scm/ABC/my_stash_repo.git (git remote -v) | |
// |
This file contains 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
use it: | |
https://gist.github.com/oodavid/1809044 | |
change "apache" user name to whatever your php running on | |
at the end execute: | |
git remote set-url origin [email protected]:user/repo.git |
This file contains 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
$file=Yii::getAlias('@app/pass/to/file'); | |
$image=Yii::$app->image->load($file); | |
header("Content-Type: image/png"); | |
echo $image->resize($width,$height)->rotate(30)->render(); |
NewerOlder