runnane Everything that matters ++

21Mar/080

Hardboot linux machine from console

http://blog.air4web.com/linux-force-reboot.html

Pretty handy when my server hangs on umounting a drive:

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Filed under: Linux No Comments
5Mar/080

HttpContext.Current.Items

Great method for sharing info in different layers in ASP.NET without passing anything between them.

http://www.mikeduncan.com/3-hot-uses-for-httpcontextcurrentitems-they-wont-tell-you-about

Filed under: .NET No Comments