Skip to content

Instantly share code, notes, and snippets.

View ppmathis's full-sized avatar

Pascal Mathis ppmathis

View GitHub Profile
location-mappings:
octopus.ssx.li: zrh1
location-overrides@zrh1:
ssx-resolvconf:
servers: [4.3.2.1]
host-overrides@octopus.ssx.li:
ssx-resolvconf:
servers: [1.3.3.7, 4.4.8.8]
(venv)[pmathis@aegon monitoring-plugins]$ ./check_xmpp -s chat.core.mx -H core.mx -w 1 -c 2 --warning-days 14 --critical-days 7
XMPP OK - Request took 0.461139s, Certificate valid for 89 days | certificate_days_left=89 time=0.461139s;1;2;0
(venv)[pmathis@aegon monitoring-plugins]$ ./check_xmpp -s chat.core.mx -H core.mx -w 1 -c 2 --warning-days 14 --critical-days 7 -vvv
XMPP OK - Request took 0.438377s, Certificate valid for 89 days
XMPP server announced capability: ver => bKWQ/I2e7tJ4xSNQWnLztA/YZco=
XMPP server announced capability: hash => sha-1
XMPP server announced capability: node => http://www.process-one.net/en/ejabberd/
XMPP server offers StartTLS.
XMPP server requires the other side to use StartTLS.
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select ch
d-i netcfg/enable boolean true
d-i netcfg/disable_autoconfig boolean true
d-i hw-detect/load_firmware boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password-crypted password <MD5 PASSWORD HASH>
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Zurich
d-i clock-setup/ntp boolean false

Keybase proof

I hereby claim:

  • I am neoxid on github.
  • I am neoxid (https://keybase.io/neoxid) on keybase.
  • I have a public key ASAEJX5uNGwYANVNFPNnU6TrL9ug79kLA8ZvcTT9mN1a-Ao

To claim this, I am signing this object:

Affected Function

Snippet taken from pvemanagerlib.js:7804-7809

isValid: function() {
    var me = this;

    var form = me.formPanel.getForm();
    return form.isValid();
}
Ext.ns('PVE');
// avoid errors related to Accessible Rich Internet Applications
// (access for people with disabilities)
// TODO reenable after all components are upgraded
Ext.enableAria = false;
Ext.enableAriaButtons = false;
Ext.enableAriaPanels = false;
// avoid errors when running without development tools
This file has been truncated, but you can view the full file.
/*
This file is part of Ext JS 6.0.1.250
Copyright (c) 2011-2015 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
@ppmathis
ppmathis / 01-stacktrace.log
Created July 14, 2016 02:02
Proxmox: Maximum Callstack Size Exceeded
Uncaught RangeError: Maximum call stack size exceeded
[Symbol.split] @ (program):356
split @ (program):285
removeCls @ ext-all.js:formatted:17688
toggleInvalidCls @ ext-all.js:formatted:76607
toggleInvalidCls @ ext-all.js:formatted:77802
renderActiveError @ ext-all.js:formatted:76600
renderActiveError @ ext-all.js:formatted:77181
setActiveErrors @ ext-all.js:formatted:76510
markInvalid @ ext-all.js:formatted:77141
@ppmathis
ppmathis / v6ra-default-gateway.rsc
Last active May 25, 2016 20:43
IPv6 RA Default Gateway for Mikrotik devices
:local "v6ra-router" [:toid ([/ipv6 neighbor find where router]->0)]
:if ([:typeof $"v6ra-router"] = "nil") do={
:error "No IPv6 neighbor with router flag found, can not set default gateway!"
}
:local "v6ra-address" [/ipv6 neighbor get $"v6ra-router" address]
:local "v6ra-interface" [/ipv6 neighbor get $"v6ra-router" interface]
/ipv6 route set [find where comment="Default Gateway (RA)"] gateway="$(v6ra-address)%$(v6ra-interface)"
openvswitch:
image: quay.io/snapserv/openvswitch:latest
restart: always
privileged: true
net: host
volumes:
- /lib/modules:/lib/modules
labels:
io.rancher.os.scope: system
io.rancher.os.after: network