Skip to content

Instantly share code, notes, and snippets.

2019-03-04 11:34:32.408 Info, Node016, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 0
2019-03-04 11:34:32.408 Info, Node016, SwitchMultilevel::Set - Setting to level 0
2019-03-04 11:34:32.408 Info, Node016, Sending (Send) message (Callback ID=0xa0, Expected Reply=0x13) - SwitchMultilevelCmd_Set (Node=16): 0x01, 0x0a, 0x00, 0x13, 0x10, 0x03, 0x26, 0x01, 0x00, 0x25, 0xa0, 0x57
2019-03-04 11:34:32.432 Info, Node016, Request RTT 23 Average Request RTT 23
2019-03-04 11:34:32.432 Info, Node016, Sending (Send) message (Callback ID=0xa1, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=16): 0x01, 0x09, 0x00, 0x13, 0x10, 0x02, 0x26, 0x02, 0x25, 0xa1, 0x57
2019-03-04 11:34:32.456 Info, Node016, Request RTT 23 Average Request RTT 23
2019-03-04 11:34:32.472 Info, Node016, Response RTT 39 Average Response RTT 41
2019-03-04 11:34:32.472 Info, Node016, Received SwitchMultiLevel report: level=99
2019-03-04 11:34:33.410 Info, mgr, Refreshing node 16: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance
@loe
loe / 20-ufw.conf
Created August 31, 2011 18:36
Rsyslog Configuration
# Log kernel generated UFW log messages to file
:msg,contains,"[UFW " /var/log/ufw.log
# Uncomment the following to stop logging anything that matches the last rule.
# Doing this will stop logging kernel generated UFW log messages to the file
# normally containing kern.* messages (eg, /var/log/kern.log)
#& ~
@loe
loe / keybase.md
Last active March 23, 2017 04:31

Keybase proof

I hereby claim:

  • I am loe on github.
  • I am waloeiii (https://keybase.io/waloeiii) on keybase.
  • I have a public key whose fingerprint is BB57 D9BA 3BC8 9CAD 277D CC2C E730 7A1A 9468 EB86

To claim this, I am signing this object:

net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_max_syn_backlog = 10240
net.core.netdev_max_backlog = 4000
class pip {
package { 'flask':
provider => 'pip',
ensure => '0.9'
}
}
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://services.muhimbi.com/2009/10/06" xmlns:ns1="http://types.muhimbi.com/2009/10/06" xmlns:ns2="http://types.muhimbi.com/2010/05/17">
<soapenv:Body>
<ns:GetDiagnostics>
<ns:convertersToDiagnose>
<ns1:DiagnosticRequestItem>
<ns1:ConverterName>WordProcessing</ns1:ConverterName>
</ns1:DiagnosticRequestItem>
</ns:convertersToDiagnose>
</ns:GetDiagnostics>
/var/log/nginx/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
@loe
loe / p4merge.sh
Created March 11, 2013 20:53
p4merge script
#!/bin/bash
for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done;
/Applications/p4merge.app/Contents/Resources/launchp4merge "${absargs[@]}"
$ sudo mdadm --grow /dev/md0
mdadm: metadata format 01.01 unknown, ignored.
mdadm: no changes to --grow
Personalities : [raid0]
md0 : active raid0 sdh[0] sdi[3] sdg[2] sdf[1]
419429376 blocks super 1.1 256k chunks
unused devices: <none>