Popular recipes tagged "development"http://code.activestate.com/recipes/tags/development/2013-10-22T01:30:42-07:00ActiveState Code RecipesZenity Chunk Editor, creating an hashing to preserve Code Integrity. (Bash)
2013-10-22T01:30:42-07:00Patrick Riendeauhttp://code.activestate.com/recipes/users/4175653/http://code.activestate.com/recipes/578693-zenity-chunk-editor-creating-an-hashing-to-preserv/
<p style="color: grey">
Bash
recipe 578693
by <a href="/recipes/users/4175653/">Patrick Riendeau</a>
(<a href="/recipes/tags/bash/">bash</a>, <a href="/recipes/tags/debian/">debian</a>, <a href="/recipes/tags/development/">development</a>, <a href="/recipes/tags/library/">library</a>, <a href="/recipes/tags/mint/">mint</a>, <a href="/recipes/tags/shell/">shell</a>, <a href="/recipes/tags/ubuntu/">ubuntu</a>).
</p>
<p>It Open by default a uuid-like temporary file. There is no actual was to modify the name, but assuming the implementation of ZenityShellEval imply a limited acces to shell, you might recuperate information from shell or futur adding to transfer a name or simple renaming the uuid-like file-name... This is to prevent auto-execution of a script from canned-design by playing with without having all clearly create your shell script and/or having fully pseudo-code explained and having confirmation of your design work...</p>
<p>Initially, the shell Editor look like this : is: <img src="https://github.com/priendeau/Fnct.d#ZenityShellEval" alt="Image of Zenity Shell In action" /></p>
<p>The dependency are simple, it require My GitHub Fnct.D project, available here: <code>[link](https://github.com/priendeau/Fnct.d)</code> to be installed inside /etc/init.d/Fnct.D like this </p>
<p>git clone <a href="https://github.com/priendeau/Fnct.d" rel="nofollow">https://github.com/priendeau/Fnct.d</a> /etc/init.d/Fnct.D</p>
<p>and loading the Lib first:</p>
<p>. /etc/init.d/Fnct.D/fnct_lib </p>
DictSet - A specialized Python container datatype for managing collections of sets. (Python)
2011-05-18T21:18:54-07:00Roger Lewhttp://code.activestate.com/recipes/users/4178017/http://code.activestate.com/recipes/577702-dictset-a-specialized-python-container-datatype-fo/
<p style="color: grey">
Python
recipe 577702
by <a href="/recipes/users/4178017/">Roger Lew</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/development/">development</a>, <a href="/recipes/tags/dictionary/">dictionary</a>, <a href="/recipes/tags/information/">information</a>, <a href="/recipes/tags/mathematics/">mathematics</a>, <a href="/recipes/tags/sets/">sets</a>).
</p>
<p>The basic Python container types (dict, list, set, and tuple) are extremely versatile and powerful. The collections module first implemented in Python 2.4 has shown that sub-classing these containers can yield elegant solutions to the right problem. In a similar vein this project is a dict subclass for elegantly handling collections of sets. In many aspects a DictSet is similiar to a defaultdict of sets except it generalizes many of the set operations to the dict.</p>
<p>Put simply, DictSet is a dict of sets that behaves like a set.</p>
<p>DictSet requires 0 non-standard dependencies and should work with Python 2.5 and up.</p>
linecount.py (Python)
2011-01-17T22:37:32-08:00Rémi Thebaulthttp://code.activestate.com/recipes/users/4176596/http://code.activestate.com/recipes/577546-linecountpy/
<p style="color: grey">
Python
recipe 577546
by <a href="/recipes/users/4176596/">Rémi Thebault</a>
(<a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/development/">development</a>, <a href="/recipes/tags/utility/">utility</a>).
Revision 2.
</p>
<p><strong>A code line counter</strong></p>