Is it possible to upload single files to the Appengine installation instead of the full project every time. This question is related to the Java version of Appengine.
HI guys - I have a problem with maintenance of my php based website. My website is built on the Zend Framework. When I wish to upload a new copy or version online - during the time of upload especially when crucial files like models and controllers ar ebeing uploaded and rewritten - the site won't run understandably.
Is there a way to upload a website without having to go through this issue?
The following UNIX one-liner looks for Python files below the CWD and adds them to a TAGS file for Emacs (or we could do the same with Ctags).
find . -name *.py -print | xargs etags
This breaks if the CWD has a space or other unusual character in its name. -print0 or -ls don't seem to help, in spite of what man find says. Is there a neat way around this?
Hi,
I'm thinking of developing the following but wondering if it already exists out there:
I need a SQL based solution for assigning and managing localization text values for an asp.net site instead of using RESX files. This helps maintain text on the site without having to take it down for deployment whenever an update is required.
Thanks.
I am processing some CSV file which i have copied in Bin folder of My ASP.NET Website.
When i execute
using (IDataReader csv = new CsvReader
(new StreamReader("sample.txt"), true, '|'))
{
.....
}
it complains me that "sample.txt" not found in "c:\Program Files\.....\"
Won't the runtime automatically look into the bin folder?
what modification do i need to do?
I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files.
Does anyone have an example that does not uses a third party component? I need to get this done but it would be nice to fully understand how things are done.
C# Examples please :)
I would like to put a git project ( Rails app ) on github,
but it contains certian files with sensitive data ( usernames and passwords, like /config/deploy.rb for capistrano ).
I know I can add these filenames to .gitignore, but this would not remove the their history within git.
I also don't want to start over again by deleting the /.git directory.
Is there a way to remove all traces of a particular file in your git history?
public function bmdToStr(bmd:BitmapData,width:int,height:int):String {
var encoder:JPEGEncoder = new JPEGEncoder();
var encBytes:ByteArray = encoder.encode(bmd);
return ImageSnapshot.encodeImageAsBase64(new ImageSnapshot(width,height,encBytes,"image/jpeg"));
}
As of now, I am creating JPEG image from bitmapdata as above.
I can use PNGEncoder for creating png images as well.
How do I create .bmp or .gif files?
You can specify the namespace and assembly to use types from at the top of HBM files:
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="MyCorp.MyAssembly" namespace="MyCorp.MyAssembly.MyNamespace">
Can you use types from multiple assemblies / namespaces within the same mapping file, and if so what is the syntax for doing so?
Say, we have ABC.exe and CDE.exe
I want to bundle these 2 installation files into a single un-attended installation file [XYZ.exe].
And when I run the XYZ.exe it should install the above applications.
Any ideas how this can be achieved ?
i have a vb.net application
i published it
it made an app files diretory, setup.exe, and some other file
i need everything to be in one file because the users are not very computer savy
is there a way to bundle everything in one installation file?
I installed mercurial 1.5.1 on win xp but the files listed in hg help config, were not created.
Namely:
%USERPROFILE%.hgrc (is that a valid windows file name?)
%USERPROFILE%\Mercurial.ini
\Mercurial\Mercurial.ini
C:\Mercurial\Mercurial.ini (no such directory altogether)
%HOME%.hgrc (what is this directory)
%HOME%\Mercurial.ini
HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial (no registry created)
.hg\hgrc (i had to create this file manually to solve my problem)
I want to know how long certain files like css, html and js are desirable to be cached by .htaccess setting and why different time setting for each file type?
In few examples i saw that someone cache html for 10 mins, js for a month and imagery for a year.
I have been looking for a way of modifying static strings stored in Windows .exe files in the .rdata section, however I haven't found a real way to do so yet.
The whole thing is too complicated to do by hand (in this case by a HEX editor) and so I wanted to know if you have a solution to do so.
Hello All-
In C# how can I search through a Folder and its Subfolders to find files that match a string value. My string value could be "ABC123" and a matching file might be ABC123_200522.tif. Can an Array collect these? Thanks in advance.
-Josh
HI All, I have below code to extract a single page from a multi-paged TIFF file. The problem is, the input file is in CCITT Group 4 compression however the output compression is LZW. Can .NET outputs TIFF files other than this compression?
FileStream fileStream = File.Open(outputFileName, FileMode.Create, FileAccess.ReadWrite);
sourceImage.SelectActiveFrame(firstFrameDimension, pageNumbers[i]);
sourceImage.Save(fileStream, ImageFormat.Tiff);
fileStream.Close();
I am trying to get Update queries from a list of files using this script.I need to take lines containing "Update" alone and not "Updated" or "UpdateSQL"As we know all update queries contain set I am using that as well.But I need to remove cases like Updated and UpdatedSQL can anyone help?
nawk -v file="$TEST" 'BEGIN{RS=";"}
/[Uu][Pp][Dd][Aa][Tt][Ee] .*[sS][eE][tT]/{ gsub(/.*UPDATE/,"UPDATE");gsub(/.*Update/,"Update");gsub(/.*update/,"update");gsub(/\n+/,"");print file,"#",$0;}
' "$TEST" >> $OUT
hi,
i am trying to upload files through the ASP.NET File Upload control.
Every thing is working fine, except for the fact that when i try to upload the file on the server i am getting an error: (probably some authorization exception).
do i need to give some rights to the upload up there on the server. If so then for which account and do i need to restart the server after giving rights??
Please help...
thank you
What's needed:
To move several directories between two Windows 2008 servers on a regular basis.
Due to security requirements, neither server is supposed to have network shares set up or extraneous software installed.
What's available:
Administrator access to both machines (including remote desktop access if that helps).
A third machine with:
Visual Studio 2010
Cygwin
Bonus extras
The script that does the rest of the work (apart from moving the files) is currently written in F#, but any .net/command line based solution would be fine.
hai all...
Am writing simple application for capturing video from camera and save in .WMV files using vc++ Directshow.i done this task.bt i need to write file as MPEG4 file type.
can anyone help me.
CAMERA---->SAMPLEGRABBER---->getting streams from sample graaper..
i get stream from camera like this.
kndly help me
thanks
Hi everyone,
I have an array of file names which I want to download.
The array is currently contained in a string[] and it is working inside of a BackgroundWorker.
What I want to do is use that array to download files and output the result into a progress bar which will tell me how long I have left for completion.
Is there a way I can do this.
Thanks.
I have started to look into Hadoop. If my understanding is right i could process a very big file and it would get split over different nodes, however if the file is compressed then the file could not be split and wold need to be processed by a single node (effectively destroying the advantage of running a mapreduce ver a cluster of parallel machines).
My question is, assuming the above is correct, is it possible to split a large file manually in fixed-size chunks, or daily chunks, compress them and then pass a list of compressed input files to perform a mapreduce?
I m using CuteWebUI.AjaxUploader.dll and i want to upload multiple files in Filesystem like c:\foldername at single click.how can i do this.
Control i m Using:-