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
public static Process PriorProcess() | |
// Returns a System.Diagnostics.Process pointing to | |
// a pre-existing process with the same name as the | |
// current one, if any; or null if the current process | |
// is unique. | |
{ | |
Process curr = Process.GetCurrentProcess(); | |
Process[] procs = Process.GetProcessesByName(curr.ProcessName); | |
foreach (Process p in procs) | |
{ |
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
Drop in replace functions for setTimeout() & setInterval() that | |
make use of requestAnimationFrame() for performance where available | |
http://www.joelambert.co.uk | |
Copyright 2011, Joe Lambert. | |
Free to use under the MIT license. | |
http://www.opensource.org/licenses/mit-license.php |
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
Instructions for installing MongoDB as a Windows Service | |
-------------------------------------------------------- | |
1: run the following command as an administrator | |
C:\MyPath\To\MongoDB\bin\mongod.exe --install | |
2: Open the following registry location in regedit.exe | |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MongoDB |