Prevent Windows from Sleeping
I have a few processes on my Windows gaming PC that are critical but sometimes get impacted over night as Windows tells my beloved machine to tone it down. My machine has the necessary cooling so I'm happy to let the processes do their work.
There is a setting in the UI which allows you to prevent Windows from sleeping but disabling that didn't seem to work. Want to truly prevent sleep and hibernation? Open the Command Prompt app with "Run as Administrator" and use the following two commands:
C:\Windows\system32> powercfg.exe /h off
I've noticed better performance of those processes when I'm not using the PC so I think all is well! Keep those Windows processes rolling at max power!
I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
My new MooTools plugin, ElementFilter, provides a great way for you to allow users to search through the text of any mix of elements. Simply provide a text input box and ElementFilter does the rest of the work.
I've used a list for this example...