Is there a way to run a shell script using spot light on Mac OS X 10.6? I would like to be able to invoke a shell script with directly from Spotlight without opening up a terminal
Hi,
I am using the Apache commons logging library and log4j to generate my log files.
Now I want to create a new file every time I run my program. The current count should be appended to the log file's name.
For example:
program_1.log
program_2.log
program_3.log
Do you know how I could achieve this?
It is weird that app shows two table views when I run the app. I have several values on my table view. I scroll down a bit then I see another table that have same values starting at the end of previous one. It is so weird that I took a look at my xib file , there is only one table view.. What am i missing?
I can't figure this out and I thought that someone might run through the same thing.
I have XCode 3.2.3 (Pre Release with OS 4 beta) and I started to create my application, after the final touches and everything worked ok, I changed the Simulator - 4.0 to Simulator - 3.1.3 (latest iPhone OS) and I could never start my app again :-(
Does anyone know what I should do?
I created a simple Screencast of the problem so everyone can see what I'm writing about.
Thank you for all the help.
Hi.
I want to run some commands every time a user of an ubuntu 9.10 machine logs out or shuts down. What is the best way to do this? Every user uses gnome if that helps.
I've implement my activeX control in Delphi. I've build a c# application to embed it. It runs fine on my computer. After that, I copy and paste all c# solution with the my ocx file to another computer, register by regsrv32.exe succeed, add to COM components on visual studio toolbox, compile and run again. It consistently complains '
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
What's problem I'm dealing with? What may I do wrong?
Possible Duplicate:
A puzzle - a program printing its own source
In your favorite programming language, write a program that, when run, will print out its own source code!
Sounds interesting, now let's go!
ps: Literally, there is "NO" use case for this, just plain curiosity!
Hi,
I've been searching for ways to run a GTK+ application on a browser.
WebKit and its associated GTK+ port seem to do the opposite - making applications more Web-friendly, but the opposite would also be nice.
There seems to have been some activity to realize that for XCode, with Cappuccino and Atlas, that can translate NIB files into CIB files.
If anyone can point me in the right direction, I'd really appreciate it!
Thanks!
mike
Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks.
Hello guys.
I have a problem.
How i can run my java-applet directly without embedded in my web page?
I know appletViewr can execute applet without a browser but I need to get java applet without html page.
Hi everyone,
I am writing an application for Windows Mobile 6.1, and I would like the application always run on landscape mode, regardless of the screen rotation. Does anyone have any idea?
Thanks :)
I love running as a standard user for its security pluses, my admin account is password protected.
The problem appears when I need to run a program that requires admin rights, is there a way to include the password somehow so I won't have to type it every time ? Without changing my current setup: admin password protected account and I log on to a limited standard user account.
I'm thinking of script or something like that ?
We have splitted our grails application into several inplace-plugins.
Now we want to have the tests in the same plugin like the classes which they test.
Is it possible to configure our application (e.g. in BuildConfig.groovy) so that the tests in the plugins are executed too when we run "test-app"?
hi
i got this error:
CLR Error: 80004005
when i try to run my C# program on Windows XP.
when i try to install FrameWork 2.0 - i got this error:
there is a problem with this windows installer packege.
what can be the problem ?
thank's in advance
I have a PHP script that I don't want anyone to be able to run through their browser.
It sends emails and is called via curl by my server's cron, yet needs to be in the public www directory. What permissions or owner do I need to set the file to to allow only my server's curl to execute (or do I mean read) the file?
I'm on centos.
Thanks!
Hi
I can open a .dot template from a hyperlink fine,
but it opens read-only and does not run the autonew macro.
Is there a setting or something obvious Im missing?
thanks
DD
Newbie here. I have this code:
while (v < 360)
{
v +=10;
RunIt();
// need to wait half a second here
}
How do I wait the 1/2 second? Also, if this isn't asking too much, I'd like this to run repeatedly until the user clicks on the form. Thanks in advance.
Hello Everybody
I was thinking that WinForms are classes as any other classes. But starting form project get me confuse. Why new Form start with Application.Run and what kind of mechanism happen inside of it ?
I have a jar that runs forever (infinite loop with socket listening thread) and need it to run in the background at all times. An example would be: "java -jar test.jar" How do I do this? Thanks in advance!
In Java, to create and show a new JFrame, I simply do this:
public static void main(String[] args)
{
new JFrame().setVisible(true);
}
However, I have seen many people doing it like this:
public static void main(String[] args)
{
EventQueue.invokeLater(new Runnable()
{
public void run()
{
new JFrame().setVisible(true);
}
});
}
Why? Are there any advantages?
I cannot run/debug only a single unit test using Ctrl + R, T after installing Resharper 5 (used to be able to do that before). It now runs all of my unit tests. Any idea what is going on?
Suppose I want to run the following method foo() once every hour in Grails:
class FooController {
public static void foo() {
// stuff that needs to be done once every hour (at *:00)
}
}
What is the easiest/recommended way to set up such cron-like scheduling in Grails?