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.
| #include <unistd.h> | |
| #include <node.h> | |
| #include <string.h> | |
| #include <v8.h> | |
| using namespace v8; | |
| unsigned long long count = 0; | |
| // native blocking/compute intensive function |
| # If you're looking into the C10M problem (10 million concurrent connections) | |
| # you might want to play with DPDK (Originally proprietry Intel, now open source) | |
| # | |
| # C10M: http://c10m.robertgraham.com/ | |
| # DPDK: http://dpdk.org/ | |
| # | |
| # This is a quick summary how to install dpdk on ubuntu | |
| # running inside virtualbox on a mac | |
| # On my Mac: |
| <?php | |
| /* | |
| This script can be used by a server to make fire and forget requests to any given url. | |
| This script assumes you have access to $_COOKIE and $_SERVER variable passed along via the server. | |
| GET and POST requests are supported. | |
| POST can have an attached file to it. | |
| Author: Mahesh Gattani ([email protected]) |
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.
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <uv.h> | |
| #include <curl/curl.h> | |
| uv_loop_t *loop; | |
| CURLM *curl_handle; | |
| uv_timer_t timeout; | |
| typedef struct curl_context_s { |
| /* curl_multi_test.c | |
| Clemens Gruber, 2013 | |
| <[email protected]> | |
| Code description: | |
| Requests 4 Web pages via the CURL multi interface | |
| and checks if the HTTP status code is 200. | |
| Update: Fixed! The check for !numfds was the problem. |
| /* | |
| * Little example of how to use ```socket-io.client``` and ```request``` from node.js | |
| * to authenticate thru http, and send the cookies during the socket.io handshake. | |
| */ | |
| var io = require('socket.io-client'); | |
| var request = require('request'); | |
| /* | |
| * This is the jar (like a cookie container) we will use always |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| 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 |