I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| # app/models/request_manager.rb | |
| class RequestManager < ApplicationRecord | |
| # associations | |
| belongs_to :requestable, polymorphic: true | |
| # constants | |
| DELIVERS = %w(now later system).freeze | |
| To manipulate Bitbucket repository with token: | |
| First you create an "Oauth" in access management section of your bitbucket account setting. This gives you a "Key" and a "Secret". You have done this bit. | |
| Now using these Key and Secret you ask Bitbucket for a token. In my case I made a http request to https://bitbucket.org/site/oauth2/access_token. I could do it with Curl or some Ajax library like this: | |
| curl -X POST -u "yourKeyHere:yourSecretHere" https://bitbucket.org/site/oauth2/access_token -d grant_type=client_credentials | |
| alternatively, my http request was like this (using superagent in node) with my Content-Type set to application/x-www-form-urlencoded you can use postman: | |
| request.post("https://yourKeyHere:yourSecretHere@bitbucket.org/site/oauth2/ access_token").send('grant_type=client_credentials');` | |
| the result is like this: |
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
#Documentación GoLang Español
| // chat/httpservice/main.go | |
| package httpService | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func SendNotification() { |