Hi,
Is there any way of running the $ORACLE_HOME/rdbms/admin/awrrpt.sql so that it doesn't require any input parameters, as in automatically collects a report for the previous hour?
/j
Hi all,
i'd like to call a function using an array as a parameters:
var x = [ 'p0', 'p1', 'p2' ];
call_me ( x[0], x[1], x[2] ); // i don't like it
function call_me (param0, param1, param2 ) {
// ...
}
Is there a better way of passing the contents of x into call_me()?
Ps. I can't change the signature of call_me(), nor the way x is defined.
Thanks in advance
hi,
we are using swfupload for the sake of uploading process in our project but we need add some extra parameter and send them via swfupload to aps.net page
how can I do this?
is it possible at all to passing extra parameters to a server-side page by using swfupload?
regards.
I am attempting to write a LaTeX package which leverages the minted package's \inputminted command. My \mycommand command takes two parameters, the first being a path to a file, and I want to pass the file's extension to the \inputminted command:
\newcommand\mycommand[2]{
\inputminted{#1}{...}
}
Note that the above won't work since the full path is passed to \inputminted.
Example:
\mycommand{/path/to/Test.java}{blah}
should invoke
\inputminted{java}{...}
Hi,
I wonder if it's possbile, and if it is, what i`am suppose to know, in order to run an Activity in some application, while i am calling it from another application.
for example, now i am on Application A, and i want to run an Activity on Application B.
what parameters do i need to know in order to do that?
Thanks,
Hi,
I am using WIT2410 cirronet radio to transfer the data wirelessly.
But now i need to interface this radio wiht my PC's serial port.
I need help in how can i make the connection and wat all additional parameters needed for it.
Python offers an optional loop-else clause which is executed if and only if the loop is not terminated by a break. (In other words, the condition fails for a while-loop or the iterator is exhausted for a for-loop.)
Does this loop-else construct originate from another language? (Either theoretical or actually implemented.) Has it been taken up in any newer language?
Maybe I should ask the former of Guido, but surely he is too busy for such a futile inquiry. ;-)
Related discussion and examples:
Pythonic ways to use ‘else’ in a for loop
Does anyone know of any tool (like javadoc) to generate documentation from my @RequestMapping? I.e. to get a list of URLs with parameters and response data. It would be great if it would come as a maven plugin.
my web application has an xml file here:
/files/xml/test.xml
I need to load a XDocument from within a class library project, how will I reference the xml? I don't want to pass any path parameters to this method.
I want to assume the location is fixed at /files/xml/test.xml.
How can I load a XDocument know this?
I don't seem to have access to server.mappath either.
I'm trying to create a child modeless dialog of a dialog and currently I'm using these style parameters:
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
I'm not being able to transfer the control its parent dialog once i try to create its child dialog. is there anything else I'm missing in the process to make the dialog modeless?
Hi
I want to log in the console or in a file, all the queries that Grails do, to check performance.
I had configured [this][1] without success.
Any idea would help.
[1]: http://www.grails.org/FAQ#Q: How can I turn on logging for hibernate in order to see SQL statements, input parameters and output results?
I need to call another shell script testarg.sh within my main script. This script testarg.sh has arguments ARG1 ,ARG2, ARG3. I need to call up the below way
./testarg.sh -ARG1 -ARG2 -ARG3
ARG1 and ARG3 argument Variables are mandatory ones. If its not passed to the main script then i quit. ARG2 is an optional one. If the ARG2 variable is not set with value or it's not defined then i need not pass it from main script.So i need to call up the below way
./testarg.sh -ARG1 -ARG3
If the value exist for the ARG2 Varibale then i need to call the below way
./testarg.sh -ARG1 -ARG2 -ARG3
Do i need to have a if else statement for checking the ARG2 variable is empty or null. Is there any other way to do it.
Given a list of potential class names:
1. Alaska
.
.
.
50. Wyoming
Is there a tool that will create empty java class files for each with supplied parameters?
I'm thinking of something like the "New...Class" dialog in Eclipse, only on steriods. :-)
Thanks in advance,
Kyle
I'm currently trying to disable the nested sorting, as it does not pass the parameters for the nested sort to the store url (only the first sorted column gets passed over). I tried to set "nestedSorting: false" in the grid setup (programmatically), but the sorting is still being showed in the grid headers. Isn't it possible to disable the nested sort?
C++0X N3092 states that monotonic_clock is optional.
20.10.5.2 Class monotonic_clock [time.clock.monotonic]
1 Objects of class monotonic_clock
represent clocks for which values of
time_point never decrease as physical
time advances. monotonic_clock may be
a synonym for system_clock if
system_clock::is_monotonic is true.
** 2 The class monotonic_clock is
conditionally supported.**
Is there a way using SFINAE or another technique to define a traits class that states if monotonic_clock is defined?
struct is_monotonic_clock_defined;
If yes, how? If not, shouldn't the standard define macro that gives this information at preprocessing time?
Is there any WinAPI WinExec analog in boost (c++) libraries? I need to run executable from my program, and pass parameters to it. Should I use any other cross-platform libraries for this, or handle myself what OS my program is compiled for?
hello all , I am trying to create url routing with strongly typed objects for pages but I keep getting null object on the first line so it's crashing
//Getting the suitable executing Page
var display = BuildManager.CreateInstanceFromVirtualPath(_virtualPath,typeof(Page)) as IProfileHandler;
//Setting Page Parameters
display.MemberId = Convert.ToInt32(requestContext.RouteData.Values["ID"]);
//Return Page
return display;
public interface IProfileHandler : IHttpHandler
{
int MemberId
{
get;
set;
}
}
I've never built a ff extension before and before I start I want some feedback on my idea to make sure its possible.
I want a firefox extension that allows me to supply a url with parameters in GET format, the extension would take the url, parse it, and submit the request as POST rather than GET.
Is this possible? and could someone give me some advice on how to start designing an extension? or point me at a tutorial?
With a windows MSI file, is there a way to grab all the possible installation parameters in .NET code? I need to make a generic user interface to configure multiple MSI files not known until run-time – then install them together in one go.
Is there a way by which we can simulate thread level constants in C++? For example, if i have to make a call to template functions, then i need to mention the constants as template level parameters? I can use static const variables for template metaprogramming, but they are process level constants.
I know, i am asking a question with a high probability of 'No'. Just thought of asking this to capitalize on the very rare probability :))
Thanks,
Gokul.
I have a fairly simple class that I want to save to SQL Server via NHibernate (w/ Fluent mappings). The class is made up mostly of optional string fields.
My problem is I default the class fields to string.empty to avoid NullRefExceptions and when NHibernate saves the row to the database each column contains an empty string instead of null.
Question: Is there a way for me to get NHibernate to automatically save null when the string property is an empty string? Or do I need to litter my code with if (string.empty) checks?
function checkLength(obj,url){
//alert("URL="+url+" OBJ="+obj);
if(obj) {
var params = 'query='+obj;
var myAjax = new Ajax.Request(url, {
method: 'post', parameters: params, onComplete: loadResponse
});
}
}
is nor working why
i think there is requirement of include some files in it.which is that??/
How to disable Alt + Shift + Tab using c# ? I have disabled the Alt + Tab using a function which gets only two parameters. But to disable three key strokes ??
I anyone need my code to disable the two key strokes combination, i cam post it. But it is quite big.
Hello all!
I am using Hibernate and getting
Exception in thread "main" org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [<MyDbObject>#271]
What is pretty weird about this error is, that the object with the given id exists in the database. I inserted the problematic record in another run of the application. If I access it in the same run (i.e. same hibernate session) there seem to be no problems retrieving the data.
Just because it could be a fault of the mapping:
public class ProblemClass {
@ManyToOne(optional = false)
private MyDbObject myDbObject;
}
public class MyDbObject {
@OneToMany(mappedBy = "myDbObject")
private List<ProblemClass> problemClasses;
}
I have absolutely no clue even where to look at. Any hints highly appreciated!
In my MouseDoubleClick i may run into a case where i would like to call all the controls in a list with MouseDoubleClick. However i cant call MouseDoubleClick, only add/remove events to the chain.
How do i call MouseDoubleClick/OnMouseDoubleClick?
ATM i workaround the problem since i know the objects MouseDoubleClick function and i pass in the parameters myself calling that specific function. How do i call the event in the case i do not know what function is set to the control MouseDoubleClick