This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| Import-Module -Name Terminal-Icons | |
| Write-Host -NoNewline "`n`e[1F" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| import json | |
| from collections import OrderedDict | |
| df = pd.read_excel('Planilha_Termos_Geral.xlsx', sheet_name='Mobile') | |
| result_dict = OrderedDict() | |
| for index, row in df.iterrows(): | |
| portuguese_term = str(row['Termo em português']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---@diagnostic disable: undefined-field | |
| -- Localize globals | |
| local _G = _G | |
| local CreateFrame, UIParent, InCombatLockdown, C_NamePlate, UnitCanAttack, UnitIsUnit, Plater = _G.CreateFrame, | |
| _G.UIParent, _G.InCombatLockdown, _G.C_NamePlate, _G.UnitCanAttack, _G.UnitIsUnit, _G.Plater | |
| local GetNamePlateForUnit, GetNamePlates = C_NamePlate.GetNamePlateForUnit, C_NamePlate.GetNamePlates | |
| -- Create the main frame for event handling | |
| local NameplateContextFrame = CreateFrame("Frame", UIParent) | |
| NameplateContextFrame:Hide() |