Is there a way to run a loop through a folder and process like 30 files for a month and give the average,max of each columns and write in one excel sheet or so??
I have 30 files of size [43200 x 30]
I ran a different matlab scrip to generate them so the names are easy
File_2010_04_01.xls , File_2010_04_02.xls ..... and so on
I cannot merge them as each are 20mbs and matlab would crash.
Any ideas?
Thanks
What Mac OS X (leopard) application can I use to create favicon.ico -like ico files?
Note: This is not to create widget icons or the like, but the (e.g. 16x16 pixel) files that appear on a web browser's tab and alongside a bookmark...
Using Spreadsheet GEM, I am able to read xls files in development environement.
As I move to production server, application is unable to read xls files.
Please help what can be the likely changes I am missing on to make it work in production environment too.
Thanks in advance
i Want to import a given css or javascript file depending os some conditions, in my Servlet i have:
protected void doPost(...)
{
if(condition)
{
//import some javascript or css file here
}
}
I need this behavior since i have too many files to import and the files name may vary according to the condition
Is it possible?
I wonder how to specify to the command find for searching files with names matching some string or some other string.
For example, if I want to look for files that match either *dat or *txt under current directory, how to specify?
Thanks and regards!
After I clean a project in eclipse I don't see the class files generated in the output folder "bin" although there's no build error, what can I do to make it regenerate the class files?
thanks
I have some cs files in my project that are not set to be built (Properties - Build Action = None). They contain bits of code that don't compile as a whole and are there merely for reference. I don't care about any compilation errors in them, but they appear in the "Error List" window, cluttering it. Is there some way to tell VS to ignore errors in that file? Or in all files not set to be built, at that ?
I'm using VS 2010
Thanks
Hi.
When Eclipse builds my workspace, I assume that it creates Java .class files. What else should otherwise deploy to my running JBoss AS?
Do you know where I can find these class files that Eclipse temporarily creates?
We are using VSS for version control (changing to another version control system is not an option right now), and are occassionally running into issues where a file has been completely deprecated with its functionality split into other new files. For historical archival reasons we need to keep those files in the version control sytem. Is there some way to clearly mark them as deprecated and no longer used?
If I have a directory of files (with subdirectories) that is not under source control (no .svn directories), is there any way to compare it with a revision in svn (i.e. "svn diff")?
Similar question: if I have a directory of files that is under source control, can I do a diff with to a different URL than the one it was checked out from?
I play a flash game online and I noticed that some sound files that are used in the game get downloaded to the temporary internet files directory. How can I get the game to use different sounds?
Is it possible to require the user be authenticated (logged in) when downloading ZIP files from my site? Note that I don't have direct control of IIS7. (I'm on a shared hosting account.)
I can't simply alter the access for a particular directory because many directories are involved and most contain other files that can be accessed freely.
I've Googled this a bit and found similar questions. But I've been unable to find this exact question.
In many windows installers the last step is called "removing backup files".
I understand that to provide transactional integrity of the install process some "backup files" could've been created and have to be cleaned up.
What I do not understand is why on many occasions this step takes considerably longer than the rest of the installation.
Any idea why?
It is actually useful for me to store some files in EXE to copy to selected location.
I'm generating HTML and JS files and need to copy some CSS, JS and GIFs.
Snippet
System.IO.File.WriteAllBytes(@"C:\MyFile.bin", ProjectNamespace.Properties.Resources.MyFile);
doesn't work for me!
On "WriteAllBytes" it says:
"cannot convert from 'System.Drawing.Bitmap' to 'byte[]'"
for image and
"cannot convert from 'string' to 'byte[]'"
for text file.
Help!
hi,
Drupal cannot create the "files" folder. I tried to upload a php script with mkdir("files",774) but I get a permissions error, so basically any php script is not able to create a folder on the server...
What do you suggest ? If I create the folder manually from ftp client and I assign 777 permission everything works perfectly, but it is not safe solution.
Hi,
i've a Java project managed by Maven2. The scenario i'm trying to solve is the following:
in development mode i need to use some configuration files (for example, a hibernate.cfg.xml configured for the dev environment), while in production i need to exclude all the development specific files and configurations, and get instead some other ones for my production environment. How can i handle this situation?
Thanks
I'm working on my high-school matriculation asp.net project, and I wish to make a website of a bookstore.
I want to create two classes,Book and BookStore, and save the data created in XML files and not in a database.
How can I save objects as XML files, and how can I load them afterwards?
Thank you very much.
Hello,
I have problem to browse different types of file.
I know browse music file and Photo from iPhone but i want to browse all typs of file doc,zip,ppt,xls,pdf files within a application. like music and photo library.
Is there any way to browse all types of files?
Thanks you,
Could someone provide the best way to read xls files with python (not csv files).
if there a built in package which supported by default with python to this this task ?
Hi, I have a main directory like :
/import/
and in /import/ i have lots of sub directories, containing audio files.
I would like to create a php script to move all the audio files from the sub directories into the main directory.
Thanks guys :)
I like data. That is why I add a standalone PHP script which logs all relevant HTTP variables like:
Date of visit
IP
User-agent
Request URI
Referer
Am I allowed to store all this in non-public text files?
Am I allowed to evaluate the data?
What am I allowed to do with the log files?
Do I have to delete them after some time?
How can you put a list of files to Vim's -o -mode?
I have a list of files as Grep's output.
I run unsuccessfully
1
grep -il sid * | vim -o
2
grep -il sid * | xargs vim -o
3
grep -il sid * | xargs vim
4
vim -o `grep -il sid *`
5
vim -o | grep -il sid *
Is it possible to use a regular expression to get filenames for files matching a given pattern in a directory without having to manually loop through all the files.