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
@heiswayi
heiswayi / SimpleLogger.cs
Last active March 14, 2024 00:19
Simple C# logger utility class
/*
MIT License
Copyright (c) 2016 Heiswayi Nrird
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
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
@sudhackar
sudhackar / Frida.js
Last active September 10, 2023 04:43
Frida hook Java functions in Android
Java.perform(function () {
var act1 = Java.use("CryptoUtilities");
act1.getKey.implementation = function (arg1) {
var ret = this.getKey("v2");
return ret;
};
var db1 = Java.use("android.database.sqlite.SQLiteDatabase");
db1.rawQuery.overload('java.lang.String', '[Ljava.lang.String;').implementation = function (arg1, arg2){
console.log(arg1,arg1.replace("v1","v2"));
var ret = this.rawQuery(arg1.replace("v1","v2"),arg2);
@marbel82
marbel82 / EnumGetValuesCastTest.md
Last active August 18, 2022 13:18
Simple test of Enum.GetValues() with casting type and without

Simple test of Enum.GetValues() with casting type and without

It was some time ago. I wondered why some people explicitly cast the type of value returned by the Enum.GetValues() function. I did some tests.

Unfortunately, the functions are so short that StopWatch is inaccurate. Therefore, I call them in a large loop and then divide the time by the number of repetitions.

public class C {
    enum Sizes
	{
@marbel82
marbel82 / EnumGetValuesCastBenchmark.md
Last active August 18, 2022 13:18
When we iterate on the Enum values, why it is faster when we explicitly cast type?

This post refers to:

  • [Simple test of Enum.GetValues() with casting type and without][my_prev_enum_simple]
  • stackoverflow.com: [How do I iterate over an enum?][stack_comm_enum_bdn]
  • [bartoszkp/EnumGetValuesTest.cs][bartoszkp_enum]

When we iterate on the Enum values, why it is faster when we explicitly cast type?

*. 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
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 12, 2025 14:47
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 !

@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active February 3, 2025 09:49
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?

@muff-in
muff-in / resources.md
Last active May 14, 2025 15:29
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
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