Skip to content

Instantly share code, notes, and snippets.

View rux616's full-sized avatar

Dan Cassidy rux616

View GitHub Profile
@rux616
rux616 / squid.conf
Last active September 21, 2022 19:22
squid-proxy fluentd config (structured) for Google Cloud Platform (GCP)
<source>
@type tail
path /var/log/squid/access.log
pos_file /var/lib/google-fluentd/pos/squid-access.pos
read_from_head true
<parse>
@type regexp
expression /^(?<timestamp>[^ ]*) (?<duration>[0-9 ]{6}) (?<clientAddress>[^ ]*) (?<cacheResultCode>[^\/]*)\/(?<httpResultCode>\d*) (?<bytes>\d*) (?<requestMethod>[^ ]*) (?<url>[^ ]*) (?<user>[^ ]*) (?<hierarchyCode>[^\/]*)\/(?<forwardDestination>[^ ]*) (?<type>.*)$/
time_key timestamp
time_type float
@rux616
rux616 / keybase.md
Created January 21, 2019 20:11
Keybase GitHub Account Ownership Proof

Keybase proof

I hereby claim:

  • I am rux616 on github.
  • I am rux616 (https://keybase.io/rux616) on keybase.
  • I have a public key whose fingerprint is 82BE 4A92 1D1B 4C28 EFE1 002F 9686 FFAB 2D31 063E

To claim this, I am signing this object:

vulkaninfo Results

===========
VULKAN INFO
===========

Vulkan API Version: 1.0.61

INFO: [loader] Code 0 : Found manifest file /home/<username>/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json, version "1.0.0"
@rux616
rux616 / steam_stdout.md
Created October 25, 2017 21:26
STDOUT of Steam for Linux and a non-working Vive (Error 306)
@rux616
rux616 / gist:cdefd360d970d5761b04b4a524142709
Last active July 6, 2017 06:32
Setting up Ubuntu Server 16.04 LTS as a Minecraft Server

Install Ubuntu server in the normal fashion, including user creation.

Misc Tweaks

These are all optional, mainly put here for my own documentation as I set up my server.

Bash Bell

This will turn the audible *ding* when you backspace too far in bash into a visual-only alert. Open the /etc/inputrc file for editing and uncomment the following line: