Skip to content

Instantly share code, notes, and snippets.

View panakuma's full-sized avatar
💤
睡眠中

panakuma panakuma

💤
睡眠中
View GitHub Profile
@panakuma
panakuma / NTT NGN internal address
Created February 9, 2021 18:41
NTT東西のNGN網内で使われているIP一覧
# 東日本
0000,2020/09/17 09:23:31
1111,2404:01a8:7e00:0000:0000:0000:0000:0000/40
1211,2404:01a8:0000:0000:0000:0000:0000:0000/32
1212,2001:0c90:0000:0000:0000:0000:0000:0000/33
1311,2408:0210:0000:0000:0000:0000:0000:0000/30
1411,2400:2410:0000:0000:0000:0000:0000:0000/30
1412,2409:0010:0000:0000:0000:0000:0000:0000/30
1413,240b:0010:0000:0000:0000:0000:0000:0000/30
1414,2404:7a80:0000:0000:0000:0000:0000:0000/30
@panakuma
panakuma / termite-config
Last active March 2, 2020 07:50
Termiteの設定ファイル
[colors]
background = rgba(34, 45, 50, 0.84)
color0 = #263238
color1 = #FF5252
color2 = #9CCC65
color3 = #fee94e
color4 = #2b98f0
color5 = #b38bfc
color6 = #68b6f3
color7 = #ECEFF1
@panakuma
panakuma / content.js
Last active October 8, 2019 08:00
東京工科大学 学生ポータルのこうかとんをハメドリ君にする拡張
window.addEventListener("load", () => {
const kokatonDOM = document.getElementById("kokaton");
console.log(kokatonDOM);
//とりあえずDOMを消す
kokatonDOM.innerHTML = "";
//バルーンを作る
const balloon = document.createElement("div");
balloon.innerHTML = "<p>東京工科大学公式マスコットキャラクター ハメドリくんだハメ!</p>";
balloon.setAttribute("id", "kt_balloon");
@panakuma
panakuma / softether-vpn.xml
Created October 7, 2019 11:27
firewalldのSoftetherVPNのサービス定義ファイル
<service>
<short>SoftetherVpnServer</short>
<description>Softether VPN Server</description>
<!-- TCP -->
<port protocol="tcp" port="443"/>
<port protocol="tcp" port="992"/>
<port protocol="tcp" port="1194"/>
<port protocol="tcp" port="5555"/>
@panakuma
panakuma / softether-vpnserver.service
Created October 7, 2019 11:22
SoftEther VPN Serverのserviceファイル
[Unit]
Description=SoftEther VPN Server
After=network.target auditd.service
ConditionPathExists=!/opt/vpnserver/do_not_run
[Service]
Type=forking
EnvironmentFile=-/opt/vpnserver
ExecStart=/opt/vpnserver/vpnserver start
ExecStop=/opt/vpnserver/vpnserver stop
@panakuma
panakuma / BonDriverMapping.json
Created August 17, 2019 14:56
BonDriverMapping.json
/* BonDriver_MaxM4 */
{
"DeviceName": "MaxM4",
"Mapping": {
"ISDB_T,ISDB_S": "^BonDriver_MaxM4.*?\\.dll$"
}
},
@panakuma
panakuma / DigitalDevices.xml
Created August 17, 2019 14:56
DigitalDevices.xml
<?xml version="1.0" encoding="UTF-8"?>
<DeviceDefinitions>
<DeviceDefinition DeviceName="MaxM4" DisplayName="Digital Devices MaxM4">
<TunerDefinitions>
<TunerDefinition TunerType="ISDB_T,ISDB_S">
<ChannelCategories>
<ChannelCategory>UHF</ChannelCategory>
<ChannelCategory>CATV</ChannelCategory>
<ChannelCategory>BS</ChannelCategory>
<ChannelCategory>CS110</ChannelCategory>
@panakuma
panakuma / BonDriver_MaxM4_0.ini
Last active August 17, 2019 14:57
BonDriver_MaxM4_0.ini
[DD]
; Digital Devices社製ボード 独自設定
DebugLog=NO
SelectStreamRelative=YES
DisableTSMF=NO
LNBPowerOff=YES
GetSignalStrengthFunction="SNR"
[Tuner]
; この下3行の数字を増やす (Tunerの後とCaptureの後の数字)
@panakuma
panakuma / fonts.conf
Created June 20, 2019 01:41
源ノ角ゴシックと源ノ角明朝と源ノ角ゴシック Code JPをよしなに使うfonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Default serif fonts -->
<match target="pattern">
<test qual="any" name="family"><string>sans</string></test>
<edit name="family" mode="prepend" binding="same"><string>源ノ角ゴシックJP</string></edit>
</match>
<match target="pattern">
@panakuma
panakuma / RTXとNEC IXでNGN網折り返しIPSec IX側
Last active November 2, 2023 13:38
RTXとNEC IXでNGN網折り返しIPSec構築 (RTXはVPNに必要な部分だけ)
! NEC Portable Internetwork Core Operating System Software
! IX Series IX2105 (magellan-sec) Software, Version 10.1.14, RELEASE SOFTWARE
! Compiled Mar 06-Wed-2019 14:03:05 JST #2
! Current time Mar 26-Tue-2019 04:29:21 JST
!
timezone +09 00
!
logging buffered 204800
!
ntp server 133.243.238.163