Skip to content

Instantly share code, notes, and snippets.

View mokocup's full-sized avatar
Hydrating

mokocup

Hydrating
View GitHub Profile
@mokocup
mokocup / convert-retail-to-volume-2019.cmd
Last active December 19, 2024 14:14
Convert Office 2019 Retail To Volume
REM Change 192.168.1.7 to KMS Server IP or Host
REM Change ProgramFiles to ProgramFiles(x86) If install x86 version . Default are x64
@echo off
Title Converter Office 2019 Retail to Volume And Active Through Server
set LICPATH=%ProgramFiles%\Microsoft Office\root\Licenses16
set LICPATH1=%ProgramFiles%\Microsoft Office\Office16
cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ul.xrm-ms"
@mokocup
mokocup / cracking.md
Created April 18, 2023 06:42 — forked from cipherknight/cracking.md
Cracking guide for Sublime Text 3 Build 3200/3202 and Sublime Merge - Build 1109/1111 (Linux x86_64) - Updated #3 (20190327)

screen

Sublime Text 3 - Build 3200/3202 - Linux x64

For Build 3202:

Desciption Offset Original Patched
@mokocup
mokocup / Misskey backfilling for selfhosted instances
Last active May 16, 2024 04:59
Allow to fetch notes from user in another Misskey instances and sync it to selfhosted instances
fetchPost = async (userId, untilId) => {
let body = { userId, withRenotes: true, withReplies: true, withFiles: false, withChannelNotes: true, limit: 100, allowPartial: true }
if (untilId) {
body = { ...body, untilId }
}
const response = await fetch("/api/users/notes", {
method: "POST",
headers: {
"Content-Type": "application/json",
@mokocup
mokocup / eco-server-order-on-ovhcloud-api.md
Created November 6, 2024 20:37 — forked from adns44/eco-server-order-on-ovhcloud-api.md
Eco server order process with OVHcloud API step-by-step

OVH - How to use the API to order any server? The answer is here!

I ASK YOU IN FIRST

This process is automateable. I'll write the know-how, how to do it. I kindly ask you! Do NOT ABUSE it! Please keep the oportunity to order limited edition servers for other ones!

How the OVH API works?

First of all, OVH provides API libraries to access the API. And for this too, they have an API console where you can try it. For now, we'll see the API console. We'll place an older. Lets go!