|
I know. This sounds complicated =D I made a PHP file browser, as an alternative to the apache one. I needed it for logic purposes, it does extra things for me, &etc. So instead of dropping this file in all of my directories, how could I get it to "show...
Started by Kyle on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Not ".html") to /myscript?folder=foldername ?.
Could you use URL rewriting to change all urls ending in "/foldername" or "/foldername/" (i.e .
Here's how I did it.
Not actually helping but it can be done easily in nginx .
|
|
Hello,
I'd like to poll this question: What application do you use to synchronize the working directory at local PC and remote directory (via FTP)?
I'm kind of bored of using FTP client to transfer each file I edit all the time.
Started by Skuta on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
So yeah, I agree with everyone else who's recommending a source control system .
Modifications) with the live copy: whenever I check in a revision, an SVN hook script automatically updates the live site...
|
|
Is there any way to say if a file is a directory? I have the filename in a variable. In Perl I can do this:
if(-d $var) { print "it's a directory\n" }
Started by Vhaerun on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You can do it like so:
IF EXIST %VAR%\NUL ECHO It's a directory
However, this only works as follows:
FOR %%i IN (%VAR%) DO IF EXIST %%~si\NUL ECHO It's a directory
The %%~si converts existence of a directory" its "not entirely reliable....
|
Ask your Facebook Friends
|
If you had to explain Active Directory to someone how would you explain it?
Answer Snippets (Read the full thread at serverfault):
The Active Directory database....
This database can be replicated amongst the other copies).
Be suitable for communicating to others who are not familiar with Active Directory itself Directory is, at its heart, a database management system.
|
|
I would like to be able to access the current working directory in my vimrc. For example, I can access the current file by using %.
Specifically, I have the following line in my vimrc: map ,l :!latex %
When it runs everything works fine, except the resulting...
Started by Chad on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The latex command, being invoked....
Most likely, you're running vim from your home directory, so it is the current for him .
Vim can automatically change the current working directory to the directory and :help lcd .
See :help autochdir.
|
|
I am trying to find the directory called macports by Find. I do not know where it is in my computer.
I have tried unsuccessfully
find --mindepth 777 macports
How can you find the directory?
Started by Masi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Depending on your.
| grep macports
From any parent directory you might think it lives in.
Try
find.
|
|
Rm -rf mydir
is painfully slow for a directory tree with 1 files (in sub-directories) on a reiserfs file system.
Any ideas for faster removal of directory trees (even risking rare corruption) ?
Started by gimel on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Instead of deleting the files you could wipe out use a database) It's pretty much always a bad idea having a zillion files in a directory.
System can live on disk partition or in a file.
|
|
Yesterday I got a call from a Microsoft representative asking if we supply "hosted solutions", presumably as part of the big Windows Azure push. As soon as I got off that call, our marketing director came into my office and said the majority of our customers...
Started by flipdoubt on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Active Directory can be run across the public Internet, though this complicates Directory means that your membership provider (for example) would call into Active Directory to do, and be prepared to authenticate against....
You're not.
|
|
Does it make sense to backup the entire /home directory? Or should I selectively backup the config files I want to retain?
If I reinstall the OS, is it safe to use the previous /home directory if it's the same distro?
Started by Hayek on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
If you're restoring profiles, Vim config files, bash config files... .
I'd only recommend restoring the entire directory if it's the same version of the same distribution.
It makes perfect sense to backup your whole home directory.
Absolutely.
|
|
If I have an dependency Jar for my application is it better to place it in the war files lib directory or to place it in the global application server (like Tomcat) lib directory? What do I gain by using one approach over another?
Diskspace springs to...
Started by James McMahon on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Want to install them in the server /lib directory and assume they are there and will work.
|