It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
unitech@t450: ~/keymetrics/rocky-lb | |
>>> wrk -c 100 -t 100 -d 10 http://localhost:3051 | |
Running 10s test @ http://localhost:3051 | |
100 threads and 100 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 31.79ms 137.82ms 1.89s 97.08% | |
Req/Sec 97.57 59.72 470.00 80.69% | |
79474 requests in 10.10s, 9.17MB read | |
Socket errors: connect 0, read 0, write 0, timeout 5 | |
Requests/sec: 7869.75 |
// _____ __ _ _ | |
///__ \_ _ _ __ ___/ _\ ___ _ __(_)_ __ | |_ | |
// / /\/ | | | '_ \ / _ \ \ / __| '__| | '_ \| __| | |
// / / | |_| | |_) | __/\ \ (__| | | | |_) | |_ | |
// \/ \__, | .__/ \___\__/\___|_| |_| .__/ \__| | |
// |___/|_| |_| | |
//Typescript Cheat Sheet: every syntax feature exemplified | |
//variables are the same as javascript, but can be defined with a type: | |
var myString:string; |
npm Users By Downloads (git.io/npm-top)
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
# | User | Downloads |
---|
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
- A Russian translation of this article can be found here, contributed by Timur Demin.
- A Turkish translation can be found here, contributed by agyild.
- There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt
.
As it is not possible to change the ports used for the standalone
authenticator and I already have a nginx running on port 80/443, I opted to use the webroot
method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com
and example.com
).
For this, I placed config files into etc/letsencrypt/configs
, named after <domain>.conf
. The files are simple:
if(!("valueAsDate" in HTMLInputElement.prototype)){ | |
Object.defineProperty(HTMLInputElement.prototype, "valueAsDate", { | |
get: function(){ | |
var d = this.value.split(/\D/); | |
return new Date(d[0], --d[1], d[2]); | |
}, | |
set: function(d){ | |
var day = ("0" + d.getDate()).slice(-2), | |
month = ("0" + (d.getMonth() + 1)).slice(-2), | |
datestr = d.getFullYear()+"-"+month+"-"+day; |
Moved to a proprer repositoy, TSWS is a real boy now! | |
https://github.com/dfletcher/tsws | |
PRs welcomed. |
# Importer une clé | |
gpg --import [filename] | |
# Rechercher une clé depuis serveur distant | |
gpg --keyserver pgp.mit.edu --search-keys KEYID | |
# Importer une clé depuis un serveur distant | |
gpg --keyserver pgp.mit.edu --recv-keys KEYID | |
# Exporter une clé sur un serveur distant |