Skip to content

Instantly share code, notes, and snippets.

View arodd's full-sized avatar

Austin Workman arodd

  • HashiCorp
  • Twin Cities, MN
View GitHub Profile
@arodd
arodd / pfsense2-2.grok
Last active March 29, 2016 05:13 — forked from elijahpaul/pfsense2-2.grok
pfsense2-2.grok
# GROK match pattern for logstash.conf filter: %{LOG_DATA}%{IP_SPECIFIC_DATA}%{IP_DATA}%{PROTOCOL_DATA}
# GROK Custom Patterns (add to patterns directory and reference in GROK filter for pfSense events):
# GROK Patterns for pfSense 2.2 Logging Format
#
# Created 27 Jan 2015 by J. Pisano (Handles TCP, UDP, and ICMP log entries)
# Edited 14 Feb 2015 by E. Paul
#
# Usage: Use with following GROK match pattern

Keybase proof

I hereby claim:

  • I am arodd on github.
  • I am aworkman (https://keybase.io/aworkman) on keybase.
  • I have a public key ASBhb4J_YQJ_seGmgkAkcu5MAWr9SkgTDWLiql_-LwQ0dwo

To claim this, I am signing this object:

Lab 1: Lab Setup

Duration: 10 minutes

Each student should have received the lab workstation log in information from the instructor. This lab ensures that everyone can connect to the workstation, and verify that a Vault server is running so that vault commands can run against it.

  • Task 1: Connect to the Student Workstation
  • Task 2: Getting Help
  • Task 3: Enable Audit Logging
  • Task 4: Access Vault UI
@arodd
arodd / 8.c pg query
Last active July 4, 2019 05:14
ceph - osd failure to start
{
"state": "incomplete",
"snap_trimq": "[]",
"snap_trimq_len": 0,
"epoch": 1751,
"up": [
4,
2,
3,
1,
@arodd
arodd / agent.hcl
Last active November 25, 2021 04:52
Vault PKI - Basic Demo
auto_auth {
method "approle" {
config = {
role_id_file_path = ".role-id"
secret_id_file_path = ".secret-id"
}
}
sink "file" {
config = {

1080i60=1080p60hevc(yadif zero motion blur)

ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i test.ts -c:v hevc_nvenc -tag:v hvc1 -b:v 4M -maxrate:v 6M -bufsize:v 8M -profile:v main -preset slow -rc:v vbr_hq -rc-lookahead:v 32 -spatial_aq:v 1 -aq-strength:v 15 -filter_complex '[0:v]yadif_cuda=deint=interlaced:mode=1' -c:a copy -f mp4 test-hevc-hwd-60p.mp4

ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i "../${SRC}" -pass 1 -c:v hevc_nvenc -tag:v hvc1 -b:v 4M -maxrate:v 6M -bufsize:v 8M -profile:v main -preset slow -rc:v vbr_hq -rc-lookahead:v 32 -spatial_aq:v 1 -aq-strength:v 15 -filter_complex '[0:v]yadif_cuda=deint=interlaced:mode=1' -c:a copy -f null - && ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i "../${SRC}" -pass 2 -c:v hevc_nvenc -tag:v hvc1 -b:v 4M -maxrate:v 6M -bufsize:v 8M -profile:v main -preset slow -rc:v vbr_hq -rc-lookahead:v 32 -spatial_aq:v 1 -aq-strength:v 15 -filter_complex '[0:v]yadif_cuda=deint=interlaced:mode=1' -c:a copy "../${DST}"

1080i60=1080p60hevc(soft

@arodd
arodd / connect-job-sample.hcl
Last active December 3, 2021 01:21
Nomad HCL2 Job Sample w/ Connect Upstreams
variable "api_group_count" {
type = number
default = 1
}
variable "dash_group_count" {
type = number
default = 1
}
variable "datacenters" {
@arodd
arodd / mining-clocks.sh
Last active March 23, 2022 15:46
NVIDIA GPU Mining efficient clocks RTX 3080 TI FE/RTX 3080 12GB LHR/GTX 1660 6GB
#!/bin/bash
#Enables persistence mode
sudo nvidia-smi -i 0 -pm 1
sudo nvidia-smi -i 1 -pm 1
sudo nvidia-smi -i 2 -pm 1
#Set PowerLimits in watts
sudo nvidia-smi -i 0 -pl 366
sudo nvidia-smi -i 1 -pl 130