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.
Hi all,
Sorry if this is a noob question, I searched quite a bit and couldn't find an answer.
I'm developing a html5 app that relies on sqlite for local storage.
I'd like for it to appear as an app icon on the iPhone/Android screen, what's the best way to do this? Ie can I write some sort of "wrapper" app to achieve it?
Thanks!
What is the best way to get statistics for an entire subversion repository and display some of them on a web page? Example. Total number of commits today, this month etc, most active committer etc.
We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We'd like to generate our test data ourselves from these files. Is there an easy/free way to do that?
Edit
There are apparently no free tools for this, and I agree that OxygenXML is one of the best tools for this.
Hello!
Please let me know what is the best way to determine composition of young generation memory promoted to old generation, after each young GC event?
Ideally I would like to know class names which are responsible say, for 80% of heap in each "young gen - old gen" promotion chunk;
Example: I have 600M young gen, each tenure promotes 6M; I want to know which objects compose this 6M.
Thank you.
My table looks like this with duplicates in col1
col1, col2, col3, col4
1, 1, 0, a
1, 2, 1, a
1, 3, 1, a
2, 4, 1, b
3, 5, 0, c
I want to select distinct col1 with max (col3) and min(col2);
so result set will be:
col1, col2, col3, col4
1, 2, 1, a
2, 4, 1, b
3, 5, 0, c
I have a solution but looking for best ideas?
I am involved in a project where I need to provide subset of our production data (for a date range) to one of my co-workers for trouble shooting. I would like to scrub the data and insert this in to another table. Please suggest best approach to achieve this
I have several uitextfields within a view and I would like to disable the uibutton until all the fields have something entered into them. What's the best way of doing this?
Ideally, I'd like to do some basic validation (make sure all entries are numbers) too.
My application runs on windows XP restricted user account. The application needs Domain Name, Admin User ID, Admin Password in order to work out with Impersonation class for executing some piece of code with admin privileges. The Admin will also change the Password every 90 days.
Due to security reasons, i cannot maintain the admin credentials in my app.config file.
What else would be best idea ?
I've decided to teach myself C# by writing a music player in Visual Studio 2010. I went with WPF because from what I hear it sounds like it will be a good base to skin from.
I want to program my window with the behavior where if the window comes to the edge of a screen (within 10px or so) it will snap to the screen edge. What's the best way to go about this?
If user is not logged to facebook then clicking on Like Button opens a popup window prompting for user to login. I don't want that popup to display - hence the best would be to not show Like button for visitors that are not logged to Facebook.
Is it possible?
I have a pdf page displayed with CGContextDrawPDFPage.
I want to keep this page shown and have an image slide in from top over this page, just as it can be seen in the iBooks application.
It's a book, the sliding image is a bookmark that slides in when you are about to close the book.
What is the best way to go about implementing this?
Hi,
Which is the best solution to communicate bidirectionally between a
remote server and a client behind an internet box?
UPnP with Sockets.
HTTPS/Database Server and the client make 1 request every Xsec to know
if there is new data.
Client opens 1 connection on the server and it maintains open to make a
tunnel.
Thanks in advance for your help
I am developing a Delphi application that needs to pick up the rows from a period of work and convert them to a single XML file in order to upload to a 3rd party web-service.
Is there any component or library available to do that? If not, what is the best approach of code to build that DB2XML conversor?
I noticed that most XML questions are about how to convert it to another type of data.
Note: the database will be MySQL or Firebird.
Considering the fact that all applications will interact with the web project (which will use the cloud or web services)..
Is there any way to share my class models between applications?
If yes, what is the best way to do it?
About sending / receiving data from the Webservice, serialize and deserialize, how can I do this in a simple way without having to manually populate the objects?
Any information about this applications would be really helpful!
Hi,
I am trying to do some text classification with SVMs in MATLAB and really would to know if MATLAB has any methods for feature selection(Chi Sq.,MI,....), For the reason that I wan to try various methods and keeping the best method, I don't have time to implement all of them. That's why I am looking for such methods in MATLAB.Does any one know?
hi,
I've a question about how to customize drupal modules avoiding hacks.
Let's say I've downloaded Lightbox2 module and I want to change the javascript file to display differently my lightbox.
At the moment I'm modifying the Lightbox2 module, so I cannot update it anymore, so I know it is not the best practice.
I was wondering if I can customize the javascript file of this module with a hook, and how.
Thanks
Dear all,
I need to generate a vector of random float numbers between [0,1] such
that their sum equals 1 and that are distributed non-uniformly.
Is there any python function that generates such a vector?
Best wishes
I've want to match any occurrence of a search term (or list of search terms) within the tags of a document. My current solution uses preg (within a Joomla plugin)
$pattern = '/matchthisterm/i';
$article->text = preg_replace($pattern,"<span class=\"highlight\">\\0</span>",$article->text);
But this replaces everything within the HTML of the document so I need to match the tags first. Is this even the best way to achieve this?
We're currently using Acegi 0.5.2 plugin for Grails 1.2.1. However, we're going to move our user management to external CRM. What would be the best way to link existing Person domain with external CRM entity?
Which Visual Studio Color Theme do you use?
Do you find that the darker themes work best for you? Do they help ease your eye strain?
What is your favorite color theme & where can I get it?
let say i want my corporate server to communicate with google app engine vise verse. I know that gae do not support JMS,RMI etc. what is the best alternative for this kind of communication?(i think http get is not suitable for this kind of communicate) use task queue? both my corporate server and gae application using spring framework
Need to know how to execute this in the best way possible so that the suggestions will load really quick and secured. I want something like how the Related Questions works here after typing a question title.
Thanks
See i have just completed my Secondary level exams and have long holiday which i want to utilized in something. What should i learn? i want to go in computer field in future. so which is best now in my level to learn.
Please suggest me i am 16 year old boy.