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.
| var Q = require("q"); | |
| var HTTP = require("q-http"); | |
| function httpReadRetry(url, timeout, times) { | |
| return HTTP.read(url) | |
| .then(function (content) { | |
| return content; | |
| }, function (error) { | |
| if (times == 0) | |
| throw new Error("Can't read " + JSON.stringify(url)); |
| function keepTrying(otherArgs, promise) { | |
| promise = promise||new Promise(); | |
| // try doing the important thing | |
| if(success) { | |
| promise.resolve(result); | |
| } else { | |
| setTimeout(function() { | |
| keepTrying(otherArgs, promise); |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Olivier Scherrer | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| //To fetch a branch, you simply need to: | |
| git fetch origin | |
| //This will fetch all of the remote branches for you. With the remote branches | |
| //in hand, you now need to check out the branch you are interested in, giving | |
| //you a local working copy: | |
| git checkout -b test origin/test |
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.
| var restify = require('restify'); | |
| // Authentication | |
| var passport = require('passport'); | |
| var LocalStrategy = require('passport-local').Strategy; | |
| var sessions = require("client-sessions"); | |
| var server = restify.createServer(); | |
| server.use(restify.queryParser()); | |
| server.use(restify.bodyParser()); |
| if (ImageFormat.Jpeg.Equals(image.RawFormat)) | |
| { | |
| // JPEG | |
| } | |
| else if (ImageFormat.Png.Equals(image.RawFormat)) | |
| { | |
| // PNG | |
| } | |
| else if (ImageFormat.Gif.Equals(image.RawFormat)) | |
| { |
| package com.mirth.stevek.rxtest; | |
| import rx.Observable; | |
| import rx.functions.Action1; | |
| import rx.functions.Func1; | |
| import rx.functions.Func3; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.concurrent.*; |