Hello there,
Could anybody point out a good dependency injection tutorial? I found a ton on Google but none of them that would assume the reader is a just Java beginner.
Thanks!
hello i want to get ipaddress of my computer in variable ip thru this code
but it assign nothing in ip
char comm[100];
int s=0;
char ip[100];
sprintf(comm,"export ip=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`");
s=system(comm);
printf("\n ip is %s",ip);
Hello,
I have questions about System.Threading.ThreadStart Class :
where can I find its specifications ( there is praticly nothing in the msdn : http://msdn.microsoft.com/en-us/library/system.threading.threadstart.aspx or in ROTOR : www.dotnet247.com/247reference/system/threading/threadstart/__rotor.aspx)
what is its field : protected System.IntPtr _methodPtrAux
thanks
Hello.
Is there recommended order in which include files should be specified?
For example, the system files, STL, Boost, go before of after local include files?
is there a particular reason to choose one or another?
Thanks
Hello,
Is there any way to access a movie plaing in VLC through HTTP in jpeg/png format.
You see, what I want, is to have a movie playing in my local VLC player, and access currently playing frame through something like http://localhost:9999/current.jpg
Is there sucha way, or maybe someother tool can provide it?
Thanx a lot in advance
I have following code snippet:
class ABC{
public:
int a;
void print(){cout<<"hello"<<endl;}
};
int main(){
ABC *ptr = NULL:
ptr->print();
return 0;
}
It runs successfully. Can someone explain it?
Hello,
I wanto call a PHP script using Google App Engine. I just want to execute the script. The script updates a couple of databases on my webhost. But I guess Google App waits for the response. Is there a way by which I can start the script.
The script takes some time and Google App might die during that time.
Hello
I used the command "net user" to add a new admin user to windows like that:
net user myuser11 myuser11 /add net
localgroup Administrators myuser11 /add
the problem that after restart windows I only see the icon of the "myuser" and the default windows "Administrator" login icon disappeared !!
the "Administrator" files still exists and I can login as "Administrator" after ctrl+alt+del but I need of course to display the "Administrator" icon in welcome screen
how I fix that ?
I use windows xp sp3
thanks
Hello,
We have run into an issue where we have an existing Alias, and we would like to add a rewrite rule to catch all variations of case-insensitive spellings, ie:
URL: http://www.example.com/example
Alias /example "/var/www/html/web/example"
We need a rewrite rule to catch:
/ExamPle
/exampLE
/eXAmple
etc ...
If anyone could help, that would be great! We cannot seem to get the rewrite & Alias to work together.
Thanks and God Bless!
Hello,
I'm trying to build a facebook like search for my software.
I'd like to query the table customers.
I've set up a FULLTEXT Index and tried the next query
SELECT * FROM Customer where CONTAINS(*,'*ann*')
The query does return all the customers named Ann, but it doesn't return all the customers name Anne.
Is there a way to create prefix search on SQL SERVER 2008 using FTS?
Thanks.
Hello,
I'm new to jQuery and I want to have a input box from a form called "width" and when you type a value (lets say "300") it will instantly update the div "#box" to a width of 300px.
Thank you!
Hello everybody,
I have to solve an exercise using awk. Basically I need to retrieve from 'ps aux' command the total of memory usage for each user and format like this:
User Total%Mem
user1 3.4%
user2 1.5%
and so on.
The problem I can't seem to solve is: how do I know how many users are logged in? And how can I make a different sum for each one of them?
Thank you :)
Hello
i i have different class and controller.
and i need that one instance of model will be available in controller/
now i'm doing something like this:
def method1
inst = @MyClass.new(params)
inst.action
....
def method2
inst = @MyClass.new(params)
inst.action
....
but i want something like this
def method1
@inst.action
....
def method2
@inst.action
or self.inst i't doesn't matter
how i can do it?
def self.inst
MyClass.new(params)
end
doesn't work...
Hello,
The JTree implementation / Renderer used in eclipse (see the navigation pane on the left side) is extremely good. I've checked out the eclipse source code and am looking through it, but can't seem to find the reference to the JTree used.
Does anyone know which package contains the definition of this pane?
Thanks!
I have an object variable Object test = Spinner.getSelectedItem();
-It gets the selected item from the Spinner (called spinner) and names the item 'test'
I want to do an if statement related to that object e.g:
'if (test = "hello") {
//do something
}'
But it appears not to work....
Can someone give me some help?
-Do I have to use a different if? or convert the object to string etc.?
Thanks alot...
James
Hello
In my current project we have to develop a good looking desktop based application in java.
Currently, we have a very basic desktop application written in swing and team does not have good swing knowledge. Can we create a very good looking UI in swing?
Should we use JavaFX for creating the desktop application?
What are other alternatives to do this?
Thanks
Shekhar
hello,
i have a UIView UIImageview UIButton and UISlider added as subview to UIView
example:
[view addsubview:uiImageview_obj];
[view addsubview:uiButtonview_obj];
[view addsubview:uiSliderview_obj];
When i zoom the uiimageview_obj, it covers uislider and uibutton also, hence i cannot use uislider and uibutton when i zoom the image. So please tell me how to make uislider and uibutton to be always on top?
Thank you in advance.
Hello,
How can i get a httponly cookie in a httpwebresponse ?
Habitually i use a CookieContainer to get the cookies in a httpwebresponse, but it doesnt work with httponly cookie.
Is there an other way to catch them ?
Hello ! I'd like to create/modify the title of a pdf document using pypdf. It seems that the title is readonly. Is there a way to access this metadata r/w?
If answer positive, a piece of code would be appreciated.
Thanks
Hello Everyone,
I have checked the working demo of ImageSwitcher and gallery. Actually i want to display 4 images at a time on screen and by default it displays number of images that it can fit in a screen say for ex. 6 images. Now i want to limit the number of images(to 4 images ) to be displayed on ImageSwitcher at the same time. Any help will be appreciated.
Thank you,
Rupesh
Hello ,
I am doing django admin internationalization .I am able to do it perfectly.But my concern is that in the address bar it is showing the app label in tranlated form which is not in us acii .Is this the problem with django or i m doing something wrong.
Hello all
Can you recommend me on places where i can read and see examples on usage of Lambda operator in c# .
I will really like to see a lot examples on it...
Thanks.
Hello,
I would like to use the Helicon ISAPI_REWRITE module to rewrite a url:
123.45.67.89/folder
to
www.site.com
I need to mask the IP/folder due to an IIS structure change. The reason why I don't want to get into, but it's valid based on the setup.
Any help would be appreciated.
Thanks.