I have a pc with 5 internal hard drives. Pc and mac are connected via gigabit router to share files. Please suggest top three ways to speed up the process.
I have VPS with CentOS 5.4.
This is production server.
The problem is when my webiste installs some scripts from site , then the owner name is not written on the file and as user i can even change the file permissions.
Is there any way that which ever script is writing file , the owner of home directory should the owner of all the files
I have VPS with CentOS 5.4.
This is production server.
The problem is when my webiste installs some scripts from site , then the owner name is not written on the file and as user i can even change the file permissions.
Is there any way that which ever script is writing file , the owner of home directory should the owner of all the files
I was trying to install another OS (ubuntu) on my laptop which already had a windows 7 installation. During the Ubuntu installation, I mistakenly clicked on the first option which was to erase the disk and install. It was only after the installation, that I realized the mistake.
My question is how can I recover my original files from the windows…
I recorded a some audio files on my powerpoint presentation. This was done in two ways: (1) for some slides I used the record narration feature of powerpoint (the audio on each slide was recorded separately) and, (2) for others I used audacity to record the audio, which I imported into powerpoint.
I need to extract the audio file from each slide.…
I have a two part question relating to sending query results as attachments using sp_send_dbmail.
Problem 1: Only basic .txt files will open. Any other format like .pdf or .jpg are corrupted.
Problem 2: When attempting to send multiple attachments, I receive one file with all file names glued together.
I'm running SQL Server 2005 and I have a…
I have a very simple test page that uses XHR requests with jQuery's $.getJSON and $.ajax methods. The same page works in some situations and not in others. Specificially, it doesn't work in Chrome on Ubuntu.
I'm testing on Ubuntu 9.10 with Chrome 5.0.342.7 beta and Mac OSX 10.6.2 with Chrome 5.0.307.9 beta.
It works correctly when files are…
Hi,
I've recently tried to optimize my site for speed and brandwith. Amongst many other techniques, I've used GZIP on my .css and .js files.
Using PuTTY I compressed the files on my site and then used:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{HTTP_USER_AGENT} !Konqueror
…
I'm developing a music site which will stream audio files stored in a server to users, audio files will be played through flash player placed in a webpage..
As I heard I need to use a streaming media server for streaming audio files ( like 2mb to 3mb in size).. Do I need to use one?
I found some streaming media server softwares…
I want to replace existing files on an IIS website with updated versions. Say these files are large pdf documents, which can be accessed via hyperlinks. The site is up 24x7, so I'm concerned about locking issues when a file is being updated at exactly the same time that someone is trying to read the file.
The files are updated…
I am starting to use Jungle Disk to upload files to an Amazon S3 bucket which corresponds to a Cloudfront distribution. i.e. I can access it via an http:// URL and I am using Amazon as a CDN.
The problem I am facing is that Jungle Disk doesn't set 'read' permissions on the files so when I go to the corresponding URL in a…
Today I see a strange behaviour of Eclipse 3.5.2 for the first time in 3 months.
First, when I run a main function, it runs a previously compiled version. Let's say I press Ctrl+F11 in the window with an open java class and existing main function. Usually it rebuilds the class and runs a new version. Today even if there…
I've heard discussion about how OpenOffice (ODF) files are compressed zip files of XML and other data. So making a tiny change to the file can potentially totally change the data, so delta compression doesn't work well in version control systems.
I've done basic testing on an OpenOffice file, unzipping it and then…
Submitted for your approval, a story about a poor little java process trapped in the twilight zone...
Before I throw up my hands and just say that the NTFS partition is borked is there any rational explanation of what I am seeing. I have a file with a path like this
C:\Program…
I am currently working with a subversion repository but I am using git to work locally on my machine. It makes work much easier, but it also makes some of the bad behavior going on in the subversion repo quite glaring and that creates problems for me.
There is a somewhat…
Hello,
Q1
Any assemblies stored in Bin directory will automatically be referenced by web application. We can add assembly reference via Website -- Add Reference or simply by copying dll into Bin folder. But I noticed that when we add reference via Website -- Add…
I need to transfer files (still photos and videos) from any portable device that a user may connect (still camera, video camera, mobile phone, etc.) I don't need to worry about plain storage devices as these have drive letters. And I only care about existing files,…
I have a database table that contains numerous PDF blob files. I am attempting to combine all of the files into a single ZIP file that I can download and then print.
Please help!
<?php
include 'config.php';
include 'connect.php';
$session= $_GET[session];
…
I am looking to create a Windows batch script to move about 2,000 files and splitting them up so that there are 10 files per folder. I have attempted creating a batch script but the syntax really boggles my mind. Here is what I have so far
@echo off
:: Config…
So I'm happily working on a project making heavy use of custom .xml configuration files this morning.
All of a sudden, whenever I double-click an .xml file in Solution Explorer, it opens in Notepad instead of within Visual Studio.
Thinking that it was the…
I have files of size 150 MB each in a remote server in a different domain in the network. I am accessing them thorugh UNC path. I want to read the file content and perform a basic string search. When I try reading the files line by line, the operation just…
A colleague has imported a CVS repository into a pre-existing SVN repository using a cvs2svn dumpfile (like "svnadmin load --parent-dir /path < dumpfile") , which I originally created from the CVS repo.
Now that I'm trying to checkout and build from…
Oftentimes, when using git, I find myself in this situation:
I have changes to several files, but I only want to commit parts of them.
I have added several untracked files, which I want to track and commit.
Solving the first part is easy; I run:
…
We have a content type with two imagefield / filefield fields, and after migrating our site to a new server, we have the following problem:
When we submit a new item for this content type, with two images for those fields, drupal gives us the…