Questions tagged [file-structure]
257 questions
5
votes
1 answer
How to properly map my markdown content to dynamic URLs in Next.js?
I'd like to have the following URL structure:
URL
Role
/
markdown contents of /index.md
/about
markdown contents of /about.md
/cookies
markdown contents of /cookies.md
/privacy-policy
markdown contents of…

Wabbitseason
- 5,641
- 9
- 49
- 60
5
votes
2 answers
How could you structure and route modules in a MVC?
I'm building a MVC where everything is a module. This will allow me to separate collections of objects like forum and user modules to further organize my MVC.
/blog
/controller
/model
/view
/user
/controller
/model
…

Xeoncross
- 55,620
- 80
- 262
- 364
5
votes
4 answers
Emacs as IDE: Handling a project directory?
I've always used emacs for small projects (and Visual Studio for large ones). I was wondering what the alternatives are for handling a directory structure within emacs, something like the solution explorer in VS. Thank you.

Dervin Thunk
- 19,515
- 28
- 127
- 217
5
votes
1 answer
How to read and modify amr audio file data?
How can i extract information like sample rate , bit rate etc from an AMR-NB file .
Strictly speaking I want the sample rate or any other data that may alter its pitch or tempo.
It was easy for WAV files but here I am constrained with AMR-NB format…

user1448559
- 83
- 2
- 9
4
votes
0 answers
url() does not refer to correct file when using relative paths in imported sass files
My project contains the following :
A balloon JS widget with a hand-coded SCSS file common/balloon/luciad-balloon.scss :
...
.lcdClose {
...
background-image: url("close-icon-selected.png");
}
.lcdClose:hover {
...
background-image:…

John Slegers
- 45,213
- 22
- 199
- 169
4
votes
1 answer
Setting up proper Golang directory structure with git to use go build on custom packages
So I've been scratching my head at this for a couple weeks now, and after reading several source on how $ go build works and its three magic directories, /bin, /pkg, /src, it's still not very clear to me how to build Golang projects using custom…

GhostRavenstorm
- 634
- 3
- 9
- 29
4
votes
1 answer
How do I change default file structure for a new project in Android Studio 3.0.1?
I've been trying to setup android studio. All the tutorials online follow a very simple process of installing and making a new project by simply following the prompts. However, whenever I make a new project, my default file structure is different.…

SYSTEM
- 43
- 6
4
votes
1 answer
Github Pages font-face not working
I uploaded my project to Github pages and the font doesn't work! I've read other questions about the issue that lead me to think I need to change how I'm pointing the file, but I can't sort it out.
Here's my @font-face:
@font-face {
font-family:…

Rokitar
- 191
- 2
- 12
4
votes
2 answers
How do I deploy a Servlet in Jetty?
I have created a simple Servlet that I want to deploy in Jetty 7.2. Jetty is running and is able to serve JSP pages on http://localhost:8080/jonas/test.jsp. I started Jetty with the java -jar start.jar command.
I saved my compiled Servlet…

Jonas
- 121,568
- 97
- 310
- 388
4
votes
2 answers
How to add library's in android studio 1.1.0
i have not updated one of my apps in a while and i decided to start a all new project, i use to put all my library in a "libs" file in my app folder. but in the new android studio version i don't no where to put my library, can you help me?
this is…

jason flanagan
- 117
- 1
- 1
- 9
4
votes
1 answer
File Directory and autoloading issue PHP MVC
Im building a MVC PHP framework and am having some issues with autoloading my classes, which i think might be down to my file structure.
Firstly, here is my file structure:
Im testing developing in an Xampp localserver environment so this is why i…

Tom Burman
- 947
- 3
- 15
- 37
4
votes
1 answer
Flask not rendering template, probably an issue with file structure
My structure for files is this.
-App
-services
- __init__.py
- app_file.py
-templates
- hello.html
Inside app_file.py, I've got
@app.route('/')
def hello():
return render_template('hello.html')
I know I have at…

Zack
- 13,454
- 24
- 75
- 113
4
votes
3 answers
Bash script that move files from one directory with lots of files to a month folder
I have a directory with thousands of files.
They have a specific creation date.
Now I want to archive these files on specific times to a specific directory.
Example:
Files created on:
May 15 testmay.txt
Jun 10 testjun.txt
Jul 01 testjul.txt
They…

JoeriBe
- 83
- 1
- 6
4
votes
2 answers
Qt Creator lacks folder/file structure
Qt does not seem to structure files in folders as other IDEs usually do, like netbeans which places header files in a header folder, source files in a source folder and so on. I have seen this been done in Qt, but I have no clue why it doesn't on my…

John Mikael Gundersen
- 714
- 1
- 10
- 25
4
votes
1 answer
Linux kernel struct file pointer
Is it guaranteed that a struct file pointer won't be deallocated and reallocated somewhere else in memory during its open to close lifecycle?
I want to uniquely identify file structs that are passed to a device driver (through read/write/open etc)…

Michael
- 5,994
- 7
- 44
- 56