Skip to content

Instantly share code, notes, and snippets.

View arcadepro's full-sized avatar
🍅

arcadepro arcadepro

🍅
  • The Hermit Cave
  • United Kingdom
View GitHub Profile
@arcadepro
arcadepro / detailsfix.lua
Last active March 27, 2023 04:05
fix details corrupting cvars
local addon = ...
local f = CreateFrame("Frame")
local msgcolor = BLUE_FONT_COLOR
local chatframe = SELECTED_CHAT_FRAME
local function printf(msg)
if not msg then
msg = "Loaded."
else
local output = (addon..": "..msg)
@arcadepro
arcadepro / List-of-WoW-Covenant-Spells.txt
Created November 11, 2021 20:48
List of WoW Covenant Spells
Death Knight
Shackle the Unworthy
Death's Due
Abomination Limb
Swarming Mist
Demon Hunter
Elysian Decree
The Hunt
Fodder to the Flame
@arcadepro
arcadepro / MythicDungeonTools.lua
Created July 27, 2021 15:46
MythicDungeonTools.lua
-- Made by Nnoggie, 2017-2020
local AddonName, MDT = ...
local L = MDT.L
local mainFrameStrata = "HIGH"
local canvasDrawLayer = "BORDER"
local twipe,tinsert,tremove,tgetn,CreateFrame,tonumber,pi,max,min,atan2,abs,pairs,ipairs,GetCursorPosition,GameTooltip = table.wipe,table.insert,table.remove,table.getn,CreateFrame,tonumber,math.pi,math.max,math.min,math.atan2,math.abs,pairs,ipairs,GetCursorPosition,GameTooltip
local SetPortraitTextureFromCreatureDisplayID,MouseIsOver = SetPortraitTextureFromCreatureDisplayID,MouseIsOver
BBC Radio 1 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_one.m3u8
BBC Radio 1Xtra http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_1xtra.m3u8
BBC Radio 2 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_two.m3u8
BBC Radio 3 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_three.m3u8
BBC Radio 4 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8
BBC Radio 4LW http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourlw.m3u8
BBC Radio 4 Extra http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8
BBC Radio 5 Live http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_five_live.m3u8
BBC Radio 5 Live Sports Extra http://a.files.bbci.co.uk/media/live/manifesto/
SetCVar("cameraDistanceMaxFactor", "2.6")
@arcadepro
arcadepro / Start Lcore when resuming from Hibernate.txt
Last active November 7, 2020 16:16
Start Lcore when resuming from Hibernate
To run after resuming from Hibernate:
Create a Scheduled Task.
Trigger on Custom Event. (New Event Filter)
image 1
Action:
Program: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
Arguments: -WindowStyle Hidden -ExecutionPolicy Bypass -File %USERPROFILE%\pshell\reset-LCore.ps1
@arcadepro
arcadepro / reset-LCore.ps1
Created November 7, 2020 11:06
Powershell script to restart Logitech G software.
# reset-LCore.ps1
# Set LCore to start when Windows starts.
# (If you need to start it manually, include the /minimized argument: LCore.exe /minimized )
# Save this file to %USERPROFILE%\pshell\reset-LCore.ps1
Add-Type -AssemblyName System.Windows.Forms
Add-Type @"
using System;
using System.Runtime.InteropServices;
public struct RECT {
[merge]
tool = p4merge
keepBackup = false
[mergetool "p4merge"]
cmd = p4merge.exe /\"$BASE/\" /\"$LOCAL/\" /\"$REMOTE/\" /\"$MERGED/\"
trustExitCode = false
keepBackup = false
[diff]
tool = p4merge
guitool = p4merge
git config --global merge.tool p4merge
git config --global mergetool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
git config --global diff.tool p4merge
git config --global difftool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'