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.
#!/bin/bash | |
function print_lwp_line() { | |
local pid="${1}" | |
local lwp="${2}" | |
local nlwp="${3}" | |
local ruser="${4}" | |
local pcpu="${5}" | |
local cputimes="${6}" |
See my DASH-IF presentation from October, 2014: | |
https://s3.amazonaws.com/misc.meltymedia/dash-if-reveal/index.html#/ | |
1. encode multiple bitrates with keyframe alignment: | |
ffmpeg -i ~/Movies/5D2_Portrait.MOV -s 1280x720 -c:v libx264 -b:v 1450k -bf 2 \ | |
-g 90 -sc_threshold 0 -c:a aac -strict experimental -b:a 96k -ar 32000 out.mp4 | |
My input was 30 fps = 3000 ms. If it were 29.97, then a GOP size of 90 frames will yield a base segment | |
size of 3003 milliseconds. You can make the segment size some multiple of this, e.g.: 6006, 9009, 12012. |
#!/usr/bin/env bash | |
# Retrieves the plaintext JNLP from a SuperMicro IPMI webserver | |
# Usage: supermicro-java-console.sh <hostname> | |
# supermicro-java-console.sh 10.1.2.34 > login.jnlp | |
set -x | |
HOST="$1" | |
IPMI_USER=${IPMI_USER:-ADMIN} |
Use TCPDUMP to Monitor HTTP Traffic | |
1. To monitor HTTP traffic including request and response headers and message body: | |
tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | |
2. To monitor HTTP traffic including request and response headers and message body from a particular source: | |
tcpdump -A -s 0 'src example.com and tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | |
3. To monitor HTTP traffic including request and response headers and message body from local host to local host: |
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.
disable_flush
and disable_recovery
(TD)package com.stample.search; | |
import com.google.common.collect.Collections2; | |
import com.stample.search.engine.SearchEngineBuilder; | |
import com.stample.search.enums.EnumIndex; | |
import com.stample.search.enums.EnumType; | |
import org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse; | |
import org.elasticsearch.action.index.IndexResponse; | |
import org.elasticsearch.client.AdminClient; | |
import org.elasticsearch.client.Client; |
package net.hausherr.sample; | |
import org.apache.http.client.CookieStore; | |
import org.apache.http.conn.routing.HttpRoute; | |
import org.apache.http.conn.routing.HttpRoutePlanner; | |
import org.apache.http.conn.scheme.PlainSocketFactory; | |
import org.apache.http.conn.scheme.Scheme; | |
import org.apache.http.conn.scheme.SchemeRegistry; | |
import org.apache.http.conn.ssl.SSLSocketFactory; | |
import org.apache.http.conn.ssl.TrustStrategy; |
#!/bin/bash | |
# | |
# Report time to first byte for the provided URL using a cache buster to ensure | |
# that we're measuring full cold-cache performance | |
while (($#)); do | |
echo $1 | |
curl -so /dev/null -H "Pragma: no-cache" -H "Cache-Control: no-cache" \ | |
-w "%{http_code}\tPre-Transfer: %{time_pretransfer}\tStart Transfer: %{time_starttransfer}\tTotal: %{time_total}\tSize: %{size_download}\n" \ | |
"$1?`date +%s`" |