Skip to content

Instantly share code, notes, and snippets.

View lovmoon3k's full-sized avatar
💭
I may be slow to respond.

LovMoon3k lovmoon3k

💭
I may be slow to respond.
View GitHub Profile
@Fadi002
Fadi002 / Crack Sublime Text.md
Last active April 26, 2025 11:32
Crack Sublime Text 4.1.9.2 Build 4192 [latest version]
import sys
import os

NOP = 0x90
offsets_and_values = {
    0x000035FE: 0x01,
    0x0000361D: 0x95,
    0x0000361E: 0x9E,
    0x0000361F: 0x57,
@wasulabenjamin
wasulabenjamin / How to activate Sublime Text Build 4180 x64.md
Last active January 7, 2025 06:29
How to activate Sublime Text Build 4189 x64.md

Activate Sublime Text Build 4189 x64

  1. Go to https://hexed.it/
  2. Click Open File in the top left corner, navigate to instalation folder and select sublime_text.exe
  3. Press CTRL + F or on the Search for bar in the left panel and look for: 80 79 05 00 0F 94 C2
  4. Now in the editor, click on the first byte (80) and start replacing each byte by: C6 41 05 01 B2 00 90
  5. Finally, in the top left corner again, click on Save as and replace the old executable file with the newly created one.

Enjoy an Unlimited User License!

@Washi1337
Washi1337 / TinySharp.cs
Last active January 5, 2025 18:55
A program to emit a tiny .NET binary program printing Hello World to the standard output. Blog post: https://blog.washi.dev/posts/tinysharp/
using System.Text;
using AsmResolver;
using AsmResolver.DotNet;
using AsmResolver.DotNet.Builder.Metadata.Blob;
using AsmResolver.DotNet.Builder.Metadata.Strings;
using AsmResolver.DotNet.Code.Cil;
using AsmResolver.DotNet.Signatures;
using AsmResolver.IO;
using AsmResolver.PE;
using AsmResolver.PE.DotNet.Builder;
@J2TEAM
J2TEAM / youtube.user.js
Last active October 3, 2023 13:06
Tự động đóng tab Youtube khi hết video. Sử dụng bằng cách cài Tampermonkey nhé.
// ==UserScript==
// @name YouTube Auto Close
// @namespace http://j2team.dev/
// @version 0.1
// @description Automatically closes YouTube videos after playback.
// @author JUNO_OKYO
// @match https://www.youtube.com/watch*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant window.close
// ==/UserScript==
@marcpinet
marcpinet / README.md
Last active April 16, 2025 14:07
Activate Sublime Text 4 Build 4143 and below for ever (also maybe above, but not yet tried)

Activate Sublime Text (for ever)

  1. Go to https://hexed.it/
  2. Click Open File in the top left corner and select sublime_text.exe
  3. Press CTRL + F or on the Search for bar in the left panel and look for: 80 78 05 00 0f 94 C1
  4. Now in the editor, click on the first byte (80) and start replacing each byte by: C6 40 05 01 48 85 C9
  5. Finally, in the top left corner again, click on Save as and replace the old executable file with the newly created one.

Enjoy an Unlimited User License!

@ustayready
ustayready / gpt.py
Created January 16, 2023 23:49
CloudGPT - Use ChatGPT to analyze AWS policies for vulnerabilities
import openai
import boto3
import json
import time
from typing import Dict, List
openai.api_key = '### SET YOUR OPENAPI API KEY HERE ###'
session = boto3.session.Session()
client = session.client('iam')
@opus-x
opus-x / nabu_eea_debloat.cmd
Last active April 26, 2025 01:16
Debloat and speed-up Xiaomi Pad 5 by disabling apps and limiting apps starting in the background (EU model), Tested and working but to be finetuned.
@echo off
rem usb connection
echo =======================================
echo Starting Android Debug Bridge Daemon...
echo =======================================
2>nul adb kill-server
adb start-server
echo | set /p="Checking for a connected device... "
>nul adb get-state
@monokaijs
monokaijs / fb-video-downloader-script.js
Last active March 20, 2025 11:25
A small snippet to help you download Facebook video at ease...
/**
** Author: @MonokaiJs
** Contact: [email protected] | https://fb.me/monokaijssss | monokaijs.com
**
** Free to use, but don't abuse :>
**/
(()=>{let a=location.href.match(/\/(?:videos|reel|watch)(?:\/?)(?:\?v=)?(\d+)/);if(a.length<2){console.log("Please open a video before running this script.");return}let c=function(d,e){let f=[],a;for(a in d)if(d.hasOwnProperty(a)){let g=e?e+"["+a+"]":a,b=d[a];f.push(null!==b&&"object"==typeof b?c(b,g):encodeURIComponent(g)+"="+encodeURIComponent(b))}return f.join("&")},b=function(a,b){return fetch("https://www.facebook.com/api/graphql/",{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:c({doc_id:a,variables:JSON.stringify(b),fb_dtsg:require("DTSGInitialData").token,server_timestamps:!0})})};console.log("Getting info..."),b("5279476072161634",{UFI2CommentsProvider_commentsKey:"CometTahoeSidePaneQuery",caller:"CHANNEL_VIEW_FROM_PAGE_TIMELINE",displayCommentsContextEnableComment:null,displayCommentsContextIsAdPreview:null,displayComm
import pandas as pd
import numpy as np
def get_dataset(size):
# Create Fake Dataset
df = pd.DataFrame()
df['size'] = np.random.choice(['big','medium','small'], size)
df['age'] = np.random.randint(1, 50, size)
df['team'] = np.random.choice(['red','blue','yellow','green'], size)
df['win'] = np.random.choice(['yes','no'], size)