Skip to content

Instantly share code, notes, and snippets.

Biswapriyo Nath Biswa96

Block or report user

Report or block Biswa96

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Biswa96
Biswa96 / NotepadUWP.cpp
Last active Aug 20, 2019
New Notepad stub from Windows 10 Insider build 18963
View NotepadUWP.cpp
#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 Aug 7, 2019
Linux kernel config of Android 8.1.0 MIUI 10.3.2.0 Global Stable (OCKMIXM)
View config
#
# 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 / vlc_ts_error_fix.md
Created May 24, 2019 — forked from windyinsc/vlc_ts_error_fix.md
Fix for VLC: ts error: libdvbpsi error (PSI decoder): TS duplicate
View vlc_ts_error_fix.md

FIX FOR VLC ERROR BELOW

The following changes to VLC were successful in fixing all playback issues.

  • VLC Version 2.2.4 Weatherwax (Intel 64bit) on OS X 10.9

ISSUE:

ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0 ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095

@Biswa96
Biswa96 / Remove_MIUI_Bloatware.CMD
Last active Sep 27, 2019
Remove bloatware applications from MIUI ROM in Xiaomi phones
View Remove_MIUI_Bloatware.CMD
@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 / kill_desktop_window_manager.c
Last active Oct 5, 2019
Suspend WinLogon.exe and kill DWM.exe process with administrator privilege
View kill_desktop_window_manager.c
#include <windows.h>
#include <winternl.h>
#include <tlhelp32.h>
#include <stdio.h>
#ifdef _MSC_VER
#pragma comment (lib, "ntdll.lib")
#endif // _MSC_VER
#define ZwCurrentProcess() ((HANDLE)(LONG_PTR)-1)
View ida_patcher.c
/*
Source for ida_patcher
Copyright (c) 2006 Chris Eagle cseagle at gmail.com
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
@Biswa96
Biswa96 / EncodeUtils.cs
Created Jul 7, 2018
Encoding/decoding algorithm from Metalogix Archive Manager (MAM)
View EncodeUtils.cs
using System;
namespace Cryptography
{
public class EncodeUtils
{
public static string Encode6bit(string txt)
{
short num = (short)txt.Length;
string text = txt;
@Biswa96
Biswa96 / Firewall_Telemetry.CMD
Created Apr 4, 2018
Deletes all predefined Firewall rules and delete DNScache service. Then blocks all inbound and outbound traffic and allow system to connect.
View Firewall_Telemetry.CMD
@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"
View Remove_Schedule_Task.reg
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,\
You can’t perform that action at this time.