Skip to content

Instantly share code, notes, and snippets.

View itsuki-hayashi's full-sized avatar
🎯
Focusing

Itsuki Hayashi itsuki-hayashi

🎯
Focusing
View GitHub Profile
@itsuki-hayashi
itsuki-hayashi / add-adguard-doh-servers.ps1
Created October 13, 2021 17:39
Add AdGuard DNS as DNS-over-HTTPS Resolver for Windows 11
# You need to run these in a Admin PowerShell under Windows 11
Add-DnsClientDohServerAddress -ServerAddress '94.140.14.14' -DohTemplate 'https://dns.adguard.com/dns-query' -AllowFallbackToUdp $False -AutoUpgrade $True
Add-DnsClientDohServerAddress -ServerAddress '94.140.15.15' -DohTemplate 'https://dns.adguard.com/dns-query' -AllowFallbackToUdp $False -AutoUpgrade $True
Add-DnsClientDohServerAddress -ServerAddress '2a10:50c0::ad1:ff' -DohTemplate 'https://dns.adguard.com/dns-query' -AllowFallbackToUdp $False -AutoUpgrade $True
Add-DnsClientDohServerAddress -ServerAddress '2a10:50c0::ad2:ff' -DohTemplate 'https://dns.adguard.com/dns-query' -AllowFallbackToUdp $False -AutoUpgrade $True
# Confirm that the records have been added
Get-DnsClientDohServerAddress
@itsuki-hayashi
itsuki-hayashi / chinese-it-email-privacy-complant-list.md
Last active October 4, 2021 15:19
Privacy complaint email for Chinese companies
互联网服务 隐私合规负责人联系邮箱 隐私合规负责人联系电话 隐私合规负责人联系地址 参考链接
腾讯 [email protected] 中国广东省深圳市南山区科技中一路腾讯大厦 法务部 数据及隐私保护中心(收)邮编:518057 [^tencent], [^weixin]
淘宝 [email protected] 1
搜狗 [email protected] [^sogou]
饿了么 [email protected] 10105757 上海市普陀区金沙江路1518弄近铁城市广场北座16楼 客服部门 2

Footnotes

  1. https://terms.alicdn.com/legal-agreement/terms/suit_bu1_taobao/suit_bu1_taobao201703241622_61002.html

  2. https://terms.alicdn.com/legal-agreement/terms/suit_bu1_other/suit_bu1_other201903051859_43484.html

@itsuki-hayashi
itsuki-hayashi / shadowsocks-libev-install.sh
Last active May 21, 2020 15:39
Install shadowsocks-libev on CentOS 8
SHADOWSOCKS_LIBEV_VERSION=3.3.4
V2RAY_VERSION=1.3.0
SHADOWSOCKS_LIBEV_SHA512SUM=4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d
if [[ -e /usr/bin/ss-server ]] && [[ "$(ss-server -h | head -2)" == *"shadowsocks-libev $SHADOWSOCKS_LIBEV_VERSION"* ]];
then
echo Shadowsocks-libev already installed, exiting......
exit 0
fi
dnf install -y mbedtls-devel libsodium-devel pcre-devel c-ares-devel libev-devel xmlto
@itsuki-hayashi
itsuki-hayashi / chocolatey packages list
Last active May 7, 2020 11:23
Chocolatey packages list
1password
adobereader
ant
aria2
autohotkey
calibre
cheatengine
cmake
composer
cpu-z
@itsuki-hayashi
itsuki-hayashi / prosody.cfg.lua
Created April 23, 2020 14:14
A basic Prosody config optimized for Conversations.
-- Prosody XMPP Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at https://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running this command:
-- prosodyctl check config
-- If there are any errors, it will let you know what and where
-- they are, otherwise it will keep quiet.
@itsuki-hayashi
itsuki-hayashi / disabled-xperia-1-system-apps-list.txt
Created March 16, 2020 14:31
Xperia 1 SO-03L disabled system apps list
com.android.contacts
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.google.android.apps.docs
com.google.android.apps.tachyon
com.google.android.apps.wellbeing
com.google.android.apps.work.oobconfig
com.google.android.music
com.google.android.projection.gearhead
@itsuki-hayashi
itsuki-hayashi / bank-account-for-japanese-credit-cards
Last active February 12, 2025 09:40
クレジットカード 繰り上げ返済 口座番号まとめ
JCB(株式会社ジェーシービー): カ)ジエ-シ-ビ- 三菱UFJ銀行 東京営業部 普通 4831493
三井住友カード株式会社:ミツイスミトモカ-ド (カ 三井住友銀行 あじさい支店 普通 6061440
アメックス:アメリカンエキスプレスインターナショナル インコーポレイテッド みずほ銀行 六本木支店 普通 2110521
@itsuki-hayashi
itsuki-hayashi / wireguard-centos-8.sh
Last active October 13, 2021 07:05
WireGuard VPN Server on CentOS 8
# /etc/sysctl.conf
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
net.ipv4.tcp_syncookies = 1
# Enable Automatic Updates
sudo dnf config-manager --set-enabled PowerTools
sudo yum update -y
sudo yum install -y dnf-automatic
sudo sed -i 's/apply_updates = no/apply_updates = yes/' /etc/dnf/automatic.conf
sudo systemctl enable --now dnf-automatic.timer
# Download Shadowsocks source code
# cd /tmp
# wget https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.2.5/shadowsocks-libev-3.2.5.tar.gz
# tar -xvf shadowsocks-libev-3.2.5.tar.gz
@itsuki-hayashi
itsuki-hayashi / ntt-docomo-mail-domain-whitelist.txt
Last active December 23, 2019 11:57
NTT DOCOMO Mail Domain Whitelist
#三井住友銀行
@dn.smbc.co.jp
@ra.smbc.co.jp
@msg.smbc.co.jp
#三井住友カード
@vpass.ne.jp
@mail.vpass.ne.jp
@contact.vpass.ne.jp
@smbc-card.com
#SMBC信託銀行