Skip to content

Instantly share code, notes, and snippets.

View tinbotu's full-sized avatar

Akira KUMAGAI tinbotu

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tinbotu
tinbotu / fonts.conf
Created October 6, 2022 04:12
adding fonts to lilypond 2.22.2 on Microsoft Windows /usr/etc/fonts/fonts.conf (to write in local.conf does not make it valid!)
--- /usr/etc/fonts/fonts.conf~ 2020-04-07 22:16:26.000000000 +0900
+++ /usr/etc/fonts/fonts.conf 2022-10-06 12:42:06.551214300 +0900
@@ -2,6 +2,11 @@
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<!--
DO NOT EDIT THIS FILE.
@@ -24,7 +29,7 @@
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tinbotu
tinbotu / _vyos-part.config
Last active April 8, 2022 04:47
fastestvpn (OpenVPN) via VyOS config example
## ref. https://support.fastestvpn.com/tutorials/routers/ddwrt/openvpn-old
##
## VyOS 1.3-rolling-202012030217
##
interfaces {
ethernet eth0 {
# Your local (inside NAPT) IP address
address 192.168.184.1/24
description MyVPNProxy
}
@tinbotu
tinbotu / univerge.yaml
Created August 17, 2020 18:25
LibreNMS NEC Univerge Temperature; includes/definitions/discovery/
mib: ALL
modules:
sensors:
temperature:
data:
-
oid: picoTemperature
value: picoCelsius
num_oid: '.1.3.6.1.4.1.119.2.3.84.2.1.1.{{ $index }}'
descr: 'inside temperature'
@tinbotu
tinbotu / _ethernet-server-adapters-X520-SR2.png
Last active April 18, 2024 16:00
log: patching Intel X520 10G*2 SFP+ NIC EEPROM to unlock third party transceivers (succeed)
_ethernet-server-adapters-X520-SR2.png
@tinbotu
tinbotu / _isnt_she_lovely2.pdf
Last active January 29, 2023 06:07
Isn't She Lovely -- by Stevie Wonder
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tinbotu
tinbotu / gist:2ff68d82b7a1c943f8ba
Last active August 29, 2015 14:26 — forked from tajibot/gist:a5456f8187ca2c8c3328
WLCのアソシエート数登録
参考http://www.janog.gr.jp/meeting/janog31/LA.html
MIB
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.14179.2.2.2.1.15
例:
APのRadio MAC: 00:1f:26:2a:47:c0 →(10進数)→ 0.31.38.42.71.192 のアソシエート数MIB
119/2.4/ 1.3.6.1.4.1.14179.2.2.2.1.15.0.31.38.42.71.192.0 ←2.4GHzのアソシエート数
119/5.0/ 1.3.6.1.4.1.14179.2.2.2.1.15.0.31.38.42.71.192.1 ←5GHzのアソシエート数
@tinbotu
tinbotu / bonniepp2.txt
Created January 2, 2015 21:57
pao bonnie++ (P410i/256 MQ01ABD*2 RAID1)
kuma@pao:/opt/vm2/kuma$ uname -a
Linux pao 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
kuma@pao:/opt/vm2/kuma$ sleep 5; bonnie++
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
@tinbotu
tinbotu / bonniepp.txt
Created January 2, 2015 19:37
pao bonnie++ (P410i/256 MM0500EANCR(ST9500530NS)*3 RAID5)
kuma@pao:~/tmp$ uname -a
Linux pao 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
kuma@pao:~/tmp$ sleep 5; bonnie++
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.