For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| =================== | |
| Class: ConsumerBounceTest | |
| File: core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala | |
| Module: core | |
| Starting a Gradle Daemon (subsequent builds will be faster) | |
| > Configure project : | |
| Starting build with version 3.8.0-SNAPSHOT (commit id 64b5f31b) using Gradle 8.7, Java 17 and Scala 2.13.12 | |
| Build properties: maxParallelForks=10, maxScalacThreads=8, maxTestRetries=0 |
| var mmdbreader = require('maxmind-db-reader'); | |
| module.exports = Open; | |
| function Open(dbPath) { | |
| var db; | |
| var queued = []; | |
| mmdbreader.open(dbPath, dbReady); | |
| return query; |
| # use b as prefix | |
| set-option -g prefix C-b | |
| unbind-key C-a | |
| bind-key C-b send-prefix | |
| # Start numbering at 1 | |
| set-option -g base-index 1 | |
| # Allows for faster key repetition | |
| set-option -g escape-time 0 |
| use std::ops::Deref; | |
| pub struct Foo; | |
| impl Foo { | |
| pub fn f(&self) -> &str { "Foo" } | |
| } | |
| pub struct BoxA<T>(T); | |
| impl<T> Deref for BoxA<T> { | |
| type Target = T; |
| FROM ubuntu:14.04 | |
| MAINTAINER blueoffice | |
| ENV PHANTOMJS_BINARY https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
| RUN apt-get update && \ | |
| apt-get install -y wget libfontconfig && \ | |
| wget $PHANTOMJS_BINARY -O phantomjs.tar.bz2 && \ | |
| tar xf phantomjs.tar.bz2 && \ |
| #!/bin/bash | |
| function deploy { | |
| # Update the rsync target on the server | |
| rsync \ | |
| -av \ | |
| --delete \ | |
| --delete-excluded \ | |
| $rsync_ignore_list_param \ | |
| $rsync_source/ $target:$rsync_target |
| # List rules | |
| sudo iptables -t nat -L | |
| # Add rule to forward 80 to 3080 | |
| sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3080 | |
| # Will delete all rules from nat table | |
| sudo iptables -F -t nat |
| #!/bin/bash | |
| set -e | |
| #node="/home/vagrant/nodes/iojs-v1.6.2-linux-x64/bin/iojs" | |
| node="/home/vagrant/nodes/node-v0.12.1-linux-x64/bin/node" | |
| node_flags='--perf_basic_prof' | |
| script='/home/vagrant/porf/single.js' | |
| script_log=/dev/null | |
| # load_generator="node test.js" |