For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
// Support routines for automatically reporting user timing for common analytics platforms | |
// Currently supports Google Analytics, Boomerang and SOASTA mPulse | |
// In the case of boomerang, you will need to map the event names you want reported | |
// to timer names (for mPulse these need to be custom0, custom1, etc) using a global variable: | |
// rumMapping = {'aft': 'custom0'}; | |
(function() { | |
var wtt = function(n, t, b) { | |
t = Math.round(t); | |
if (t >= 0 && t < 3600000) { | |
// Google Analytics |
~ # /tmp/zramtest3.sh test6 /tmp/ffmpeg-1\:2.6.1-1-x86_64.pkg.tar | |
zram test6 Sat Apr 4 09:50:06 GMT 2015 | |
comp_algorithm [lzo] lz4 snappy | |
real 0m 0.20s 0.20s 0.24s avg: 0.214s | |
real 0m 1.45s 1.42s 1.42s avg: 1.430s | |
compr_data_size 30504972 30504968 30504947 30504962 | |
comp_algorithm lzo [lz4] snappy |
#!/bin/bash | |
# Copyright 2013-2019 Neomantra BV. All rights reserved. | |
# Released under the MIT License. | |
usage() | |
{ | |
cat >&2 <<EOF | |
usage: $0 [-h] [-v] [-c cpulist] ppid1 [ppid2 [...]] | |
Given a list of parent process IDs, this script finds their child |
<?php | |
/** | |
* Plugin name: HTTP2 Push scripts | |
* Author: Tom J Nowell | |
*/ | |
function tomjn_get_dep_url( /*\WP_Dependency*/ $dep ) { | |
global $wp_version; | |
$relative = str_replace( site_url(), '', $dep->src ); | |
$ver = $dep->ver; |
var VERSION = 'v1'; | |
var cacheFirstFiles = [ | |
// ADDME: Add paths and URLs to pull from cache first if it has been loaded before. Else fetch from network. | |
// If loading from cache, fetch from network in the background to update the resource. Examples: | |
// 'assets/img/logo.png', | |
// 'assets/models/controller.gltf', | |
]; |
# Some notes from installing VirtualBox on CentOS 7. | |
# These exact steps haven't been tested, as I ran them in a different order when manually installing. | |
# Install dependencies | |
yum -y install gcc make patch dkms qt libgomp epel-release | |
yum -y install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel | |
# Install VirtualBox | |
cd /etc/yum.repos.d | |
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo |
REM 1. Create C:\Program Files\rclone | |
REM 2. Download rclone http://rclone.org/downloads/ and unzip it to C:\Program Files\rclone | |
REM 3. Save this file as C:\Program Files\rclone\rclone.bat | |
REM 3. Set the blank variables seen below. | |
REM 3.1 Set RCLONE_ROOT_FOLDER_NAME to the name of the folder in ACD where you want all backups to go. "Backup". | |
REM 3.2 Set RCLONE_FOLDER_NAME to the name of this machine's backup. | |
REM 4. Create C:\Program Files\rclone\sources.txt file with a line for each source. C:\Users\admin\Desktop;Desktop | |
REM 4.1 Before the ";" is the source path. After the ";" is the destination in ACD. | |
REM 5. Create C:\Program Files\rclone\excludes.txt file with a line for each globally excluded pattern. | |
REM 5.1 "Photo Booth Library" |
# If you specify --with-openssl-dir=yes, pkg-config is used and found_openssl is set to true. | |
if test "$PHP_OPENSSL_DIR" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then | |
if $PKG_CONFIG --atleast-version=0.9.6 openssl; then | |
found_openssl=yes | |
OPENSSL_LIBS=`$PKG_CONFIG --libs openssl` | |
OPENSSL_INCS=`$PKG_CONFIG --cflags-only-I openssl` | |
OPENSSL_INCDIR=`$PKG_CONFIG --variable=includedir openssl` | |
else | |
as_fn_error $? "OpenSSL version 0.9.6 or greater required." "$LINENO" 5 | |
fi |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk. This process is also explained at the Nginx ngx_http_fastcgi_module page document page.
Since disk is slow and memory is fast the aim is to get as many FastCGI responses passing through memory only. On the flip side we don't want to set an excessively large buffer as they are created and sized on a per request basis (i.e. it's not shared memory).
The related Nginx options are:
fastcgi_buffering
appeared in Nginx 1.5.6 (1.6.0 stable) and can be used to turn buffering completely on/off. It's on by default.fastcgi_buffer_size
](http://nginx.org/en/