Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan Walder ryanwalder

  • Farnborough, UK
View GitHub Profile
View steam-1091500.log
This file has been truncated, but you can view the full file.
======================
Proton: 1603141982 proton-5.0-10b
SteamGameId: 1091500
Command: ['/home/ryan/games/steam/steamapps/common/Cyberpunk 2077/REDprelauncher.exe']
Options: {'forcelgadd', 'vkd3dbindlesstb', 'gamedrive'}
======================
ERROR: ld.so: object '/home/ryan/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ryan/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
View keybase.md

Keybase proof

I hereby claim:

  • I am ryanwalder on github.
  • I am ryanwalder (https://keybase.io/ryanwalder) on keybase.
  • I have a public key ASBZgZb4JSgpCK9YLY27Fjv9MMvyLUnvKTrs3DWPyPSMEwo

To claim this, I am signing this object:

View minion_bootstrap.sh
#!/usr/bin/env bash
# Bootstrap salt
if ! mkdir -p /etc/salt/pki/minion; then
echo "Failed to create PKI dir"
exit 1
elif ! echo "master: ${master_ip}" > /etc/salt/minion; then
echo "Failed to set master address"
exit 1
elif ! echo "mine_interval: 1" >> /etc/salt/minion; then
View 02_consul.tf
variable "consul_machine_name" { default = "mgtcfgconl" }
resource "vsphere_virtual_machine" "consul" {
count = "3"
name = "${format("%v%02d%v", var.consul_machine_name, count.index + 1, var.environment)}"
num_cpus = "2"
memory = "1024"
guest_id = "${var.guest_id}"
datastore_id = "${data.vsphere_datastore.datastore.id}"
resource_pool_id = "${data.vsphere_resource_pool.pool.id}"
View 02_consul.tf
variable "consul_machine_name" { default = "mgtcfgconl" }
resource "vsphere_virtual_machine" "consul" {
count = "3"
name = "${format("%v%02d%v", var.consul_machine_name, count.index + 1, var.environment)}"
num_cpus = "2"
memory = "1024"
guest_id = "${var.guest_id}"
datastore_id = "${data.vsphere_datastore.datastore.id}"
resource_pool_id = "${data.vsphere_resource_pool.pool.id}"
View master config
curl -sSk http://localhost:8000 \
-d username='terraform' \
-d password='terraform' \
-d eauth=pam \
-d client="wheel" \
-d fun="key.delete" \
-d match="mgtcfgconl02c.*"
View bash_prompt
# vi: set ft=sh :
red="38;5;1"
light_red="38;5;9"
dark_red="38;5;124"
yellow="38;5;220"
light_yellow="38;5;11"
dark_yellow="38;5;142"
blue="38;5;4"
light_blue="38;5;12"
View blah.sls
{% set blah = {
'bob': {
'ip': '123',
'comment': 'foo',
'vol': '/dev/one',
},
'alice': {
'ip': '123',
'comment': 'foo',
'vol': '/dev/one',
View map.jinja
{% set id = salt.grains.get('id') %}
{% set sid = id.split('.')[0] %}
{%- set use = sid[0:3] %}
{%- set platform = sid[3:6] %}
{%- set component = sid[6:9] %}
{%- set os = sid[9] %}
{%- set number = sid[10:12] %}
{%- set env = sid[12] %}
{%- set domain = id.split('.')[1:]|join('.') %}
View top.sls
# Get full minion id, should be fqdn
{%- set id = salt.grains.get('id') %}
# Get the hostname
{%- set sid = id.split('.')[0] %}
# Break down the hostname into the chunks we need to generate the pillar
# folder structure
{%- set use = sid[0:3] %} # use: not used within pillar ATM
{%- set platform = sid[3:6] %} # platform
{%- set component = sid[6:9] %} # component