Skip to content

Instantly share code, notes, and snippets.

@deepaksp
deepaksp / adb-dns.bat
Created August 8, 2023 12:56 — forked from sharunkumar/adb-dns.bat
Enabling / Disabling private DNS in android via ADB
rem to disable private dns
adb shell settings put global private_dns_mode off
rem to enable private dns with hostname (example with dns.adguard.com)
adb shell settings put global private_dns_mode hostname
adb shell settings put global private_dns_specifier dns.adguard.com
@deepaksp
deepaksp / clean-up-boot-partition-ubuntu.md
Created February 29, 2020 20:19 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
@deepaksp
deepaksp / profile.json
Last active August 3, 2019 04:05 — forked from shanselman/profile.json
Windows Terminal Profile
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"initialCols" : 100,
"initialRows" : 30,
"keybindings" :
[
{