Popular recipes by Collin Stocks http://code.activestate.com/recipes/users/4149235/2012-02-07T16:55:01-08:00ActiveState Code RecipesSyncFiles (Python)
2008-12-13T21:28:57-08:00Collin Stockshttp://code.activestate.com/recipes/users/4149235/http://code.activestate.com/recipes/576584-syncfiles/
<p style="color: grey">
Python
recipe 576584
by <a href="/recipes/users/4149235/">Collin Stocks</a>
(<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/consistency/">consistency</a>, <a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/gnu/">gnu</a>, <a href="/recipes/tags/gpl/">gpl</a>, <a href="/recipes/tags/just_in_case/">just_in_case</a>, <a href="/recipes/tags/oop/">oop</a>, <a href="/recipes/tags/pickle/">pickle</a>, <a href="/recipes/tags/state_machine/">state_machine</a>, <a href="/recipes/tags/storage/">storage</a>, <a href="/recipes/tags/sync/">sync</a>, <a href="/recipes/tags/synchronize/">synchronize</a>).
Revision 3.
</p>
<p>This module allows you to handle and protect from inconsistencies sets of files that must all be saved at the same time. It does this be creating backups and temporary files. It has been moderately tested for bugs.</p>
Linux Terminal Color Setter (Python)
2008-09-11T17:08:30-07:00Collin Stockshttp://code.activestate.com/recipes/users/4149235/http://code.activestate.com/recipes/576503-linux-terminal-color-setter/
<p style="color: grey">
Python
recipe 576503
by <a href="/recipes/users/4149235/">Collin Stocks</a>
(<a href="/recipes/tags/just_for_fun/">just_for_fun</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/terminal/">terminal</a>, <a href="/recipes/tags/unix/">unix</a>).
</p>
<p>This module can move the cursor around in the terminal, change the text color, highlighting color, et cetera, bold, underlined, flashing (if supported). It also has a word wrap function, and can center text.</p>
Sudoku solver/creator (Python)
2008-09-12T00:18:27-07:00Collin Stockshttp://code.activestate.com/recipes/users/4149235/http://code.activestate.com/recipes/576505-sudoku-solvercreator/
<p style="color: grey">
Python
recipe 576505
by <a href="/recipes/users/4149235/">Collin Stocks</a>
(<a href="/recipes/tags/just_for_fun/">just_for_fun</a>, <a href="/recipes/tags/puzzle/">puzzle</a>, <a href="/recipes/tags/sudoku/">sudoku</a>).
</p>
<p>This program can solve and create sudoku puzzles</p>
RSA (Python)
2012-02-07T16:55:01-08:00Collin Stockshttp://code.activestate.com/recipes/users/4149235/http://code.activestate.com/recipes/572196-rsa/
<p style="color: grey">
Python
recipe 572196
by <a href="/recipes/users/4149235/">Collin Stocks</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>).
Revision 2.
</p>
<p>This is my Python implementation of the RSA algorithm, including functions to generate prime numbers from a password string. It also includes a file-like object for automating encryption.</p>
<p>I wrote this code a long time ago. My coding style has improved since then. I would never write a program like this nowadays. This was written as a demo, and should be treated as such.</p>