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
@lyf-is-coding
lyf-is-coding / VirtualKeyCodes.h
Created July 23, 2022 06:37
C++ Enum Windows Virtual-Key Codes
#pragma once
#ifndef _VIRTUALKEYCODES_H_
#define _VIRTUALKEYCODES_H_
enum VK
{
LBUTTON = 0x01, // Left mouse button
RBUTTON = 0x02, // Right mouse button
CANCEL = 0x03, // Control-break processing
@6rube
6rube / msg.cs
Last active April 23, 2023 09:51
C# .net 6.0 Messagebox for console applications
using System.Runtime.InteropServices;
//Call Win32 API for opening a Messagebox (This does not require any other libarys)
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type);
MessageBox(new IntPtr(0), "Message", "Title", 0);
@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 / 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
@KangHidro
KangHidro / banks.md
Last active June 2, 2024 05:35
Đăng ký tài khoản ngân hàng để tối ưu trải nghiệm sử dụng và các loại phí

Đăng ký tài khoản ngân hàng để tối ưu trải nghiệm sử dụng và các loại phí

Link bài viết này (để copy cho nhanh ý mà :v): http://bit.ly/optimizeBanks

  • Cách mình trình bày dưới đây chỉ mang tính chất chia sẻ kinh nghiệm nhé!
  • Tuy các giao dịch mình làm qua app, online, ít khi phải ra ngân hàng nhưng vì giờ đa số các ngân hàng đã miễn hầu hết các loại phí nên mình sẽ bàn thêm về trải nghiệm CSKH và một số tiện ích khác nữa.
  • Chắc chắn tuỳ khu vực sẽ có "chỗ this chỗ that" rồi, nên nếu bạn ưng bụng ngân hàng nào trước rồi thì cứ dùng thôi nhé!

TLDR → BÀI KHÁ DÀI, NẾU KHÔNG MUỐN ĐỌC HẾT THÌ MÌNH SẼ CHỌN NHANH COMBO CHO BẠN

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
@muff-in
muff-in / resources.md
Last active July 18, 2024 01:30
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 30, 2024 17:13
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 18, 2024 22:51
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

*. Full Toolkit 4.7:
https://veryfiles.com/apcik7jdp3wz
https://uploading.vn/vtyktzy6ukao
*. Tools Download 4:
https://veryfiles.com/j7ixfpx6disy
https://uploading.vn/f2t2lheqjben
*. 6.40 b.11 P@cth:
https://veryfiles.com/8pp1pwdly2kp