Hacker News new | ask | show | jobs
by acesubido 4584 days ago
A simple CSS/JS library recreating the Windows 8 Modal. Still working on tablet/mobile support (which im pretty sure is just a css style cursor: pointer;)

http://ace-subido.github.io/windows8-metro-modal

Another side project I'm currently in the process of designing:

Personal Problem: Me and my wife have some folders with so many random files. Too troublesome and time consuming maintaining it to be clean and organized. Pictures should be in a specific folder, installers in another one, etc. an example is the "Downloads Folder"

Solution: A small command-line utility that organizes a folder on where it runs from. This small command-line tool has only one parameter: a JSON file that contains "Rules" on what it will do on specific files. ex: .mp3's should be placed on a folder, .docs on another, etc. And so on and so forth. It could also come as an "installable" service/daemon that watches over folders. Still learning more about Scala, it's used in where I work, may write this command-line tool in that language for educational purposes.

1 comments

A simple script (in linux, windows or whatever) could do that no problem. In fact, I'm pretty sure something like:

find -iname ".txt" -exec mv -v {} /home/user \;

or

mv .mp3 /whatever/folder/youd/like mv .jpg /repeat/as/many/times/as/needed

would work. Is this what you had in mind? Hope I'm not way off base here.

EDIT: for some reason Hacker News edited out my asterisks and the letters within are displayed as italics. Curious.

Yep exactly! I know that it could be done via bash or a batch file. I just wanted to solve this usual problem with a simple project that also allows me to learn more about Scala since it's used at where I work.
Ah, I see! Well that's as good of a place to start as any. Good luck in your endeavours.