For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
// This list of common devices was put together from various online sources by me, Jan Keromnes. | |
// | |
// The device features are: | |
// - name: The device brand and model(s). | |
// - width: The viewport width. | |
// - height: The viewport height. | |
// - pixelRatio: The screen's pixel ratio (e.g. HiDPI > 1). | |
// - userAgent: The device's UserAgent string on the web. | |
// - touch: Whether the device's screen is touch-enabled. | |
// |
server { | |
listen 443; | |
server_name example.com; | |
error_log /var/log/nginx/example_com_error.log warn; | |
ssl on; | |
ssl_certificate /etc/nginx/ssl/your.crt; #certificate chains | |
ssl_certificate_key /etc/nginx/ssl/your.key; #private key | |
// Swap values for CHANGE FOR YOURSELF, and OBS: it's a novelty authentication, so improvements can and will happen | |
package main | |
import ( | |
"bufio" | |
"crypto/hmac" | |
"crypto/sha1" | |
"fmt" | |
"github.com/craigmj/gototp" |
<?php | |
use Swagger\Annotations as SWG; | |
/** | |
* @SWG\Swagger( | |
* basePath="/v1", | |
* host="api.local", | |
* schemes={"http"}, | |
* produces={"application/json"}, |
var _ = require('lodash'); | |
var arr = [ | |
{"name":"my2child1","title":"My 2 Child 1","parent":"my2"}, | |
{"name":"my2child2","title":"My 2 Child 2","parent":"my2"}, | |
{"name":"parent","title":"A single parent"}, | |
{"name":"child-parent","title":"A child parent","parent":"child1"}, | |
{"name":"my","title":"My"}, | |
{"name":"my2","title":"My2"}, | |
{"name":"child1","title":"Child 1","parent":"my"}, |
Title | URI | |
---|---|---|
Flurry by Yahoo | https://dev.flurry.com/secure/signup.do | |
Google NikCollection | https://dl.google.com/edgedl/photos/nikcollection-full-1.2.11.dmg | |
Bitbucket | http://bitbucket.org/ | |
SoftLayer | http://softlayer.com/ | |
VirtualBox | http://download.virtualbox.org/virtualbox/5.0.16/VirtualBox-5.0.16-105871-OSX.dmg | |
Docker Hub | https://hub.docker.com/ | |
Oracle | http://oracle.com/ | |
Java | http://java.com | |
Sun | http://sun.com |
Configure nginx with HTTP JavaScript module using the --add-module option:
./configure --add-module=<path-to-njs>/nginx
Alternatively, you can build a dynamic version of the njs module
./configure --add-dynamic-module=<path-to-njs>/nginx
Project | Version | TravisCI | Score | Coverage | Issues | StyleCI |
---|---|---|---|---|---|---|
Util | ||||||
Event | [.*" (404|444|403|400) .*$ | |
ignoreregex = | |