When using start /max program_name to start a bunch programs, how to focus on each program when it opens. For now, it open focus on the first program, and launch others on the back. thanks.
We are about to roll out a client server application build with java web start. Our main server is located in a country in Europe and we will have many users downloading our client the first day from all over the world. Since the client application is quite big in MB our wan will be utilized a lot. Is there a way to cache or pre- distribute java web start clients to servers "closer" to the user (for example a local server)?
Thanks.
Hi all
I need an interface that can be run firstly when the application start.
We can write some code in Application_Start of global.ascx.
Is there any other method to finish it after some configurations in web.config,i don't wanna write any code in global.ascx
You know,we can implement the Interface 'IHttpModule' to diy each request.
But the interface is not fix to application start.
which one is i wanna?
Thanks
I am going to start a project of my own, which will be ASP.NET MVC + Fluent NHibernate. I want to use test-first approach as much as I can. So, where exactly do I start from? Database schema? Domain model? Mapping domain model classes to the database?
I simply want to create an automatic script that can run (preferably) on a web-server, and simply 'clicks' on an object of a web page. I am new to Python or whatever language this would be used for so I thought I would go here to ask where to start! This may seem like I want the script to scam advertisements or do something illegal, but it's simply to interact with another website.
Sorry for asking, I hope you guys can provide me with some ground to start on!
Hi,
i'm getting this error when i start LAMPP:
XAMPP: Couldn't start MySQL!
I tried with sudo /etc/init.d/mysql stop but nothing..
Any idea?
Regards
Javi
Can I automatically start and terminate my Amazon instance using Amazon API? Can you please describe how this can be done? I ideally need to start the instance and stop the instance at specified time intervals every day.
I'd like to do had a dynamic number of one start/end time pairs passed to a function as an input parameter. The function would then use the list instead of just one start, and one end time in a select statement.
CREATE FUNCTION [dbo].[GetData]
(
@StartTime datetime,
@EndTime datetime
)
RETURNS int
AS
BEGIN
SELECT @EndTime = CASE WHEN @EndTime > CURRENT_TIMESTAMP THEN CURRENT_TIMESTAMP ELSE @EndTime END
DECLARE @TempStates TABLE
(StartTime datetime NOT NULL
, EndTime datetime NOT NULL
, StateIdentity int NOT NULL
)
INSERT INTO @TempStates
SELECT StartTime
, EndTime
, StateIdentity
FROM State
WHERE StartTime <= @EndTime AND EndTime >= @StartTime
RETURN 0
END
Existing related questions here talk about differences between:
Delegate.BeginInvoke and Control.BeginInvoke
Control.BeginInvoke and Thread.Start
But what are the differences between Delegate.BeginInvoke and Thread.Start?
INPUT:
fofo jojo tst
fojo jofo sts
rhr hrhh dodo
jojo hoho jojo
zozo roro vovo
OUTPUT:
fofo jojo tst
fojo jofo sts
rhr hrhh dodo
jojo hoho jojo
zozo roro popo
NOTE: Please help me, I need to shift all rows, which have first column empty. Every fields are tab delimited. In this file some rows start from first column, but some rows start from second or third column.
Thank you
When I do on my app.js Debug As > Node Application it says
Launching STANDALONE_V8 has encountered a problem.
Failed to connect to Standalone V8 VM
connect timed out
It should start an app. Doing so directly on my terminal works fine.
When I start a debug session in my terminal and than try to debug it in Eclipse works fine too.
So is there anything that has to be done in order to make it work in Eclipse?
I use Emacs v. 22 (the console version, either remotely with PuTTY or locally with Konsole) as my primary text editor on Linux. It takes a while to load up each time I start it though, probably almost a second, although I never timed it. I tend to open and close Emacs a lot, because I'm more comfortable using the Bash command-line for file/directory manipulation and compiling.
How can I speed up the start-up time?
I'm looking to write a comparator to sort my items in a list.
For items without an end year they should be at the top.
For items with an end year they should be next.
For items with the same end year the one with the lowest start year should be next.
Something I have so far
[item.get('end_year'), item.get('start_year')]
Test sceanrios first is end year second is start year ("" is present)
"", ""
"", 2012
"", 2011
2012, 2005
2012, 2008
2011, 2011
2010, 2005
hey every one
can some one help that , how can start XML and Html and what i have to start first and what steps should I take , and because I know Objective c as iphone programmer but i what to know more about web base application so please some one help me with steps should I take and as beginner?
thanks
I'm looking into creating a GUI program for Windows in C++, I have a good knowledge of C++ in the command line and also in game creation. But I'm not sure where to start with GUI application development.
I have Visual Studio 2010 and have created new projects with a GUI but these templates are complex and leaves me not understanding whats happening and how to modify it.
So I'm asking where do I start? Preferably good websites that you can recommend or tutorials, rather than books being a poor student :)
Hi,
I am basically working on unix and c programming.
i want to start learning Pro*c on unix.
Is there any good online tutorial which will help me start writing simple programs in pro*c and compiling those Pro*c files.?
Thanks in advance for your help.
Can I have a SQL query to get the data from columna in tableA whose values don't start with 'f' ?
For example:
select * from tableA where columnA
where values don't start with letter 'F'.
As part of my test automation, I have to start Selenium Server on my server.
As of now I am manually executing a batch file to start selenium server on m,y machine.
Batch file contains the following command.
java -jar selenium-server-standalone-2.16.1.jar -role hub http://server.com:5555/grid/register
But as I required it for my test automation, I want to automate running the selenium server on a remote server from my C# code. How do I do this?
When I am running
myProcess = Process.Start("something.exe")
and want to start it using button it doen not find the file - i need to execute it from the same folder where application is how can i do that? Thank you.
System could not find this file - but it is there . in the same folder as application.
Using Visual Basic 2008 Express
Howdy,
I can start Gvim and be positioned at a line
gvim file1 +10
or I can start Gvim and have 2 files in tabs
gvim -p file1 file2
is there an invocation which does
gvim file1 +10 file2 +20
the above opens with file1 at line 20, file2 at line 1
I want file1 at 10, file2 at 20.
Thanks,
Kent
What's the best way to get a ul to start from 'x'?
The start tag is depricated and everything I have found on Google has used the :before pseudo class which doesn't work in IE6 or 7. Didn't have much luck when searching stack either.
Only thing I can think of is manually go through and number the lists myself and style accordingly?
Any help appreciated.
I am auto creating scheduled tasks with this line within a batch windows script:
schtasks /Create /RU SYSTEM /RP SYSTEM /TN startup-task-%%i /TR %SPEEDWAY_DIR%\%TARGET_DIR%%%i\%STARTUPFILE% /SC HOURLY /MO 1 /ST 17:%%i1:00
I wanted to avoid using specific user credentials and thus decided to use SYSTEM.
Now, when checking in the taskmanagers process list or, even better, directly with the
C:\> schtasks
command itself, all is working well, the tasks are running as intended.
However in this particular case I would like to have an open console window where I can see the log flying by.
I know I could use
C:\> tail -f thelogfile.log
if I installed e.g. cygwin (on all machines) or some proprietary tools like Baretail on Windows. But since I only switch to these machines in case of trouble, I would prefer to start the scheduled task in such a way that every user immediately sees the log.
Any chance?
Thanks!
In the past month or so I noticed that lsass.exe has started to leak memory, getting to 500MB+ of ram in under a week after reboot. Before this I had never noticed it using any significant amount of memory compared to other processes on the system.
This is happening on 2 identical servers, neither of which has anything to do with Active Directory.
Maybe a recent Windows Update has caused this? Any thoughts on things to check?
As a side question is there some way to recycle the memory usage of lsass.exe without rebooting?
Edit:
Here is what I'm seeing in Process Monitor, there are thousands of registry open/query/close a minute from lsass.exe. How can I track down what is triggering these?
Windows 7 64bit.
I am using ProcessExplorer from Sysinternals, and it says, that the offending call is
ntdll.dll!RtlValidateHeap+0x170
however, the call stack towards the entry is always different, so it's hard for me to track the problem. Maybe it's a mal-programed trojan, causing exceptions in Explorer.exe, but that is only a wild speculation.
Explorer.exe is then consuming 25% (a core on a dual core). Killing the process makes the task bar go away, respawning from task manager, and half a minute later it's again eating all CPU cycles.
Hello,
I was working at my server, when in htop I just noticed something unusual.
The syslog-ng process was listed as follows
supervising syslog-ng
/sbin/syslog-ng
I don't know what it means. I tried to do man supervising but found nothing. supervising command doesn't exist too. Googling, I found a page about launchtool, but I can't find neither it or its man page in my system.
I'm curious
What does that executable/command/whatever do? Why today did I read that line in htop?
Thank you.
PS: I was unsure about posting this to SU or SF: even if it's a server-related question, it covers general Linux.