Hi all,
I have this regex that allow all php files :
^.*\.([Pp][Hh][Pp])
how can I exclude a specific file, for example test.php ?
Thanks for your answer,
Best regards
How can I get the following output using linux command by comparing two text files? Thanks.
file1:
site110
site120
file2:
domain1.com - site110
domain2.com - site111
domain3.com - site112
domain4.com - site113
domain5.com - site120
output:
domain1.com - site110
domain5.com - site120
I am looking for a Unix based application or framework that would allow me to view/edit ini files on a remote system in a Html GUI via Apache (or similar).
Searching for ini/config/GUI solutions via search engines returns a lot a false positives.
Any recommendations?
How do I turn one file with lots of classes to many files with one class per file? (C\C++)
So I have that file with such structure: Some includes and then lots of classes that sometimes call each other:
#include <wchar.h>
#include <stdlib.h>
//...
class PG_1 {
//...
}
class PG_2 {
//...
}
//......
class PG_N {
//...
}
I currently submit a form on to an invisible iframe. The action file creates a CSV which is automatically downloaded. Is it possible to have multiple files downloaded when the form is submitted?
I'm just learning Sphinx, and I need to edit ReST files. Is there an intelligent editor for it? Like, an editor that gives me code coloration, easy indentation, code completion (hopefully), etc.
Can you recommend me what should I read/learn in order to make a well organized code in C?
One of the things I want to learn is the principles of splitting project in .h and .c files, what goes where and why, variable naming, when to use global variables ...
I am interested in books and articles that deal with this specific problem.
Hi,
Can you please tell me if there is an environment variable for GCC/G++ to look for .h files during compilation?
I google my question, there are people say LIBRARY_PATH, C_PATH, C_INCLUDE_PATH, CPLUS_PATH,
so which one is it?
Thank you.
I just want to copy list of files displayed in eclipse search tab,
When i try using right click copy and paste into some folder it does not work.It actually copies the file location rather than the file itself
I have searched for a list of VB6 files that are redistributable, but did not find one. Can anyone point me to such a list? I specifically need to verify that tabctl32.ocx is redistributable. Thanks!
We have to delete some directories and their contents using Java running on Windows.
I was worried about running into the directory files being locked.
We could just invoke Unlocker to do the delete. Or is there a more Java centric way to handle this situation?
I have a list of directories
/home
/dir1
/dir2
...
/dir100
Some of them have no files in it. How can I use Unix find to do it?
I tried
find . -name "*" -type d -size 0
Doesn't seem to work.
So I have a list of key/value pairs of configuration values I want to store as java property files, and later load and iterate through.
Questions:
Do I need to store the file in the same package as the class which will load them, or is there any specific location where it should be placed?
Does the file need to end in any specific extension or is .txt ok?
How can I load the file in the code
And how can I iterate through the values inside?
You all know about restrictions that exist in shared environment, so with that in mind, please suggest me a php function or something with the help of which I could stream my videos and other files. I have a lot of videos on the server, unlimited bandwidth and disk space, but I am limited in ram and cpu.
It seems that the popularity of jQuery and MS AJAX, as well as tools like YSlow & Google Page Speed have given rise to common components being hosted on Content Delivery Networks (CDN).
So which CDN's exist and what files do they serve?
Hi friends.
I want to make a "Setup Maker" App with Delphi.
How can I create a exe files?
for example : Delphi Itself Compiler.
Tanks to All.
....NiliDelphi....
I have a massive MySQL database (around 10 GB), and I need to copy it to a different server (slicehost). I don't want to do a DB dump and reimport b/c I think that would take forever. Is it possible to just move the raw SQL files from one machine to the next, setup an identical mysql server, and flip the switch?
I'm not sure if it's just me, but whenever I open .txt files in internet explorer, it always parses the HTML, so forms, buttons, fields all show up. It does this on multiple computers, and I'm fairly sure it hasn't always done this. I know FireFox doesn't, FireFox loads it as a text file. Does anyone else have this problem? If so, have you solved it? If so again, how?
to run a single file you can run in mysql
.\ filename
or you outside of mysql you can run
mysql < filename
I have a directory of sql files so I'm trying to run them all at once by using a wildcard
*.sql
but it doesn't work.
Any ideas?
Several people have asked, in a roundabout way, but I have yet to see a workable solution. Is there any way to open an excel file from directly memory (like a byte[]) ? Likewise is there a way to write a file directly to memory? I am looking for solutions that will not involve the hard disk or juggling temporary files. Thanks in advance for any suggestions.
I want do unzip a lot of zip files, is there a module or script that check which format the zip file is and decompress it?
this should work on linux, other OSs I don't care for this.
Each day an application creates a file called file_YYYYMMDD.csv where YYYYMMDD is the production date. But sometimes the generation fails and no files are generated for a couple of days.
I'd like an easy way in a bash or sh script to find the filename of the most recent file, which has been produced before a given reference date.
Typical usage: find the last generated file, disregarding those produced after the May 1st.
Thanks for your help
I want to know how to get the ringtone,audio files in the device and I want set them as alarm. How to do it?
I am working in the code to set the alarm and I want to know how to retreive audio or ringtones from the device.
I am using Spring upload to upload files. When uploading an Arabic file and getting the original file name in the controller, I get something like:
المغفلين.png
Any ideas why this problem occur?
Hello
I have a .NET CF project. In the project directory I put a simple xml file (users.xml) which has to be read by the device. When I debug the application on device emulator and try to load the file from code, the Exception is thrown (FileNotFoundException "Could not find file '\users.xml'.").
Is there a mechanism to automatically deploy also configuration files to a device emulator?