instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I need to do something in regex but I'm really not good at it, long time didn't do that .
/a/c/a.doc
I need to change it to
\\a\\c\\a.doc
Please trying to do it by using regular expression in Python.
| stackexchange/codereview |
I am trying to attach a Image to Mail application using Applescript. But on 10.5 I am getting
NSAppleScriptErrorNumber = -1708 error. What is this error means?
Can anybody guide me with this?
Regards,
Sowmya
| stackexchange/codereview |
I want to write the regular expression in php for matching the line within a double and single quotes. Actually I am writing the code for removing comment lines in css file.
Like:
"/* I don't want to remove this line */"
but
/* I want to remove this line */
Eg:
- valid code /* comment */ next valid code "/* not a com... | stackexchange/codereview |
Been browsing through the posts similar to this one but none answered my problem.
Like CoreDataBooks, I use a separate MOC for adding and editing items and observe the proper notifications, like so:
- (void)addControllerContextDidSave:(NSNotification*)saveNotification {
NSManagedObjectContext *context = [self.fetche... | stackexchange/codereview |
I have a notification page. If you get new notifications (viewed column in the database is "0") then it gets highlighted.
I just need an smart way to know that the user has seen the notifications.
Right now it sets all the user´s notifications to viewed "1" (user has seen them) after the first time you go to "My notifi... | stackexchange/codereview |
Does anyone know how to determine determine the "Cross-Track Error"?
For those who are unfamiliar: You are driving along a line from Point "A" to point "B". When in transit, when you veer off that line, the distance from your current position to the line is the cross-track error.
I have a simple algorithm now which wo... | stackexchange/codereview |
We've got an EXE which works great for installing our application. However, we have multiple customers who are requesting an MSI for ease of deployment in their current domain.
If we use our existing EXE install process, can we wrap that into an MSI and expect good results? The EXE creates an "Uninstall" that is added ... | stackexchange/codereview |
I had taken from the database and sorted it according to the position. Then I had put the necessary datas into a Hash. After putting the data in hash and I printed the hash. But the result is in reverse order. So I want to reverse the hash. How can I do this?
| stackexchange/codereview |
I have an iPhone application which requires me to play a looping mp3 sound during the entire lifetime of app.
But based on some actions performed by user this mp3 should stop/pause for while & another mp3 should play & then this mp3 should resume playing again.
I havent really used any audio API on iPhone yet, I've jus... | stackexchange/codereview |
Let's say we have a billion unique images, one megabyte each.
We calculate the SHA-256 hash for the contents of each file.
The possibility of collision depends on:
the number of files
the size of the single file
How far can we go ignoring this possibility, assuming it is zero?
| stackexchange/codereview |
That is, will calling the following target when testSetupDone evaluates to false, execute the targets in dependency chain?
<target name="-runTestsIfTestSetupDone" if="testSetupDone" depends="-runTests" />
| stackexchange/codereview |
I spend most of my time developing controls for both WPF and Silverlight using the same codebase. To do this I add existing files from one project (say Silverlight) "as links" to the other (say WPF). For minor differences I use preprocessor directives like
#if SILVERLIGHT
...
#else
...
#endif
The code in these blocks ... | stackexchange/codereview |
Update: Microsoft have now reproduced the bug and are working on a fix.
Whilst evaluating the viability of the .NET platform for low latency software development, we have discovered a serious bug in the .NET 4 concurrent workstation garbage collector that can cause applications to hang for up to several minutes at a ti... | stackexchange/codereview |
When writing a C++ function which has args that are being passed to it, from my understanding const should always be used if you can guarantuee that the object will not be changed or a const pointer if the pointer won't be changed.
When else is this practice advised?
When would you use a const reference and what are th... | stackexchange/codereview |
I am trying to populate a table with the values taken from a flat file using SQLLDR.The problem is that one of the fields in the table is of CLOB datatype(lets say the field name is COMMENTS). In the control file, i have mentioned the datatype for this field as CHAR(4000), since the usage of CLOB in control file was no... | stackexchange/codereview |
Just after some quick advice. I want to create an interactive animated flash music website that involves the user being able to wander around a rehersal room and interact with objects.
Can anyone recommend a good 3d tool to use along with Flash. Ideally something that I can use Illustrator tpo draw the room/objects, ... | stackexchange/codereview |
Hoping to find somebody that has experience with services in windows.
I am trying to use the NdisProt driver for ethernet adapters in Delphi
my_Handle := CreateFile(PChar('\\.\NdisProt'),
GENERIC_WRITE or GENERIC_READ, 0, nil,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
(have tried with \\.\\NdisProt too)
After... | stackexchange/codereview |
Is there any way to restrict what types of files the yahoo mediaplayer plays? We don't want it to play flv files but we do want it to play MP3s.
Background
Yahoo provides a really nice browser based mp3 player in the form of a simple javascript include. It will find any link to media file on your web page and adds a ni... | stackexchange/codereview |
Having followed a tutorial I have a hashtable that contains a TcpClient object that matches with the string of a connected user. After reading about the pro's and cons of a hashtable it was recommended that using a Dictionary is preferred due to it being generic, thus more flexible.
From here an array is made that cont... | stackexchange/codereview |
Am a bit new to javascript. This question might sound a bit too silly, but I'm not able to figure it out why the following doesn't work in IE and works in firefox..
<select multiple="multiple">
<option value="tx" onClick="alert('tx');">Texas</option>
<option value="ak" onClick="alert('ak');">Alaska</option>
<option ... | stackexchange/codereview |
I want to have a while loop that launches a thread on each loop,
I am using the following to launch the thread, do I need to have a unique identifier for each thread or becuase it is launching from different loops will it launch ok, or will it overwrite the previous launch as they are using the same identifier?
while(x... | stackexchange/codereview |
Which of the following is more appropriate to use as an identification field in a database to represent a client, when two-way SSL authentication is used?
The client's X500Principal
OR
The thumbprint of the client's certificate
| stackexchange/codereview |
If you declare a property with a retain attribute, do you need to release the property before you set it to nil?
What does the @synthesize directive do?
| stackexchange/codereview |
Is an Android "Service" considered a process or a thread according to operating system?
| stackexchange/codereview |
I have found that if I am using jQuery masonry and also use jQuery to set the opacity of something, the opacity does not work in IE. The funny thing is that I have a div set to fadeIn, which also has an opacity value. The div IS translucent when fading in IE, but as soon as the fade has finished it just becomes solid. ... | stackexchange/codereview |
I have an small embedded UIWebView for my about-section of the app. When the user taps a link in there, the link opens in that small embedded UIWebView which of course has no navigation controls and isn't full-screen. I don't like that. Can I force it to open links with Safari instead?
| stackexchange/codereview |
I am trying to use the following code in my project. http://www.codeproject.com/KB/miscctrl/imapi2.aspx
However, When I run the application and click on "Detect Media" it says "Media not supported".
Can someone please help me with this issue. Why does it say Media not supported?
Thank you,
Divya.
| stackexchange/codereview |
I am trying to implement reordering rows in a Silverlight DataGrid. For this I am extending the default DataGridDragDropTarget, and I need to override and implement the following method:
protected override DataGridRow ContainerFromIndex(DataGrid itemsControl, int index)
{
}
How can I get the DataGridRow from the Data... | stackexchange/codereview |
I'm using boost::shared_ptr's and boost::dynamic_pointer_cast. I have a base class, an interface that inherits from that base class, and then a class that inherits from that one.
So A -> B -> C. I create an object of type C and it's stored as a shared_ptr of type A. Then I try and do a dynamic_pointer_cast to type B, b... | stackexchange/codereview |
How do I move a category to another category with all child categories?
I have tried the following solution:
$nodeId = 2269;
$parentId = 2268;
$tree = Mage::getResourceModel('catalog/category_tree')->load();
$node = $tree->getNodeById($nodeId);
$parentNode = $tree->getNodeById($parentId);
$parentChildren = explode(',... | stackexchange/codereview |
Say I have an array in NumPy containing evaluations of a continuous differentiable function, and I want to find the local minima. There is no noise, so every point whose value is lower than the values of all its neighbors meets my criterion for a local minimum.
I have the following list comprehension which works for a ... | stackexchange/codereview |
Hi
Maybe this look like ridiculous but this is problem at least for me
I wrote duplex WCF service, in my service I need to get active client service and save them, and when with occurred special event I call specific client and send some values for it. So I define dictionary and save client in that. (With this method... | stackexchange/codereview |
How can I get the bytearray data from an image that is under certain shape, for example a circule or square?
Let's say I want to modify ONLY the pixel inside this circule, how can I get this Bytearray data?
Any ideas?
| stackexchange/codereview |
Could someone enlighten me on how to upload files the RESTful way to a Rails application?
I experimented with curl to simulate uploading an image to a rails controller. At first I got authenticity token errors and so disabled them, and then tried
curl -F "uploaded_picture=@koi.gif" http://localhost:3000/photos/create
... | stackexchange/codereview |
On my site I want to play tick/click like sounds on mouse over (hover) or on mouse clicks. Can this be achieved?
I can do this in flash, but I want to avoid flash.
| stackexchange/codereview |
I have installed VisualSVN Server on Windows Server 2008. I was trying to create a hotcopy backup using svnadmin tool. It seems that I don't have this tool installed:
C:\>svnadmin hotcopy C:\Repositories\Develop C:\temp\svnbackup
'svnadmin' is not recognized as an internal or external command,
operable program or batch... | stackexchange/codereview |
I need to lock Windows Mobile Screen (without using default locking system) on perticular activity.
I have seen on web that developers are using SHDeviceLockAndPrompt or EnableHardwareKeyboard for achieving lock.
This will show default window lock screen. I need to show my screen with own checking of password with my o... | stackexchange/codereview |
I have the following code, but the alert box is not displaying.
try
{
do something..
}
catch(Exception ex)
{
Response.Write("<script>alert('"+ex+"')</script>");
}
If I use this code, the alert box appears.
try
{
do some thing
}
catch (Exception ex)
{
Response.Write("<script>alert(\... | stackexchange/codereview |
I have some Android code to stream an audio file from the internet and play the stream after 10 seconds.
I am using a SeekBar to view the buffering status and playing status. I want to play the audio starting from the middle of the buffered stream. For that, I move the SeekBar point to the middle, but I cannot play the... | stackexchange/codereview |
I have exported an array using var_export($var,true); and stored it to a file arraystore.php
When I include arraystore.php on another page and try to use the array it doesn't work? should it, or is there a way to import the var for use in the new page? Maybe serialising and sending as the constructor of the class in us... | stackexchange/codereview |
I want to create a computed column in SQL SERVER and set the formula to this
([Category] + '.aspx?ID=' + [Post_ID])
Not working though......what am i missing?
Category and Post_ID are current columns in the table
| stackexchange/codereview |
In a Document-based Cocoa application, handled file extensions are listed in the application's Info.plist file.
The application I'm building will require a loadable bundle for each type of file it opens. As such, I'd like the presence of bundles to modify the way my application registers itself as handling certain fil... | stackexchange/codereview |
I have problem when try auto download in another page that already been specify.
In current page, I have button to trigger to redirect page to download page, but I wish to download done automatic, even it don't done automatic. It can be done using link to download file. File name wish to download, transfer using querys... | stackexchange/codereview |
I have this url working in my code:
http://localhost:12345/home/index/<parameter1>/<parameter2>/<parameter3>/<parameter4>
I want to change my url to NOT to include the home/index (<controller>/<action>).
My current Global.asax entry is like:
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{param... | stackexchange/codereview |
I've got 2 applications (lets call them AppA and AppB) communicating with each other.
AppA is sending objects to AppB.
There could be different objects and AppB does not support every object.
An object could be a Model (think of a game, where models are vehicles, houses, persons etc).
There could be different AppBs. Ea... | stackexchange/codereview |
wondering if anyone can help me. I've been searching for a few days for help on how to publish photos to Facebook using the API. I came across the following script that seems to work for everyone however I am unsure how to connect this to a form where users can select the photo from their hard drive and upload it. Can ... | stackexchange/codereview |
Approach one.
if (graphType.equals("All") || graphType.equals("ALL"))
Aprroach two.
if ("All".equals(graphType) || "ALL".equals(graphType))
What is the difference between these two approaches?
Why the below one is better?
| stackexchange/codereview |
In the following code...
int i=5;
object o = 5;
Console.WriteLine(o); //prints 5
I have three questions:
1) What additional/useful functionality is acquired by the 5 residing in the variable o that the 5 represented by the variable i does not have ?
2) If some code is expecting a value type then we can ... | stackexchange/codereview |
I am working on one script in which I have to create one image based on given text.
Basically I have to place those texts on various places of the generating images.
Up to this my work done. Below is the code for that.
header ("Content-type: image/jpeg");
$handle = imagecreate(415, 588) or die ("Cannot Create image");
... | stackexchange/codereview |
I know this isn't a direct programming question, but who else besides programmers use Netbeans, so I figured this would be the best place to ask and actually get an answer. So, please don't close the question.
So what I want to get rid of, is the light green highlighting that happens to all Javascript in Netbeans:
http... | stackexchange/codereview |
I have written this function to delete the last node of a singly linked list.
The problem is, it is able to delete all the nodes except the first/starting node.
What is missing from this code snippet?
Please answer my particular problem.
#include <stdio.h>
#include <stdlib.h>
struct Node
{
char CharContent;
... | stackexchange/codereview |
So using Rails' REST resources routing, we end up with auto-generated routes that coordinate with Controller actions (I'll refrain from ranting about how I've replicated models twice, as well as relationships twice (as models and then as (often) nested resources; as well as actions twice (as I limit my resources with o... | stackexchange/codereview |
Despite using many sql databases before, I've never actually tried to develop an app with a database in the App_Data directory.
Until now!!
It's a small WCF service project, which has a sql express 2008 r2 database.
Working in VS there are no problems, I thought it would be as easy as deploying to a server (win 2008 wi... | stackexchange/codereview |
I'm looking for a 3rd party UI component library to be used in .NET 4.0 C# MVC2 web application.
When I google it, Telerik comes up all over the first google page. To be honest, I actually do like it a lot. So, I'm just wondering what are other alternatives out there? What are some drawbacks/problems that people hav... | stackexchange/codereview |
For some reason, my iPhone app doesn't ask the user for permission to use their current location when the app is installed from the App Store. Because of this, my app's location-based functionality doesn't work. I'd like to catch the error and re-trigger the functionality that asks the user for permission to use thei... | stackexchange/codereview |
i have a webservice and implementing that ,but when i get the array from this weservice its showing characters like this line brake in some keys.
I am trying to replace that with stringbyreplacing occurance of string but nothing happens.
Could anyone help me for this to replace this type of characters,show that... | stackexchange/codereview |
Tone marks above Chinese characters in latex / Combining Accents in unicode
My aim is to put tone marks above Chinese characters in latex, and google seems to not be letting on to the answer.
Is it possible to use combining accents with chinese characters or can they only be combined with certain characters?
I have tri... | stackexchange/codereview |
I have this Java GUI application which uses OpenGL and Eclipse RCP + SWT running on a Linux (Fedora 7) machine equipped with Pentium P or Core 2 Duo CPU. It supposed to run and accept user input for months.
After a few weeks of running the whole interface freezes without reason. Mouse is very slow and keyboard stops r... | stackexchange/codereview |
For a project, a developer sent us a JS file with code similar to this:
var myList = [ 1, 2, 3 ];
var a, b, c;
[ a, b, c ] = myList;
It works in Opera 10.30, and Firefox 3.6.x, but it’s not okay for Opera 10.60, and Chrome.
It’s just curiosity: do you have any reference or link that says this code is compliant to the... | stackexchange/codereview |
this is the index.php
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tbody>
<?php include 'header.php'; ?>
<tr>
<td class="row_2">
<!-- header_eof //-->
<!-- body //-->
<table class="main_table" border="0" cellpadding="0" cellspac... | stackexchange/codereview |
I'm diving into Ruby on Rails and I'm experiencing a weird bug, using Rails 3.0.1 and Ruby 1.8.7. Using the generated scaffold code, my "Show" action is getting called when I'm expecting my "Destroy" action to get called. Here's the code...
routes.rb
webappdotcom::Application.routes.draw do
resources :projects
ro... | stackexchange/codereview |
I have a list of Datapoints (List).
e.g
original list
(1,2)
(2,2)
(1,3)
(3,3)
(4,3)
(2,3)
(5,4)
I want a output list as
(1,2)
(2,2)
(3,3)
(4,3)
(5,4)
or
(1,3)
(3,3)
(4,3)
(2,3)
(5,4)
i.e I want to remove all the other points where X value duplicates.
One approach that I have is to loop through all the point and ta... | stackexchange/codereview |
I have a stored procedure that take many input parameters including an @userID.
Now, in the core of the SP I select from a view using the following Where close :
Where userID = @userID
This works fine. Now I want to pass multiple users to be able wo query it like this :
where userID in (1,2,...)
How can I pass the va... | stackexchange/codereview |
Is it available to open jquery Dialog Server Side From Behind Code in asp.net?
Please give me an example or a link for more information.
thanks.
| stackexchange/codereview |
when you upload files, you can then get the necessary data from $_FILES
files contains the list of file inputs, where each one has a field like [type]
for example:
Array
(
[file1] => Array
(
[name] => 'MyFile.txt'
[type] => text/plain //where does this come from?
[tmp_na... | stackexchange/codereview |
Are there any tools that show HTML5 tags inside IntelliSense?
What tools do you use to work with HTML5?
| stackexchange/codereview |
I would like to plot discrete values in MATLAB like this:
stairs() and stem() make similar plots but can I configure one of them to look like the image above?
http://www.mathworks.com/help/techdoc/ref/plottype-stairs.gif
http://www.mathworks.com/help/techdoc/ref/plottype-stem.gif
| stackexchange/codereview |
Short version:
Is it necessary or even possible for me to generate a new distribution certificate based on my existing private key, or is there no harm, both for new apps and updates to existing apps on the app store, to generate a new certificate with a new private key?
Long version:
It seems to me that there is confl... | stackexchange/codereview |
Ello all,
In my custom activity, when I drop an activity into the WorkflowItemPresenter, save and compile, my activity suddenly disappears and I have no freakin clue why. I'm probably making some noob mistake somewhere but, I'm not seeing it. I've gone back and made sure my code complies fine and deleted and re-added ... | stackexchange/codereview |
I might be asking a stupid/basic question but i had been confused about ANTLR AST building.
What i want to made is a kind of Boolean expression parser such that on parent nodes i have operator and its operands as children.
for instance, a sentence
( ( A B C & D ) | ( E & ( F | G ) ) )
should ideally be representing
... | stackexchange/codereview |
When setting issue estimates in JIRA, you can enter a string like "1d 2h 30m" and JIRA will translate this (I'm assuming) into a corresponding number of milliseconds.
Is there an available Java library that does this?
I'm using a Spring managed bean that takes a property indicating how often a directory ought to be pur... | stackexchange/codereview |
Is there a genuine way to access the a built-in camera from Safari intalled on an iPhone, iPad, or iPod Touch?
By genuine I mean no hack, no workaround, no extra app to install.
There is no flash capability installed on the web browser for those devices and I need to enable my users to, with their permission, be able ... | stackexchange/codereview |
I have installed the Boldy theme from site5 on one of my projects and have run into one major problem.
When browsing in internet explorer (8 or lower), the top dropdown menu gets displayed behind some other elements (main content slider, H1's etc.). I've tried everything from changing all the z-index's to fixed positio... | stackexchange/codereview |
I'm learning basic game programming using Ruby and Gosu. I've installed Gosu from RubyGems, and it is currently sitting in /usr/local/lib/ruby/gems/1.9.1/gems/.
The full path is /usr/local/lib/ruby/gems/1.9.1/gems/gosu-0.7.24-universal-darwin/.
When I'm working on my game script, I can execute the file just fine using ... | stackexchange/codereview |
I like doing part-time research in reinforcement learning. In recent years (up to 2009) there was a reinforcement learning competition held at rl-competition.org with some very interesting problems, but this seems to have been discontinued. I'd love to improve my skills and knowledge and measure it against other enthus... | stackexchange/codereview |
I am trying to get the path of a file that is within a sub-directory of the current directory in VBScript. The following does not seem to work?
currentDirectory = left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName)))
FileToCopy = currentDirectory & "\test\user.js"
Here is the entire code... | stackexchange/codereview |
I found this question on here:
PHP Soap Issue: Server was unable to process request. ---> Object reference not set to an instance of an object
I have a similar issue, only the WSDL is private, so I figured I'd try and get a basic timezone SOAP Client working.
The solution in the other question isn't possible for me to... | stackexchange/codereview |
I was trying to use Firebird embedded server with Microsoft Visual C# 2010.
so here is what I done till now:
Downloaded Firebird .Net Data Provider (Firebird Client v2.5.2).
Downloaded Firebird Embedded server (Firebird Embedded Server v2.5.0).
Added a reference to FirebirdSql.Data.FirebirdClient.dll to my project.
Ex... | stackexchange/codereview |
i am new to vaadin i have compiled 2 codes one is
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;
@SuppressWarnings("serial")
public class HelloWorld extends com.vaadin.Application {
/**
* Init is invoked on application load (when a user accesses the application
* for the first time).
*/
... | stackexchange/codereview |
I have a couple of sites that I will be developing locally then when done will upload to respective hosts.
I usually test out in Mamp, but this time will complete the whole site. I have had to move Wordpress sites to different directories before, which was a tad cumbersome.
Are there steps I can take during developmen... | stackexchange/codereview |
I know the question sounds a little funny.
I am trying to move down the list of array in my iPhone project.
I have an array of 100 items:
[0][1]...[99]
I would like to select index[0] today, index[1] tomorrow... index[99] 100 days from now. And then on day 101, back to index [0].
Maybe I need to convert NSDate and get... | stackexchange/codereview |
My workplace is connected via cable internet with limited up/downstream, so for load-testing a web application I am using a distributed approach:
An instance of jmeter-server (v2.4) is running on a remote linux box which has proper internet connectivity.
The controlling jmeter GUI (also 2.4) is running on my desktop.... | stackexchange/codereview |
ruby 1.9.2
rails 3.0.0
ruby-oci 2.0.4
activerecord-oracle_enhanced-adapter 1.3.1
for example
table named users(id:number(38,0), name)
user = User.new
user.name ='test'
user.save! # is successful
user.id # got nil
user.name # got 'test'
and in the database I have sequence named "USERS_SEQ" and worked well(nextval or... | stackexchange/codereview |
In order to do a LIKE search with PDO, I need to add the % to the parameter before passing it.
This works:
$qry = '
SELECT product_id
FROM cart_product
WHERE product_manufacturer_num LIKE :search_string
';
$sth = $this->pdo->prepare($qry);
$sth->execute( array("search_string"=>'%'.$search_string.'%') );
T... | stackexchange/codereview |
Possible Duplicate:
Oracle: how to UPSERT (update or insert into a table?)
Hi,
I have a table in which a record has to be modified if it already exists else a new record has to be inserted.
Oracle sql doesnt accept IF EXISTS, otherwise I would have done an if - update - else - insert query. I've looked at MERGE but ... | stackexchange/codereview |
I have created a Jython app and I would like to distribute it to my friends. I don't want them to have to install Jython by themselves. They'll just have Java SE (JRE) installed and I want to pack my application in a way that they will be able to run it just by double clicking on a file. The application is a desktop GU... | stackexchange/codereview |
I'm developing an app in C# targeting .NET 3.5. In it, I have 2 similar dictionaries that contain validation criteria for a specific set of elements in my app. Both dictionaries have identical signatures. The first dictionary has the default settings and the 2nd dictionary contains some user defined settings.
var d... | stackexchange/codereview |
I have one tableview having two sections. I want to navigate to next view by clicking on only one section. Other section should not go to the next page.
can anyone please help me for this?
| stackexchange/codereview |
A previous user of my old computer had managed to develop charting controls in a c# project using Visual Studio 2008.
Now, the computer has been replaced and I can no longer do this.
I have read that .net 4 is incompatible with VS2008 - but then I know that the charting was working before.
Does anyone have any ideas ho... | stackexchange/codereview |
here is link to documentation: http://php.net/manual/en/class.domdocument.php#domdocument.props.documenturi
But I do not understand is this setting a value that this object reveal, or is this setting that user can change ?
Has this value any effect on html parsing by loadHTML metod ? Can it by used to absolutize all re... | stackexchange/codereview |
I'm fighting a 'Too many connections' problem with my MySQL process and I've got to the point when
mysqladmin processlist -uroot -pXXXXX results in:
+------+------------+-----------+------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info ... | stackexchange/codereview |
I've read the previous post for this question, UIWebView - How to identify the “last” webViewDidFinishLoad message? but in fact I didn't get the answer very much.
what I need is to execute a script on the webView but after it finishes its loading completely.
I've tried to count the frames inside the HTML by reading it ... | stackexchange/codereview |
Title and tags should explain the question adequately.
| stackexchange/codereview |
I am trying to make use of Runtime.getRuntime.exec() command to copy a
folder from one location to another on sdcard.
But it seems like it doesn't work
Below is the code snippet where I am trying to copy the contents from /
sdcard/etc/data to /sdcard/etc/temp/
try
{
Process process = Runtime.getRuntime().exec("cp... | stackexchange/codereview |
Is the function Now() in ColdFusion case sensitive? Can I use now() instead of Now()?
| stackexchange/codereview |
Is it possible to copy to clipboard directly from Vim? yy only copies stuff to Vim's internal buffer. I want to copy to the OS's clipboard. Is there any such command in Vim or you can only yank stuff within Vim?
| stackexchange/codereview |
For our application, we log in notepad. We provided web URL to user to view log. We save file on file system. Our users are not able to open some of the log file. Can anyone help me here? we store text/xml inside the .txt file. we are getting following error while trying to see a log file
The XML page cannot be displa... | stackexchange/codereview |
I have a search page.
On clicking search it will show a jquery modal with processing image and redirect to results page.
I have download functionality also in the search page. If I select the download option,
the result may vary to 1 kb to 25 MB, and I can't put a timer to close the modal window.
Is there any way to f... | stackexchange/codereview |
I've got a Ruby project started with NetBeans, so the Rake file has been generated. Is there a way that I can run the project over the command line?
It runs fine when I use F6 through NetBeans, as does my automated test suite with Alt+F6. I'm essentially looking for something like...
$ rake run
Does this exist?
| stackexchange/codereview |
I have a SQLite database containing image data as a BLOB, and I am using the follow code to set the properties of an object, but I am getting major memory issues with the data, particularly on the data and w.wineImage objects, even though it looks like I am releasing everything correctly...
if(sqlite3_prepare_v2(databa... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.