Skip to content

Instantly share code, notes, and snippets.

View lyf-is-coding's full-sized avatar
💓
Live Laugh Love

lyf-is-coding

💓
Live Laugh Love
View GitHub Profile
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@lyf-is-coding
lyf-is-coding / ADB get list of installed packages (apps)
Last active July 22, 2021 03:59 — forked from creativcoder/gist:5dc5c2e35cd218ce9b5d
ADB get list of installed packages (apps)
Issue this command to terminal with your device connected :
$ adb shell pm list packages
If that doesn't work, then:
$ adb shell
$ su
$ pm list packages
@lyf-is-coding
lyf-is-coding / ADB remove Google Play
Last active September 18, 2021 12:44
ADB remove Google Play
adb kill-server
adb start-server
adb shell pm uninstall com.google.android.play.games
adb shell pm uninstall com.google.android.gms
adb shell pm uninstall com.android.vending
adb shell pm uninstall com.google.android.feedback
adb shell pm uninstall com.google.android.ext.shared
adb shell pm uninstall com.google.android.gsf
adb shell pm uninstall com.google.android.gsf.login
@lyf-is-coding
lyf-is-coding / start_pubg_global.bat
Created November 29, 2021 07:33
ADB start PUBGm Global version for Smartgaga
adb -s emulator-5554 shell mkdir /data/data/com.tencent.tinput1
adb -s emulator-5554 shell mkdir /data/data/com.tencent.tinput1/cache
adb -s emulator-5554 shell mkdir /data/data/com.tencent.tinput
adb -s emulator-5554 shell mkdir /data/data/com.tencent.tinput/cache
adb -s emulator-5554 shell am start com.tencent.ig/com.epicgames.ue4.SplashActivity filter
@lyf-is-coding
lyf-is-coding / get_pid_by_process_name.cpp
Last active July 25, 2022 05:56
C++ Get ProcessID by searching process name in a snapshot of runing processes
// https://docs.microsoft.com/en-us/windows/win32/toolhelp/taking-a-snapshot-and-viewing-processes
#include <windows.h> // Must include before TlHelp32.h
#include <TlHelp32.h>
DWORD GetPIDByProcessName(const wchar_t* processName)
{
DWORD PID = 0;
HANDLE hProcessSnapshot;
PROCESSENTRY32 PE32;
@lyf-is-coding
lyf-is-coding / get_window_width_height.cpp
Created January 23, 2022 15:07
C++ Getting window width and height using GetClientRect
// Below is an example of getting Assault Cube game window width and height
#include <Windows.h>
// ClassName and WindowName of FindWindow() are generated by X-Spy tool: http://www.x-spy.net/
hwndAC = FindWindow(L"SDL_app", L"AssaultCube");
if (hwndAC) // >0 is a valid HWND
{
RECT rctAC;
if (GetClientRect(hwndAC, &rctAC))
@lyf-is-coding
lyf-is-coding / get_window_client-area_coordinates.cpp
Last active August 17, 2022 07:11
C++ Getting screen coordinates of window client-area from relative coordinates
// Window client-area is the area without Title bar,...
#include <Windows.h>
RECT rct;
// Getting upper-left and lower-right corners relative coordinates.
if (!GetClientRect(someHWND, &rct))
{
std::cout << "[GetClientRect] Error " << GetLastError() << '\n';
return;
@lyf-is-coding
lyf-is-coding / resources.md
Created February 4, 2022 07:28 — forked from muff-in/resources.md
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@lyf-is-coding
lyf-is-coding / remove_consecutive_duplicates.cpp
Created February 23, 2022 15:00
C++ STL Remove all consecutive duplicates from the string
// Input : aabbccaabb
// Output : abcab?????
// ^ return iterator
#include <string>
#include <algorithm>
std::string RemoveConecutiveDup(std::string str)
{
auto itr = std::unique(str.begin(), str.end());
@lyf-is-coding
lyf-is-coding / remove_duplicates.cpp
Last active February 23, 2022 15:25
C++ STL Remove all duplicates of the string
// Input : aabbccaabb
// Output : abc???????
// ^ std::unique return iterator
#include <string>
#include <algorithm>
std::string RemoveDuplicates(std::string str) // aabbccaabb
{
std::sort(str.begin(), str.end()); // aaaabbbbcc