Skip to content

Instantly share code, notes, and snippets.

View Biswa96's full-sized avatar
🦊

Biswapriyo Nath Biswa96

🦊
View GitHub Profile
@Biswa96
Biswa96 / Remove_MIUI_Bloatware.CMD
Last active February 11, 2024 14:25
Remove bloatware applications from MIUI ROM in Xiaomi phones
@echo off
set /p Y=Enter adb.exe folder path:
cd /d %Y%
adb devices
pause
for %%X in (
"com.amazon.appmanager"
"com.android.browser"
"com.android.chrome"
"com.android.email"
@Biswa96
Biswa96 / Firewall_Telemetry.CMD
Created April 4, 2018 20:21
Deletes all predefined Firewall rules and delete DNScache service. Then blocks all inbound and outbound traffic and allow system to connect.
@echo off
::1#Delete DNSCache Service
::sc.exe stop "Dnscache"
::sc.exe delete "Dnscache"
reg.exe delete "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache" /F
pause
::2#
for %%X in (
"HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy\FirewallRules"
@Biswa96
Biswa96 / NotepadUWP.cpp
Last active October 17, 2019 15:39
New Notepad stub from Windows 10 Insider build 18963
#include <Windows.h>
#include <stdio.h>
#include <appmodel.h>
#include <inspectable.h>
#include <Shlwapi.h>
#ifdef _MSC_VER
#pragma comment(lib, "Ole32.lib")
#pragma comment(lib, "Shlwapi.lib")
#pragma comment(lib, "Shell32.lib")
@Biswa96
Biswa96 / config
Created August 7, 2019 13:54
Linux kernel config of Android 8.1.0 MIUI 10.3.2.0 Global Stable (OCKMIXM)
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 3.18.71 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
@Biswa96
Biswa96 / EncodeUtils.cs
Created July 7, 2018 06:33
Encoding/decoding algorithm from Metalogix Archive Manager (MAM)
using System;
namespace Cryptography
{
public class EncodeUtils
{
public static string Encode6bit(string txt)
{
short num = (short)txt.Length;
string text = txt;
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree]
"SD"=hex:01,00,04,94,c4,00,00,00,d0,00,00,00,00,00,00,00,14,00,00,00,02,00,b0,\
00,08,00,00,00,00,02,18,00,ff,01,1f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,01,18,00,9f,01,1f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\
02,00,00,00,02,14,00,ff,01,1f,00,01,01,00,00,00,00,00,05,12,00,00,00,00,01,\
14,00,9f,01,1f,00,01,01,00,00,00,00,00,05,12,00,00,00,00,02,14,00,16,01,12,\