I am using Python 2.5. The Python logging module allows adding contextual information to your logging output. Is something similar possible in Python 2.5?
Is there any CSS property to deal window resolution. I created a HTML page taking total resolution width as 1424px.When I open it on different resolution I see a scroll bar & resolution of HTML does not adjust automatically. I don't want the scrollbar to be seen in maximized size of the page. Is it possible without using javascript.At the same time how to increase the resolution when itself is created in lower res.
I have some cs files in my project that are not set to be built (Properties - Build Action = None). They contain bits of code that don't compile as a whole and are there merely for reference. I don't care about any compilation errors in them, but they appear in the "Error List" window, cluttering it. Is there some way to tell VS to ignore errors in that file? Or in all files not set to be built, at that ?
I'm using VS 2010
Thanks
Hi All.
I'm using windows XP , hebrew version.
I am trying to save an AVI file using the Video For Windows API in C++, when I run the AviSaveOptions() function, the dialog opens as a thin unclickable strip at the corner of the screen.
Would it have anything to do with the language (Hebrew)? maybe with the vfw driver itself? what might cause a windows dialog window to be distorted/invisible?
thanks
Roey
Hello everyone, i'm looking for a way in python to run an external binary and watch it's output for: "up to date" If "up to date" isn't returned i want to run the original command again, once "up to date" is displayed i would like to be able to run another script. So far I've figured out how to run the binary with options using subprocess but thats as far as I've gotten. Thanks!
When calling help:effective-pom in some child modules position, the output prints wrong path.
some url like .../${groupId}/${some_other_sibling's_artifactId}/...
This is also make site deploy wrong.
Can anybody help?
How to disable ctrl+alt+del using c in window OS. I have use
SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, true, &bOldState, 0);
but it doesn't working for me, kindly guide me, so that i can make it possible.
I'm currently doing some data analysis on population data, so reporting the standard errors in the tables of parameter coefficients just doesn't really make statistical sense. I've done a fair bit of searching and can't find any way to customize the xtable output to remove it. Can anyone point me in the right direction?
Thanks a lot, I didn't post this lightly; if it's something obvious, I apologize for having wasted time!
Hello,
I want to run a program in linux without the X borders. It's a c++ program that uses a graphical library called GRX and when it is launched it runs inside a window.
Is there any way to "force" an app not to run in windowed mode? An exec, comand or something?
Cheers
I have an incoming data stream that is being converted with XSLT v1.0
that incoming data does not contain any date information.
what i would like, is a nice way of getting the current date to become part of the resulting output stream.
I am aware of the 2.0 current-date() type functions - unfortunately those are not available to this environment...
any thoughts/hacks/alternatives?
tia
How can you put a list of files to Vim's -o -mode?
I have a list of files as Grep's output.
I run unsuccessfully
1
grep -il sid * | vim -o
2
grep -il sid * | xargs vim -o
3
grep -il sid * | xargs vim
4
vim -o `grep -il sid *`
5
vim -o | grep -il sid *
i want to write the output of a qshell command to local data area so that it could be globally used by programs.is there some way to write from stdout file to local data area .I want it to be done through CL..its urgent thanks
We use a fucking ridiculous amount of goddamn bandwith man. It really pisses me off because now I have to fucking upgrade my goddamn account and my site doesn't make jack shit for money.
So how the fuck can I automatically reduce the whitespace and shit? I'm GZipping the output already.
Hey, I have a python application that opens some plots for me and then asks the user for input.
The problem is, that after opening the plot, the focus isn't on the terminal anymore, so you have to click or tab to it manually.
I would like to set the focus to the terminal window with python - is that possible?
I'm using gnuplot.py, maybe there is an option to open the plot in the background?
Thanks!
Hi all
i wish make little gui with pyqt4 that show the output of "dir c:\windows\" line by line
I'm looking for QlistView but i don't understand how do it.
Can anyone help me?
I am trying to change the titlebar of a window in Mac OS X. To be specific I am trying to this with firefox. And I want to draw/put a bitmap on the title bar and also min, max, and close buttons.
Also I found this file which might be helpful:
http://people.mozilla.com/~chofmann/l10n/tree/mozilla/widget/src/cocoa/nsCocoaWindow.mm
I can see that they have the code to do custom shading or color change.
Thanks
We have an application in which some views only work when attached to certain perspectives.
We want to remove those views from the Window - Show View menu so that users cannot add them to perspectives where they don't work.
Any ideas on how to do this either programmatically or declaratively?
I am currently developing a java program where I need to show the difference between two text.
Is there any library available for visually show the difference, that is the diff output in my java program or how can I do so. Any suggestion will be very helpful for me.
I have a column called "menu_order" which has no default value. When I select the contents of this column using the following select statement:
SELECT * FROM categories ORDER BY menu_order ASC
It lists the category items that have nothing as their menu order first and then the one's that have 1's and 2's and 3's. Is there any way to prevent SQL from take nothing to come before numbers when I am trying to list things in order?
So for example, if I have:
cat_name | menu_order
----------------------
Lunch | 1
Dinner |
And I perform my query, the output should be:
Lunch Dinner
Not:
Dinner Lunch
I am running a task on the CLI, which prompts me for a yes/no.
After selecting a choice, a vast amount of info scrolls on the screen - including several errors. I want to pipe the output to a file so I can see the errors - but a simple '' is not working since the command expects a keyboar input.
i am running on Ubuntu 9.1
hi every1. i have created a fb app that publishes my blog postings on my fb fan page. problem is when someone clicks the topic on the fan page it loads it on the same window instead of a blank new one. anyone knows how I can overcome this. i am using the old FB PHP REST client.
In Visual Studio 2010 I added Trace to Page_Load as explained here http://www.asp101.com/articles/robert/tracing/default.asp but I can't see any Trace output, why ?
public partial class _Default : System.Web.UI.Page {
protected void Page_Load(object sender, EventArgs e) {
Trace.IsEnabled = true;
Trace.Write("Hello World");
}
}
Hi,
I need to get a row based on column value just like querying a database. I have a command output like this,
Name ID Mem VCPUs State
Time(s)
Domain-0 0 15485 16 r-----
1779042.1
prime95-01 512 1
-b---- 61.9
Here I need to list only those rows where state is "r". Something like this,
Domain-0 0 15485 16
r----- 1779042.1
I have tried using "grep" and "awk" but still I am not able to succeed.
Please help me on this issue.
Regards,
Raaj
I am a new user of Java swing. I need to be able to create a popup with row info when the user clicks on that row. I managed to incorporate the mouseClick event reaction in my table class, and I have the row info available. But I don't know how to notify the main window about the event so it can display the dialog box/popup box. Can you help me?