For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
Run ด้วยคำสั่ง | |
$wrk -c2 -t2 -d1s -s lifecycle.lua --latency https://www.google.com | |
-------------------------------- | |
function setup(thread) | |
print("Called setup") | |
end | |
function init(args) | |
print("Called init") |
package test | |
import io.reactivex.Completable | |
import io.reactivex.observers.TestObserver | |
import io.reactivex.schedulers.Schedulers | |
import org.junit.Assert.assertEquals | |
import org.junit.Rule | |
import org.junit.Test | |
import java.util.concurrent.Executors |
@app.route("/sitemap") | |
@app.route("/sitemap/") | |
@app.route("/sitemap.xml") | |
def sitemap(): | |
""" | |
Route to dynamically generate a sitemap of your website/application. | |
lastmod and priority tags omitted on static pages. | |
lastmod included on dynamic content such as blog posts. | |
""" | |
from flask import make_response, request, render_template |
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
source.sh | |
/** | |
* Modify the parts you need to get it working. | |
*/ | |
var should = require('should'); | |
var request = require('../node_modules/request'); | |
var io = require('socket.io-client'); | |
var serverUrl = 'http://localhost'; |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
struct
-like objects, i.e. ones that are largely the same as a C struct
instance, win in the memory department.