Top "Directory-structure" questions

Questions that relate to the organization of files and directories in a filesystem.

How to get only images using scandir in PHP?

Is there any way to get only images with extensions jpeg, png, gif etc while using $dir = '/tmp'; $files1 = …

php directory-structure file-extension scandir image-file
OO Design in Rails: Where to put stuff

I'm really enjoying Rails (even though I'm generally RESTless), and I enjoy Ruby being very OO. Still, the tendency to …

ruby-on-rails ruby directory-structure
How can I use the /home directory on Mac OS X

I've got a Mac that I can run either the Leopard (10.5) or Snow Leopard (10.6) version of OS X on. I'm …

macos directory-structure
Listing directory contents using C and Windows

I'm looking to list and store the contents of a directory in a struct using C on Windows. I'm not …

c windows directory-structure
AngularJS application file structure

On a large AngularJS application having all my controllers in a single "controllers.js" file seems a little un-maintainable to …

javascript angularjs directory-structure
Directory structure for a C++ library

I am working on a C++ library. Ultimately, I would like to make it publicly available for multiple platforms (Linux …

c++ directory-structure automake
Unix standard directory to put custom executables or scripts?

If I have a custom shell script or programs, that I created myself or downloaded from the web, and I …

linux shell unix command-line directory-structure
Location of generated source files for maven directory structure

Besides src/main/java folder, we have one folder that contains some generated java sources that are required for the …

java maven gradle directory-structure
Python relative-import script two levels up

I've been struggling with imports in my package for the last hour. I've got a directory structure like so: main_…

python python-3.x python-import directory-structure relative-import
Tomcat server, change default HTTP 404?

I am using tomcat and I would like, whenever I go to a direction that is not handled by a …

http tomcat http-status-code-404 directory-structure