This file contains 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
:: Use this script to "take control of" files that you can't access. Particularly | |
:: useful for external NTFS volumes that were created on another computer or by | |
:: another user | |
takeown /f %1 /r /d y | |
icacls %1 /grant administrators:F /t |
This file contains 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
-- From http://wowprogramming.com/misc/snippets/Minitimer | |
local total = 0 | |
local function onUpdate(self,elapsed) | |
total = total + elapsed | |
if total >= 2 then | |
print("ping!") | |
total = 0 | |
end |
This file contains 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
local healer_mode_raid_top = 85 | |
function oUF_Quaiche:RAID_ROSTER_UPDATE() | |
self:CheckPartyVisibility() | |
if self.healerMode then | |
local max = 0 | |
for i = 1,MAX_RAID_MEMBERS do | |
local subgroup = select(3, GetRaidRosterInfo(i)) | |
if subgroup > max then max = subgroup end |
This file contains 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
git config branch.master.remote origin | |
git config branch.master.merge refs/heads/master |
This file contains 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
# To generate a not too insane changelog | |
# If only I could figure out how to make it show tags too | |
git log --name-status --pretty=oneline --abbrev-commit | |
# Or a shorter one... | |
git log --pretty=oneline --abbrev-commit |
This file contains 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
Name | |
---- | |
!BugGrabber | |
!Swatter | |
acb_Auras | |
acb_BattleGround | |
acb_CastBar | |
acb_Cooldowns | |
acb_FlightTimes |
This file contains 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
ls *.png | % { | |
write-host "Rotating " + $_.Fullname; | |
$img = new-object system.drawing.bitmap $_.Fullname; | |
$img.RotateFlip("Rotate270FlipNone"); | |
$img.Save($_.FullName) | |
} |
This file contains 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
global::EnvDTE.DTE dte = Microsoft.VisualStudio.Shell.Package.GetGlobalService(typeof(global::EnvDTE.DTE)) as global::EnvDTE.DTE; | |
global::EnvDTE.ProjectItem item = dte.Solution.FindProjectItem(relativeToPathName); | |
global::EnvDTE.Project project = item.ContainingProject; |
This file contains 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
To kill/disable/prevent SMS from getting on your system: | |
1. Stop the CcmExec CcmFramework services (check HKLM:\System\CurrentControlSet\Services) | |
2. Wait until they're all down and happy | |
3. Delete the following folders: | |
x86: | |
\Windows\System32\CCM | |
\Windows\System32\CCMSetup |
OlderNewer