Skip to content

Instantly share code, notes, and snippets.

View lastbattle's full-sized avatar

LastBattle lastbattle

  • Everywhere and nowhere
View GitHub Profile
@lastbattle
lastbattle / script.idc
Created August 15, 2016 16:48 — forked from diamondo25/script.idc
MapleStory IDC script
// IDC script for identifying functions and such
#include <idc.idc>
#define RenameFunction(a, b) Message("Found %s at %a\r\n", b, a); MakeName(a, b)
#define START_ADDR 0x00400000
static main() {
auto addr = BADADDR;
auto onMovePacket = FindAoBAndRename("25 0C FE FF FF 05 E8 03", "?OnMovePacket@CMovePath@@QAEXAAVCInPacket@@H@Z");
@lastbattle
lastbattle / ChangeFileTierToArchive.ps1
Last active January 9, 2024 20:11
Recursively download youtube videos from multiple channels/playlist, and sync local folder to Azure (Windows Powershell + youtube-dl) --- regain your sovereignty by backing up, dont get deplatformed!
# ##### Changing file tiers on Azure Blob Storage to Archive to reduce cost
# https://github.com/TomJanetscheck/AzurePS/blob/master/BlobLevelTiering/tierBlobsToArchive.ps1
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1
Import-Module AzureRM.profile
### Import Azure PowerShell module
Import-Module Azure
### Login to your Azure Account