Popular recipes by commentator8 http://code.activestate.com/recipes/users/4182761/2013-07-07T15:18:51-07:00ActiveState Code RecipesOffline Version Control (online with dropbox) (Python) 2013-07-07T15:18:51-07:00commentator8http://code.activestate.com/recipes/users/4182761/http://code.activestate.com/recipes/578592-offline-version-control-online-with-dropbox/ <p style="color: grey"> Python recipe 578592 by <a href="/recipes/users/4182761/">commentator8</a> (<a href="/recipes/tags/control/">control</a>, <a href="/recipes/tags/version/">version</a>). </p> <p>A basic form of version control that when used in combination with dropbox and notepad++ (optional) provides reliable backup with tags of files/folder.</p> <p>Files mode can be used for individual files, in practice i used it with python files primarily. Folder mode allows for backup of folders, especially useful for a class split over various files with __init__.py in root of a folder.</p> Ghoster - Windows program to create 0kb clone of folder or drive (Python) 2012-09-02T13:30:29-07:00commentator8http://code.activestate.com/recipes/users/4182761/http://code.activestate.com/recipes/578251-ghoster-windows-program-to-create-0kb-clone-of-fol/ <p style="color: grey"> Python recipe 578251 by <a href="/recipes/users/4182761/">commentator8</a> (<a href="/recipes/tags/clone/">clone</a>, <a href="/recipes/tags/copy/">copy</a>, <a href="/recipes/tags/directory/">directory</a>, <a href="/recipes/tags/windows/">windows</a>). </p> <p>A program that will create a "ghost" of a given directory or drive on windows systems (easily adaptable to unix etc) to a given destination. This will consist of a copy of all folders and files with only names and extensions retained, not size. This allows browsing of a remote drive or network location when offline.</p> Set windows 7 to lock itself (upon timeout) if no internet connection found - security measure (Python) 2012-07-09T20:56:22-07:00commentator8http://code.activestate.com/recipes/users/4182761/http://code.activestate.com/recipes/578200-set-windows-7-to-lock-itself-upon-timeout-if-no-in/ <p style="color: grey"> Python recipe 578200 by <a href="/recipes/users/4182761/">commentator8</a> (<a href="/recipes/tags/lock/">lock</a>, <a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/windows_registry/">windows_registry</a>). Revision 2. </p> <p>This script (or exe if using web2py with """setup(windows=['locker2.py']))""") can be run as a task in windows every x minutes and will test for the presence of an internet connection and depending on whether it is found will set windows to lock after a given timeout without user activity.</p> <p>This was made with help from random code snippets from around the web.</p> <p>Tested only on windows 7.</p>