This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boards | |
1 MI 2020-03-17 08:50:27 | |
2 Inner Layer 2020-03-17 08:56:23 | |
3 Lamination 2020-03-17 13:43:43 | |
4 Drilling 2020-03-17 20:53:14 | |
5 Copper Deposition 2020-03-18 12:26:19 | |
6 Image the outer layers 2020-03-18 23:31:39 | |
7 Pattern Plating 2020-03-19 02:24:01 | |
8 Automatic Optical Inspection(AOI) 2020-03-19 09:27:00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "$1" ]; then | |
echo "backup gz file not provided" | |
exit 1 | |
fi | |
echo "restoring $backup_path" | |
restore_path=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
date_stamp=$(date +"%Y%m%d%H%M%S") | |
backup_path=${1:-/mnt/automate_backups/postgresql/pg_dump/$date_stamp} | |
echo $backup_path | |
mkdir -p $backup_path | |
PATH=$PATH:$(HAB_LICENSE=accept-no-persist hab pkg path core/postgresql11)/bin | |
export PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"links" : [ | |
"71st Tony Awards", | |
"Academica Press", | |
"Academy Awards", | |
"Adolf Northern", | |
"Afanasy Fet", | |
"Alan Dobie", | |
"Albanian language", | |
"Aleksey Arakcheyev", | |
"Alessio Boni", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'json' | |
require 'faker' | |
input_filename = ARGV[0] | |
output_filename = ARGV[1] | |
desired_size = (ARGV[2].to_f) * 1048576 | |
ohai_object = JSON.parse(File.read(input_filename)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following rules apply for both the Admin client and the Node certs: | |
If the Public Certifcate contains the X509v3 extensions section, it must have both Client and Server Authentication: | |
X509v3 Extended Key Usage: | |
TLS Web Client Authentication, TLS Web Server Authentication | |
Alternatively, if the Public Certificate does not even have the X509v3 extensions section this is also acceptable and known to work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
mkdir -p /tmp/certificates | |
RANDFILE=/tmp/certificates/.rnd | |
#First, create a private key for the CA: | |
openssl genrsa -out /tmp/certificates/MyRootCA.key 2048 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `seq 101 300`; do sleep 5; echo "scaling to $i nodes"; kubectl scale --replicas $i -f hab_testring.yaml -n new-phone-whodis; done | |
~15 minutes of scaling | |
16 services per hab-sup | |
100 - 300 nodes, 1 node every 5 seconds | |
cat scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}' | |
1205992527 | |
1.123 GB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@raspberrypi:~# ./read_18.py | |
waiting for announcement | |
1539742532.7980354 | |
Signal detected | |
announcement found | |
annoncement done, waiting for clock signal | |
start clock sync | |
sync found, average pulse length = 1.001155 | |
start message found, deconding | |
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My traceroute [v0.85] | |
fileserv (0.0.0.0) Thu Jul 5 15:51:17 2018 | |
Keys: Help Display mode Restart statistics Order of fields quit | |
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. 10.1.1.1 0.0% 7 0.3 0.3 0.2 0.3 0.0 | |
2. cpe-72-182-32-1.austin.res.rr.com |
NewerOlder