Skip to content

Instantly share code, notes, and snippets.

@caplio
caplio / Pixel3 Docomo carrier_policy.xml
Created March 16, 2019 13:26
Pixel3 でのドコモSIM接続時のCarrier Policy です。
<?xml version="1.0" encoding="UTF-8"?>
<!--
/* BEGIN [WCR#20000250]<P: 01/01>============================================ */
/*
Patch Description:
Carrier Policy Manager Enhancement
*/
/* ========================================================================== */
-->
## ファイルをファイル作成日のフォルダに移動するPowershell
##
## input カレントディレクト内のファイル全て
## outpu $dst
##($dstで指定したPathに日付フォルダを作成してその直下にファイルを移動します)
##
## Errorハンドリングなどはなし(
$dst="d:\"
@caplio
caplio / bat
Created April 21, 2021 00:23
mi11 ultra eurom成功時のログ
z:>windows_fastboot_first_install_with_data_format.bat
You are going to wipe your data and internal storage. It will delete all your files and photos stored on internal storage. Do you agree? (Y/N) y
product: star
Sending 'dsp_ab' (65536 KB) OKAY [ 2.503s]
Writing 'dsp_ab' (bootloader) Partition dsp_a flashed successfully
(bootloader) Partition dsp_b flashed successfully
OKAY [ 0.127s]
Finished. Total time: 2.678s
Sending 'xbl_config_ab' (216 KB) OKAY [ 0.007s]
Writing 'xbl_config_ab' (bootloader) Partition xbl_config_a flashed successfully
@caplio
caplio / gist:2da82c7efaa97b4279ecd3d25b7bba48
Created January 5, 2022 06:41
tkドメインの名前がひけない件
$ dig a.ns.tk @1.1.1.1
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.8 <<>> a.ns.tk @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61232
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;a.ns.tk. IN A
Copyright Since 13 [203537737]
RT : 31052
Interposser ID 4
= Combo Info =
No Combo! 5
= /nv/item_files/modem/lte/rrc/cap/prune_ca_combos =