This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
namespace System.Web.Mvc | |
{ | |
public static class HelperExtensions | |
{ | |
public static MvcHtmlString If(this MvcHtmlString value, bool evaluation) | |
{ | |
return evaluation ? value : MvcHtmlString.Empty; | |
} | |
} | |
} |
require('GlobalStrings') | |
-- generated from s_bonusStatStringTags | |
local bonusStats = { | |
[0] = "ITEM_MOD_MANA_SHORT", | |
[1] = "ITEM_MOD_HEALTH_SHORT", | |
[3] = "ITEM_MOD_AGILITY_SHORT", | |
[4] = "ITEM_MOD_STRENGTH_SHORT", | |
[5] = "ITEM_MOD_INTELLECT_SHORT", | |
[6] = "ITEM_MOD_SPIRIT_SHORT", |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
#!/bin/sh | |
cd "$(dirname "$0")" | |
touch .git/hooks/pre-push | |
rm .git/hooks/pre-push | |
ln -s ../../pre-push-hook.sh .git/hooks/pre-push |