Skip to content

Instantly share code, notes, and snippets.

View RagedUnicorn's full-sized avatar

Raged Unicorn RagedUnicorn

View GitHub Profile
@RagedUnicorn
RagedUnicorn / wow_player_target_frame_pos.txt
Created August 1, 2025 00:21
wow_player_target_frame_pos
/run local offset = 280; PlayerFrame:ClearAllPoints(); PlayerFrame:SetPoint("CENTER", UIParent, "CENTER", -offset, 25)
/run TargetFrame:ClearAllPoints(); TargetFrame:SetPoint("CENTER", UIParent, "CENTER", 280, 25)
@RagedUnicorn
RagedUnicorn / .gitattributes
Created July 25, 2025 13:34
Default .gitattributes
* text=auto
.dockerignore text eol=lf
Dockerfile text eol=lf
docker-compose.yml text eol=lf
docker-compose.*.yml text eol=lf
*.sh text eol=lf
@RagedUnicorn
RagedUnicorn / cleanup_aws_s3_bucket.ps1
Created August 2, 2023 10:18
Cleanup AWS S3 Bucket
$Bucket = "ragedunicorn-ai"
$Prefix = "work/gressil_reimagined/"
$Objects = aws s3api list-object-versions --bucket $Bucket --prefix $Prefix | ConvertFrom-Json
ForEach ($Object in $Objects.Versions) {
Write-Output "Deleting object: $($Object.Key), version: $($Object.VersionId)"
aws s3api delete-object --bucket $Bucket --key $Object.Key --version-id $Object.VersionId
}
@RagedUnicorn
RagedUnicorn / wow_lua_dump_debug_tool.md
Last active July 18, 2023 21:19
WoW Lua Dump Debug Tool

Dump contents of variable to chat

Executed from chat

Requires a path to the variable e.g. a global variable

/dump [variable]
@RagedUnicorn
RagedUnicorn / git_lg.alias
Created July 25, 2021 09:35
Git pretty log command
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
@RagedUnicorn
RagedUnicorn / wow_classic_activate_framestack_names.md
Created August 15, 2019 18:44
Explains how to enable more clear frame names with framestack in the new WoW Classic Game

If prefer Parentkeys is enabled the /framestack command shows cryptic names for frames. With this setting disabled the actual framenames are shown

Turn on Frame Names

/console fstack_preferParentKeys 0

Turn off Frame Names

@RagedUnicorn
RagedUnicorn / wow_classic_activate_lua_errors.md
Last active December 1, 2023 03:59
Explains how to enable lua errors if they are deactivated in the new WoW Classic Game

Turn errors on

/console scriptErrors 1

Turn errors off

/console scriptErrors 0
@RagedUnicorn
RagedUnicorn / wow_lua_texture_coordinates.lua
Last active May 10, 2022 21:59
WoW Lua examples for working with texture coordinates
--[[
Remove borders from a spell/item icon
]]--
local texture = frame:CreateTexture("Texture_Name", "ARTWORK")
texture:SetTexCoord(0.07, 0.93, 0.07, 0.93)
texture:SetPoint("LEFT", frame, -40, 0)
texture:SetSize(40, 40)
--[[
Reduce icons to small bar (similar to retail frameplates debuffs)
@RagedUnicorn
RagedUnicorn / package_sending_vanilla_client.png
Last active June 4, 2019 19:50
A description on how certain actions can influence position update in classic world of warcraft
package_sending_vanilla_client.png
@RagedUnicorn
RagedUnicorn / combatlog.md
Created May 22, 2019 21:47
World of Warcraft enable extensive combatlog logging

Enable Extensive Combatlog Logging

Use the following chatcommand:

/combatlog

Upon enabling WoW will print the logfile name. On Windows this can usually be found in the following path: