Skip to content

Instantly share code, notes, and snippets.

View tg90nor's full-sized avatar

Thomas Geirhovd tg90nor

View GitHub Profile
# common/job_actions/AGOT_job_actions.txt line 194
action_improve_castle_holding = {
attribute = stewardship
potential = {
FROM = {
ai = no
is_nomadic = no
}
}
# history/wars/7996- Volantis vs Lys & Myr.txt
name = "Lysene-Myrman Rebellion"
casus_belli={
casus_belli = cb_faction_independence
actor = 1300263 # Tybio Haen of Lys
recipient = 100174396 # Horonno Qhaedar of New Valyria
landed_title = e_new_valyria
date = 7996.1.1
}

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@tg90nor
tg90nor / dns-pod-fail
Last active September 28, 2015 06:19
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: E0925 11:19:59.210346 12431 mount_linux.go:103] Mount failed: exit status 32
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: Mounting arguments: tmpfs /var/lib/kubelet/pods/fffffeb4-6376-11e5-8a6a-fa163e81f069/volumes/kubernetes.io~secret/default-token-tkn7d tmpfs [rootcontext="unlabeled"]
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: Output: mount: wrong fs type, bad option, bad superblock on tmpfs,
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: missing codepage or helper program, or other error
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: In some cases useful info is found in syslog - try
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: dmesg | tail or so.
Sep 25 11:19:59 kubernetes-node-s01-1.novalocal kubelet[12431]: E0925 11:19:59.214931 12431 kubelet.go:1190] Unable to mount volumes for pod "kube-dns-v9-lhbnk_kube-system": exit status 32; skipping pod
S
#!/usr/bin/env ruby
local_ref, local_sha1, remote_ref, remote_sha1 = STDIN.read.split(" ")
if remote_ref == "refs/heads/master"
puts "Pushing to origin/master is not permitted."
puts "This is a read-only branch."
puts ""
puts "Create a new branch instead."
@tg90nor
tg90nor / createdb
Created September 14, 2014 02:02
createdb
#!/bin/bash
EXPECTED_ARGS=1
E_BADARGS=65
MYSQL=`which mysql`
PASS=`openssl rand -base64 16`
Q1="CREATE DATABASE IF NOT EXISTS $1;"
Q2="GRANT ALL ON $1.* TO '$1'@'localhost' IDENTIFIED BY '$PASS';"
Q3="FLUSH PRIVILEGES;"