fprintf(file, "%d %d %d", array[0], array[1], array[2]);
for this statement to work i have to open the file in 'wb' mode rather than 'w' mode . How does a binary mode make the syntax work?
When you unplug an external monitor with a higher resolution that your macbook from your laptop, the windows mostly retain their width, but their size gets clipped to the (smaller) height of the macbook screen. When you plug the monitor back in, their size remains frustratingly small.
My question is: is there any way that I can iterate over all open windows, save their size, and restore them once the monitor gets plugged in again?
If you have a handle to a Spinner object in an Android activity, can you programmatically pop open the spinner options - thereby forcing the user to choose an option even though they did not click on the spinner themselves?
we build newsletter module,
and send email to members.
The environment is LAMP.
Are there any way to know whether member open the mail ?
i hear about put image if 'php' source ,
what is the best way?
I have several projects open in an Eclipse workspace. Like so:
com.harbl.project.one
com.harbl.project.two
com.harbl.project.three
I would like to export those as JARs in a batch such that I wind up with the following JAR files:
./com.harbl.project.one.jar
./com.harbl.project.two.jar
./com.harbl.project.three.jar
Is this possible with one of the Eclipse wizards or working sets? Is my only option to export each one individually?
I've looked at free javascript html editors, and I haven't found any that I feel handle links intuitively. I like the way the gmail editor does it (also the same way blogger.com) does it.
Does anyone know if there is an open source editor that handles linking that way? Jquery would be preferable.
I have a menu with two levels, the second level shown in the secondary menu.
How can I open the second menu level programmatically from pages other than those linked in the menu?
I've looked at theme_preprocess_page and others but can't figure out how the change the menu item state from collapsed to active.
If i publish an open-source project, is it enough to add a LICENCE.txt file to the package or do i need to copy and paste it on top of every project's source file?
On public repository like github or google code i saw mixed things and i'm curious on how this legal aspect should be handled correctly.
Hello
I have IWebBrowser2 ctrl embedded into my own dialog. I want to simply
display a promo banner within it from my url. How to disable all popup
menu items from the control and force it to open links in new window
(currently when I click on link in the banner, it is being opened
within the same control).
Regards
Dominik
I having trouble getting pop-up window in IE. I have used following code. Its works fine in Firefox but not in IE6.
Code:
com.google.gwt.user.client.Window.open(url, "Admin ",
"menubar=no," +
"location=false," +
"resizable=yes," +
"scrollbars=yes," +
"status=no," +
"dependent=true");;
Any Help greatly Appreciated
Is there any good open source SQLite database manager around?
I am using sqlitebrowser now but I have to say the interface is not really friendly so I am looking for something better.
ALTER TABLE can easily take a few days - and during this time there's a non-negligible chance of connection getting terminated due to network problems. Is it possible to start ALTER TABLE (or CREATE TABLE ... SELECT ...; or some other very long running query) and leave it running without keeping connection open all the time?
(the obvious solution of screen + console mysql client won't easily work as there's no ssh running on that server, only mysqld).
I have an application where I can launch a modal dialog box over a main window. The main window has some network activity going on in background which updates my background UI. Due to this the application menu becomes accessible even if the modal dialog is open.
How can I avoid this? Any help is appreciated.
I am using Mac, Qt, Carbon.
hi all,
i have a swf xml in which i have a link tag like
<item id="google_link" link="http://www.google.com" target="_blank" />
even the target="_blank" is given but the link is opening in the same window, is there any other way to open the link in new window or new tab.
Hi,
I want an open source/free tool which can test the schema, data, user defined functions, views and stored procedures between two different databases or two different versions of the databases. I am using MySQL database.
Currently I am using DB Solo which is a 30 day trail version.
Thanks in advance.
Hello
Please suggest me a good open source web crawler written in C++,JAVA or PHP.
i just need to crawl/index some specific websites for specific contents(images,text,videos).
i know that their are already a lot of question & answers about this topic on this website
but i am a little confused after reading all of them.
So i am sorry if i am repeating the same question again.
-Thanks in advance
I want to make an "Open File" button to import txt files contents into a textarea.
How can I read the file contents without uploading it to the server?
I want to use javascript (with jquery lib) and I want to do it without refreshing the page.
My first day using this IDE...
is there a way to configure the IDE to open files in the project by double click? It is rather painful having to drag files from the project overview into the editor window.
I have a window I'm opening with a Javascript function:
function newwindow()
{
window.open('link.html','','width=,height=,resizable=no');
}
I need it that once the new window opens that the focus returns to the original window.
How can I do that?
And where do I put the code - in the new window, or the old one?
Thanks!
As the title suggests, is there any way to filter the “Open Resource” dialog based on path? For example, so I can navigate to c/foo or d/foo without having to up/down through the {a,b}/foo?
Why is still C99 mixed declarations and code not used in open source C projects like the Linux kernel or GNOME?
I really like mixed declarations and code since it makes the code more readable and prevents hard to see bugs by restricting the scope of the variables to the narrowest possible. This is recommended by Google for C++.
For example, Linux requires at least GCC 3.2 and GCC 3.1 has support for C99 mixed declarations and code