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
| /script local s,d = GetSpellCooldown("Elemental Mastery");if s==0 then return end;SendChatMessage("Elemental Mastery has "..floor(s+d-GetTime()).."s remaining", "RAID") |
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
| AutoFrostShock: | |
| #showtooltip | |
| /startattack | |
| /cast Frost Shock | |
| AutoLightning: | |
| #showtooltip | |
| /startattack | |
| /cast Lightning Bolt |
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
| #!/bin/bash | |
| files=$(find . -type f -name '*.Designer.vb' -print0 | xargs -0 grep -l 'TextReadOnly = False') | |
| for file in $files | |
| do | |
| sed '/TextReadOnly = False/ d' $file >$file.tmp | |
| mv $file.tmp $file | |
| done |
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
| #showtooltip Mana Tide Totem | |
| /script local m,s,d='', GetSpellCooldown("Mana Tide Totem");if s==0 then m="Tide Down";else m="Tide CD remaining: "..floor(s+d-GetTime()).."s";end;SendChatMessage(m, "CHANNEL",nil,7) | |
| /cast Mana Tide Totem |
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
| public class EventDistributor | |
| { | |
| private readonly Dictionary<Type, List<WeakReference>> _events; | |
| private static readonly Object Padlock = new Object(); | |
| public Distributor() | |
| { | |
| _events = new Dictionary<Type, List<WeakReference>>(); | |
| } |
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
| <viewdata model="EmbeddedSharpFubuSite.HomeViewModel" /> | |
| <h1>Hi, I'm an index.</h1> |
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
| public class InternalRegistry : Registry | |
| { | |
| public InternalRegistry() | |
| { | |
| Scan(s => | |
| { | |
| s.TheCallingAssembly(); | |
| s.WithDefaultConventions(); | |
| s.AddAllTypesOf<IViewRenderer>(); | |
| }); |
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
| local environment = { | |
| create = function() | |
| local env = {} | |
| env.case = function(condition, resultTable) | |
| return function() |
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
| local class = { | |
| extend = function(self, this) | |
| --i could put this method on class itself, | |
| --but then i couldnt completely close over the self/base var | |
| local base = self | |
| this.super = function(child) |
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
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var config = new HttpSelfHostConfiguration("http://localhost:62731/"); | |
| config.Routes.MapHttpRoute( | |
| "CrossDomain", "{*args}", | |
| new { controller = "CrossDomain" }); |
OlderNewer