genieos

Too awesome procs to be included in nimrod.os module

Homepage: http://gradha.github.io/genieos/

Platform: Nimble

Language: Nimrod

License: MIT

Repository: https://github.com/gradha/genieos

Install: nimble install genieos


Nim genieos module

Nim provides the os module with OS related procs to manage files among other things. But this is really just basic POSIX stuff, and nowadays OSes have things like recycle bins and speakers to play sounds. However, these kind of procs are not very cross platform and some people wouldn't like them in the base os module.

So here's my answer, genieos contains several procs which are too awesome to be included in the standard os one. You could actually think of this module as a fancy os module, but if we are talking about fancy stuff, you can't get more fancy than Girls' Generation 소녀시대, also known as Sonyeo Shidae or SNSD. Just tell them your wish, you never know what this module could do for you (hey, it even remixes well!).

License

Seohyun says this has a MIT license.

Installation and usage

Stable version

You could copy the genieos.nim file and genieos_pkg directory to your project or put these somewhere safe and use Nim's configuration files feature to specify their path. But that would be really raw, like asking Jessica to eat a cucumber (she dislikes them!). So you can use Nim's Nimble package manager and type:

$ nimble update
$ nimble install genieos

Development version

Use Nim's Nimble package manager to install locally the github checkout:

$ nimble update
$ git clone https://github.com/gradha/genieos.git
$ cd genieos
$ nimble install -y

Alternatively you can use the following syntax to ask Nimble to install the development version directly:

$ nimble update
$ nimble install -y genieos@#head

Usage

Once you have installed the package you can import genieos in your programs and access the exported procs.

The genieos module comes with embedded docstrings. Sooyoung recommends you to go to http://gradha.github.io/genieos/, there you will find the generated documentation for all public API versions.

Extra binaries

To put the awesome procs into use there's a trash command which works like your typical rm from the command line but instead of removing files it puts them nicely in your recycle bin. Check out the trash-binary directory for further information.

Roadmap

This module implements MacOSX functionality, a toy OS Sunny would enjoy using. Real men with real operative systems, however, are presumed to step in at some point and implement these procs (or add new ones) to their manly platforms. Unfortunately they are figuring out where the recycle bin is or cleaning tiles for some reason. Note how I carefully avoided any mention of snakes and dongles here... oops.

Anyway, this is the development version 9.4.3. For a list of changes see the docs/CHANGES.rst file.

Git branches

This project uses the git-flow branching model with reversed defaults. Stable releases are tracked in the stable branch. Development happens in the default master branch.

Feedback

You can send me feedback through github's issue tracker. I also take a look from time to time to Nim's forums where you can talk to other more serious Nim programmers.

веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей

GitHub Repository

gradha/genieos gradha/genieos

Too awesome procs to be included in Nim's os module

http://gradha.github.io/genieos/

Language: Nimrod

Created: April 07, 2013 22:58

Last updated: March 09, 2015 21:30

Last pushed: January 23, 2015 22:56

Size: 1.33 MB

Stars: 3

Forks: 3

Watchers: 1

Open issues: 5

Top Contributors

Grzegorz Adam Hankiewicz Billingsly Wetherfordshire

Tagged Releases

Related Projects

argument_parser
Provides a complex commandline parser
Nimble - Nimrod - MIT - Published 3 months ago - 4 stars
awesome_rmdir
Command to remove acceptably empty directories.
Nimble - Nimrod - MIT - Published over 1 year ago - 1 stars
dropbox_filename_sanitizer
Tool to clean up filenames shared on Dropbox
Nimble - Nimrod - MIT - Published 12 months ago
gh_nimrod_doc_pages
Generates a GitHub documentation website for Nimrod projects.
Nimble - Nimrod - MIT - Published 2 months ago
lazy_rest
Simple reST HTML generation with some extras.
Nimble - Nimrod - MIT - Published 3 months ago - 2 stars
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей