Hi, I have mod_python installed on my server, but if I want to acceses a python script - let's say httü://site.com/something.py the script doesn't run, the download box "pops up"
Any solutions?
Right now, I have code which creates the database (just a few CREATE queries on a SQLite database) in my main database access class. This seems unnecessary as I have no intention of ever using the code. I would just need it if something went wrong and I needed to recreate the database. Should I...
Leave things as they are, even though the…
I was under the impression that the content_scripts were executed right on the page, but it now seems as though there's some sandboxing going on.
I'm working on an extension to log all XHR traffic of a site (for debugging and other development purposes), and in the console, the following sniff code works:
var o =…
I'm devellopping a WebApplication (for Tomcat) using netbeans on Windows 7. For the Webapplication to run I need to run a insall-script once.
This script (*.bat for windows and *.sh for linux is included in my war-file (WEB_INF).
Now everytime I deploy the WAR-file and want to run the script on linux I have to…
I want to do some graphic dialogs for my script but don't know how.
I hear something about GTK-Server or something like that.
If someone know how to link bash with tcl/tk I also be satisfied.
Please do not post something like "change to C++" because my project
must be a script in BASH, there are no other…
I am trying to export a standalone RCP app using Eclipse 3.5.2.
The app has a main pure Java plug-in, and a Java / Groovy plug-in that is used by the main plug-in.
When I export the main RCP plug-in using the "Export Wizard", I get compiler errors saying that the Groovy classes cannot be found, e.g
…
I'm sure the answer is ridiculously obvious, but so far Google hasn't been very helpful. How do I set up a shell script to execute from the dock? It seems that simply creating a shortcut will open the file in my editor. Is there a flag I need to set somewhere to tell it to run instead of opening it…
In my app, I use Groovy as a scripting language. To make things easier for my customers, I have a global scope where I define helper classes and constants.
Currently, I need to run the script (which builds the global scope) every time a user script is executed:
context = setupGroovy();
runScript(…
hello all
i have a module "B", i want to run it from a script "C",
and i want to call global variables in "B", as they wer in "C" root, another problem that is if i imported sys in "B" when i run "C" it doesnt see sys
# NameError: global name 'sys' is not defined #
what shall i do?
Just trying out Vimperator for the first time. For the life of me however, I can't figure out how to add a script (specifically for delicious bookmarks). Running Windows 7 x64.
No plugin directory:…
I have a singleton db connection which I get with:
$dbConnect = myDatabase::getInstance();
which is easy enough. My question is what is the least rhetorical and legitimate way of using this…
I'm trying to find the appropriate place to store a system path in PostgreSQL.
What I'm trying to do is load values into a table using the COPY command. However, since I will be referring to the…
Is there a way to load external CSS files, like we load JS file by using .getScript method and also use the callback function like in .getScript
$("<link/>", {
rel: "stylesheet",
…
Hi,
I'm learning CodeDom scripting, I started with http://www.c-sharpcorner.com/uploadfile/mgold/codedomcalculator08082005003253am/codedomcalculator.aspx
Now I'd like to allow script modify…
I have build.xml for my project, but even this small piece of code
<target name="init">
<tstamp/>
<!-- Create the build directory structure used by compile -->
…
How do you debug your PHP script?
I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. Any other good/better…
I am using ant script for generating war file, it will generate the war file. please see the below script
If it generates a new war file, then i want to have a…
Hi guys
I have a select input on my page. this select input displays/hides fields in the form. This all works fine. But the problem is that if i submit the form and lack some…
Hello,
I would ideally like to be able to add (very repetitive) C/C++ code to my actual code, but at compile time, code which would come from say, the stdout of a python…
Is there a way to initiate a script against an instance of SQL server when it is not connected then have it run on the instance the next time it connects? This needs to…
$.ajax({ url: "plugin.js", dataType: 'script', cache: true, success: function() {
alert('loaded');
}});
1) I can't get the script to load, probably due to…