I'm kind of new to GWT and I'm looking how to make a menu in my client app like File-Open .. that will actualy open an text file and let me edit it in some widget ? Is there a way to load files like that ?
I have an 'access denied' problem on an ASP.NET web application, where the user uploads an Excel file and I try and write it to a folder. I don't have access to the host except FTP, so I can't set permissions. I thought that ASP.NET would be able to write to a folder that is under the web app root, but it isn't so.
Is there anywhere I can write the file to that doesn't require me to set permissions?
In what location does a compiled .net app look for .NET assembly file?
If the assembly file is not found in the application folder and not found in the GAC, where else will it look?
id like it so when i check out a file no one else can edit it until i check it back in. is there a version control that allows me to do this? i currently use subversion and i know it has the 'lock' feature but i want it to do that automatically without me having to request it on each file im working on.
Publishing an open-source project, is it enough to add a COPYING file to the package or do i need to copy and paste it on top of every project's source file?
On public repository like github or google code i saw mixed things and i'm curious on how this legal aspect should be handled correctly.
I need to create a shortcut file that links to a sharepoint document library and then send that in an email (don't worry about outlook blocking lnk files). I have had a look at how to how to create a standard shortcut file in C# but this fails when you give it a server address (\\\)
Does anyone have an idea on how to do this.
Also would be supper to know how i can convert the link into and SPFile object so that i can also attached it to a list item once i have created it.
I have this:
app/modules/grid_module.rb
app/modules/grid.html.haml
then in my view:
app/views/layouts/default.html.haml
I want to make a new instance of the grid_module and render it content. Its content is into the grid.html.haml and this file can only use the instance vars set in the grid_module.rb
is this possible to do? (the grid name is just an example, it must be more flexible, to load the html.haml file based on the .rb class)
the grid_module must has access to models too*
like this: User.find_by_id(4)
thanks for help
I want to put all the data in the resultset into a text file in the same order. Is there any method to get data in all the rows at once and write to a file or have to write it row by row?
I'm doing a little program and I want to distribute using this recipe:
single directory with _main_.py in it
zip this directory and echo #!/usr/bin/env python\n file.zip
making it executable
The problem is that in this package I have also extra files (I'm using pygtk toolkit and I need images and ui xml files). When I try to access these files I have the error that the resource is unavailable (the path that I'm trying to open is something like file.zip/gui/gui.ui ).
How can I handle this situation?
I have a folder full of files and i want to search some string inside them. The issue is that some files may be zip,exe,ogg,etc.
Can i check somehow what kind of file is it so i only open and search through txt, php, etc files.
I can't rely on the file extension.
Hi,
I want to create a script that checks an URL and perform an action (download + unzip) when the "Last-Modified" header of the remote file changed. I thought about fetching the header with curl but then I have to store it somewhere for each file and perform a date comparison.
Does anyone have a different idea using (mostly) standard unix tools?
thanks
I need to find a certain key in a pdf file. As far as I know the only way to do that is to interpret a pdf as txt file. I want to do this in PHP without installing a addon/framework/etc.
Thanks
hi,
i have access to the zone file for a tld. How can I extract just the domain names in the fastest possible way?
Any suggestions on how to store them in a database/file? There are millions of them.
How to register a new MIME type in android? I am very much new to android. I need to download a *.ics file from the browser (Email attachment).but the browser response is unsupported file format.Can anyone help me ???
Hey,
I want to include a file to be accessible to any method/function in a PHP class. The file just contains a base-64 encoded variable. How do I do this?
Thanks.
Suppose i want to store 3 lines in a file both in python and C++ .
I want to store it like this
aaa
bbb
ccc ..
But i am giving ccc input first then bbb then aaa. How will I traverse the file from bottom to top and also store from bottom to top/?
Publishing an open-source project, is it enough to add a LICENCE.txt file to the package or do i need to copy and paste it on top of every project's source file?
On public repository like github or google code i saw mixed things and i'm curious on how this legal aspect should be handled correctly.
Say I'm collaborating with someone via a git repository, and there is a particular file that I never want to accept any external changes to.
Is there any way for me to set up my local repo to not complain about a conflicted merge every time I git pull? I'd like to always select my local version when merging this file.
I am using PHP/Java bridge to run PHP scripts on the Tomcat server. Can someone point me to an example as to how to call my PHP scripts from a Java file.
<?php
class X{
//variables
//functions
}
?>
Now I want to call the member functions of class X using its object via a Java file. How do I do this?
Hi,
I have a small flash project. I created a SWF from the flash sources.
Unfortunately all my flash sources related to the project are deleted.
I left with the SWF file. Is there any way that I can retrieve all the flash source files from the swf file ?
I started a project and added it to hg, but I want to take *.cs file under version control only, so,i have to add bin, obj, sln, suo,_resharper folder etc to ignore pattern, ,how to let hg only monitor certain kind of file like white list? How to do that in Subversion?
i want to add to stage a movieclip in another class not the .as file as the same name of .fla file how can i get this.
When i run same code in main.as i get the result but in another class it runs but no result.