Skip to content

Instantly share code, notes, and snippets.

View stkchp's full-sized avatar
😚
<3

stkchp stkchp

😚
<3
View GitHub Profile
@stkchp
stkchp / get-dslite-aftr-in-asahinet.md
Last active April 8, 2024 05:31
ASAHIネットのDS-Liteの終端(AFTR)を取得するメモ

ASAHIネットのDS-Liteの終端(AFTR)を取得する

ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。

Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。

終端の情報公開について

@stkchp
stkchp / is01.diff
Last active August 7, 2016 12:55
diff is01-kernel and msm-kernel(dcdb890bc3e49ba5091230e73e976d9f6860fffe)
This file has been truncated, but you can view the full file.
diff -x .git -rNU 8 kernel-msm/.gitignore kernel/.gitignore
--- kernel-msm/.gitignore 2009-10-13 01:28:24.000000000 +0900
+++ kernel/.gitignore 1970-01-01 09:00:00.000000000 +0900
@@ -1,66 +0,0 @@
-#
-# NOTE! Don't add files that are generated in specific
-# subdirectories here. Add them in the ".gitignore" file
-# in that subdirectory instead.
-#
-# NOTE! Please use 'git-ls-files -i --exclude-standard'
@stkchp
stkchp / VGM12864SPI-W.png
Last active August 21, 2016 02:21
Arduboyについてのメモ
VGM12864SPI-W.png
@stkchp
stkchp / memo-avr-on-gentoo.md
Created July 28, 2016 14:29
AVR開発(on Gentoo)のメモ

AVR開発(on Gentoo)のメモ

基本的に以下を参考にする

Toolchain install

以下のコマンドでtoolchainをinstallする(stable版を使いたい場合は-Sを付ける)

@stkchp
stkchp / no-more-a-record.patch
Last active July 26, 2016 13:00
crazy patch
--- dnsmasq-2.76/src/rfc1035.c
+++ dnsmasq-2.76/src/rfc1035.c
@@ -1624,13 +1624,15 @@
ans = 1;
if (!dryrun)
{
- log_query(crecp->flags & ~F_REVERSE, name, &crecp->addr.addr,
- record_source(crecp->uid));
+ if (type != T_A) {
+ log_query(crecp->flags & ~F_REVERSE, name, &crecp->addr.addr,