instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to use stored function from Oracle Express database in c# application.
OdbcCommand com = new OdbcCommand("SILNIA",sqlConn);
com.CommandType = CommandType.StoredProcedure;
OdbcParameter sqlParam = new OdbcParameter("@ReturnValue", OdbcType.Int);
sqlParam.Direction = ParameterDirection.ReturnValue;
com.Param... | stackexchange/codereview |
If i use mciSendString (winmm.dll) and try to read file that contains spaces (for example F:\MUSIC\(01) [VA]01.StimAxel - Restart(DJ X-VenomRemix).mp3) i got an error with code 263.
mciSendString can't work with files that contains spaces. How to avoid this problem?
Pcommand = "status \"" + path + "\" length";
int... | stackexchange/codereview |
I noticed that vector.begin() will return a const iterator, or an iterator based on what is given on the left. How is something like this implemented since the arguments given to the function are the same.
Thanks
| stackexchange/codereview |
I have a solution file for a command line executable. I want to run my executable, with different inputs, through the debugger without my interaction, while also setting its output to a log file.
For example, this is sort of what I want:
devenv /DebugExe "myprogram.exe" "my inputs"
That loads VS and automatically s... | stackexchange/codereview |
Is there any way that I can actually use the cookies from a cookie container (taken from a WebRequest previously) and use them in a WebBrowser control? If so, how would I do this? This is for a Winforms application in C#.
| stackexchange/codereview |
I have question about 301 Redirect please:
example:
http://stackapp.com/post/35642
to:
http://google.com/posts/index.php?q=http://stackapp.com/post/35642
Note: I want to redirect all posts.(Not just the ID = 35642 post)
| stackexchange/codereview |
I am having problem putting data into controls on wpf TabItem.
I have defined several DataTemplates in xaml. Here is one of them:
<Window.Resources>
...
<DataTemplate x:Key="memoTab">
<TextBox Name="memoTextBox" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AcceptsReturn="True" />
</DataTemplate>
...
</Win... | stackexchange/codereview |
I want to convert nullable decimal to primitive decimal.
How to do this.
I have done some googling and found System.ComponentModel.NullableConverter as one of the solution. But I am not able to figure out how to use it.
decimal? offenceAmount = 23;
decimal primitive;
primitive=offenceAmount; //
Please help.
| stackexchange/codereview |
I have a MFC GUI app that has multiple frames (sort of like Outlook'ish behavior with main window, and message/appointment windows being created in new frames, or Skype like multi frame syncronization), and I need to PostMessage malloc'ed data through the window hierarchy.
Say, I get the string, _wcsdup it, PostMessage... | stackexchange/codereview |
I'm trying to specify a route configuration that will allow a url similar to:
/{any sequence of characters}/{any sequence of characters}/{mexid}
We're currently redesigning an old system that used URLs of the previous format. Our new system has to catch these requests and redirect them to a new URL, but only if there ... | stackexchange/codereview |
I am having a modalpopupextender which has a gridview. I can load data's and populate the grid but can't retrieve the selected row values to the particular text box in the parent aspx file.
| stackexchange/codereview |
I was wondering if anybody knew of any good Perl modules and/or Java classes for sentiment analysis. I have read about LingPipe, but the program would eventually need to be used for commercial use so something open-source would be better. I also looked into GATE, but their documentation on sentiment analysis is spars... | stackexchange/codereview |
hey i`d like to know more about asm, im totally new and i dont know anything about it yet and i would be very happy if someone could like explain it to me or show me a good video.
thanks.
| stackexchange/codereview |
I'm trying to alter some code so it can work with multithreading. I stumbled upon a performance loss when putting a Runnable around some code.
For clarification: The original code, let's call it
//doSomething
got a Runnable around it like this:
Runnable r = new Runnable()
{
public void run()
{
//doSome... | stackexchange/codereview |
I would like to set a daily or partial word count target in MS Word 2007?
It seems that only a total word count is displayed, or a count for selected text. But not a count which displays current words typed against a target, e.g 500 (current)/1500 (final)
thanks
| stackexchange/codereview |
My class needs two properties: startTime and endTime. What is the best class to use? I know there is NSDate, but I only need to store a specific time (something in between 00:00-23:59), I don't need a date. What is the most elegant solution here?
| stackexchange/codereview |
Generally, the top menu will list out sub-category's name, I want to list out sub-category's image. Can anyone advise the php code.
Thank you
| stackexchange/codereview |
I'm building a button in my code behind file and want to bind the click function to an existing click function of a different button. How do I handle this? I was hoping for something simple like:
Button b = new Button();
b.onClick = otherClickEvent();
but apparently that's not doable. Am I missing something here. ... | stackexchange/codereview |
If there is no DTD or schema to validate the H5 document against, how are we supposed to do document validation? And by document validation, I mean "how are we supposed to ensure our html5 documents are both syntactically accurate and structurally sound?" Please help! This is going to become a huge problem for our indu... | stackexchange/codereview |
I am relatively new to asp.net environment.
Recently working on a project, i discovered a problem
i.e. I had to add using system.io to all file functions in any page. same for using sql functions
i.e. any method for that namespace had to be used in full like
System.IO.FileStream fs = null;
in place of
FileStream fs ... | stackexchange/codereview |
This code written as it is in a simple page generates an [object] as I needed.
function jsFunction(){
var arr=document.all("camp");
alert(arr);
}
HTML:
<input name="ctl00$MainContent$_basicDataControl$_winProbabilityPopUpControl$_winProbabilityControl$_groupWinProbabilityQuestions$ctl00$_groupPercentage" type="text... | stackexchange/codereview |
I am setting up a grid-enabled cluster. I plan to assign 2 IP to my head node: one for local connection (LAN for distributing jobs to compute nodes) and one for public (internet for user access). So, my /etc/hosts file looks something like this:
111.111.111.111 myserver.whatever.com myserver #for public IP
11.11.11.11 ... | stackexchange/codereview |
I am developing a webpart in SharePoint. I am using windows authentication for logging into any of my web applications. I need to obtain the actual login name of the currently logged in user. I know that it could be obtained easily by SPContext.Current.Web.CurrentUser.LoginName.
But, the pitfall here is that if at all... | stackexchange/codereview |
How would you write a function in C which does an atomic compare and swap on an integer value, using embedded machine code (assuming, say, x86 architecture)? Can it be any more specific if its written only for the i7 processor?
Does the translation act as a memory fence, or does it just ensure ordering relation just on... | stackexchange/codereview |
Using jQuery I use the selector and the each function to itterate through named elements of an XML string.
e.g.
$("<xml><elem></elem><elem></elem></xml>").each(function()
{
alert("processing elem tag");
});
This works fine in FF/Chrome/IE<8 but in 9 fails. Presumably something in the IE doc no longer allows this.... | stackexchange/codereview |
When trying to add a new table with some columns I get this error when trying to save it. I received this error on two different computers with version 9.0. Any ideas why this is happening? I get the error with the Navicat IDE as well as PGAdmin.
| stackexchange/codereview |
I have difficulties to understand some concept in VS.
My aim is to develop a simple WebSite. Website will have two main section: CMS and a BLOG.
I would like develop CMS and BLOG as different Web Projects in different time.
Now I understand in VS I can have a single Web Solution where I can place both Web Projects.
Wha... | stackexchange/codereview |
My console application attempts to write an integer to the console:
int i = 170;
CString cs;
cs.Format( L"%d", i );
wcout << cs << endl;
I expect "170" to be written to the console, but what happens is "00E21280". This is the address. I have verified that "170" is saved at that memory location. Any ideas?
| stackexchange/codereview |
Pinch and zoom is way too violent of an animation need to turn it down a notch.
| stackexchange/codereview |
This seems to have most started since I upgrade my DBIx::Class and I can't figure out what I'm doing wrong.
Use of uninitialized value in sprintf at /opt/perl-5.10.1/lib/site_perl/5.10.1/DBIx/Class/InflateColumn/DateTime.pm line 192.
at /opt/perl-5.10.1/lib/site_perl/5.10.1/DBIx/Class/InflateColumn/DateTime.pm line 19... | stackexchange/codereview |
I have a simple piece of text inside a div tag as follows:
<div id="text">Value
<a href="/actual/link/incase/user/has/JS/turned/off" id="change_value"/>
</div>
I then have this javascript
$('change_value').observe('click', function(event){
$("text").update("something here!");
event.stop(); // Prevent link from fo... | stackexchange/codereview |
Please visit my page.
And if you click other tabs, you'll see what my problem is. The tab DIV will go over the line of my wrapper.
I tried to figure out if there's any option to add scroll or not, and there is not!
Also tried to set the height value to DIV of tab. But it didn't work.
What I want is to add a scoll IN th... | stackexchange/codereview |
I was wondering, does Intel C++ compiler have bounds checking available? I am working with tons of code evolving for ten years now, and in desperate need for debugging and refactoring. I need any help I can get.
| stackexchange/codereview |
I have been looking at different methods of detecting the pitch of a tone sung into the microphone.
Seeing as I want to find how closely it resonates with a particular pitch class, I wonder if I could do some sort of physics-based resonance algorithm.
If you hold down to sustain pedal on the piano, and sing a tone i... | stackexchange/codereview |
im loading files inside two divs at the same time: #ajax_id and #ajax_col, the problem is when i make another link from inside one of the loaded divs, other links wont work anymore... this is my code:
$(document).ready(function() {
var api = $('#ajax_in').jScrollPane().data('jsp');
$('.aj4x').bind('click', functi... | stackexchange/codereview |
I have a button inside a update panel, & I am using jQuery scripting to style the elements in the page. Initially the page loads & css style applies on it along with the script which have some jQuery code. i.e. Initially everything is OK. But when I click on the button it causes a server post-back(necessary), the CSS s... | stackexchange/codereview |
I am building a web app and have noticed that other web apps (gmail in particular) use cookies and it logs you out if you don't have cookies enabled. Any idea what these cookies are used for that they are so crucial? Are there any common uses for cookies in web apps?
| stackexchange/codereview |
Does anyone knows something about "World" being reserved or built in class with that name?
when I try to construct the World class I've created it throws compile error:
1136: Incorrect number of arguments. Expected 2.
But I've million times checked, there are no arguments expected at all, all package naming, variable... | stackexchange/codereview |
Hey, I'm currently trying to extract information from a 3d array, where each entry represents a coordinate in order to draw something out of it. The problem is that the array is ridiculously large (and there are several of them) meaning I can't actually draw all of it.
What I'm trying to accomplish then, is just to dra... | stackexchange/codereview |
Ok, so after a day of messing about with various things such as Fink, Macports, Pecl, etc. I have managed to install the oauth.so module on OSX.
However, I use MAMP locally, which I think uses its own version (i.e. in its own location) of PHP, and the module has installed to the main system version of PHP?
So I have r... | stackexchange/codereview |
Would there be any difference If i do the following without using exceptions?
void func()
{
try
{
if (n > 5)
{
throw "n is greater than 5";
}
}
catch (const char *e)
{
MessageBox(0, e, 0, 0);
return;
}
}
OR
void func()
{
if (n > 5)
{
... | stackexchange/codereview |
What does Warning: strpos() [function.strpos]: Empty delimiter in mean?
I have this:
if(strpos(''', $text) === false)
{
$text = str_replace(''', "'", $text);
}
| stackexchange/codereview |
How to convert a number printed in a string into integer?
Thank you.
| stackexchange/codereview |
I want to write a pointer in c++ (or in c++0x), that will points to a operator of a class lets say A or B.
Is there any method to do it?
Of course there is a syntax like
int (A::*_p) ();
but it doesn't solve this problem. I want to make general pointer, not specifying the base class for it - only pointer for "operato... | stackexchange/codereview |
Am using RichTextBox in a C#/Winforms application.
Am showing some text in this control which has got some UNC file paths embedded into it:
for example:
filePath= "\\serverName\DirName\File"
Richtextbox shows this file path as a clickable hyperlink in the UI.
filePath= "\\serverName\DirName\File.doc"
I want to show i... | stackexchange/codereview |
I have a form which on submit should see if the text area has no text or the place holder text.
iif it does it shouldn't submit it. something like validation. I am not able to stop the form submission.
$(document).ready(function () {
var options = {
target: '.user-status',
// target element(s) to be... | stackexchange/codereview |
My application has some screens support landscape mode which load some more data and have to re-render GUI, and one of them will load another view in landscape mode. But its seem the screen would be rotated before re-rendered or load another view, it is not nice looking.
So it would be better if there is an animation ... | stackexchange/codereview |
I am trying to post data to server that accepts compressed data. The code below works just fine, but it is uncompressed. I have not worked with compression or Gzip beofre, so any help is appriciated.
HttpWebRequest request = WebRequest.Create(uri) as HttpWebRequest;
request.Timeout = 600000;
request.Method = verb... | stackexchange/codereview |
I'm having a annoying problem with a C++ function that I wrote and whose purpose is to validate de user input. The function reads the user input, verifies if it's a number and, if so, if it is in the range [min, max].
The problem occurs when I invoke the template function with a unsigned type, like size_t, and the inpu... | stackexchange/codereview |
I have a simple iPhone app based on a navigation controller. There are two view controllers, VC1 and VC2, both with table views. VC2 also has a custom table cell. When a user selects a row in VC1, VC2 is pushed on to the stack. When the user selects the back button it's removed. Typical navigation stuff.
The problem I ... | stackexchange/codereview |
My intention was to enable multi-lingual interface only for drupal built-in interface ("my account", "administration", nodes, commenting and so on) without any additional prefixes, which relies only on user language preferences. But it just doesn't work.
Following this tutorial, I did this:
I installed 'internationali... | stackexchange/codereview |
I got two views:
Displays some common information about an entity
Displays more details about this entity
The second view has a link back to the first one. To create the link I need some informations, lets say two ids ("id1" and "id2"). Theses ids are passed to the controller of the second view by request parameters.... | stackexchange/codereview |
I'm trying to pass a c# variable as an argument to a java-script function like
<%var count=model.SomeMode.Count();%>
when i pass it to my java script function "checkAll(count)" it does not fire but without the argument its workin fine
<a href="#" onclick="return checkAll(count);">CheckAll</a>
| stackexchange/codereview |
In the Project Settings tab of the project properties page there is an option called Collation for database model.
There is also an option in the project settings (the .sqlsettings file) called Database collation.
And then in the Deploy tab of the project properties page there is a link to the Deployment configuratio... | stackexchange/codereview |
Sorry if this seems obvious to the non-noob. Is it faster to:
Recreate an object instance each time someone goes to a page during a session
or
Store the object instance in a session variable when it first gets created, then always grab it from there when the page is accessed again
I'm not sure if this will turn o... | stackexchange/codereview |
i have to change my form close button tooltip from "Close" to "Other text", does anyone know how can i access that button, so i can perform the switch?
| stackexchange/codereview |
after searching days for a solution solving my errors,
I want to share the whole problem with you. Maybe somebody have a better Idea to solve this.
My Project uses a TabViewController to switch between Views.
For every Tabview I load a separate class File to make it more clear.
All the Content I need for the views come... | stackexchange/codereview |
I've had a small problem with splitting a String in java as follows:
System.out.println(dexListMod.get(selNum-1).getClass().getName());
String dexListTempString = dexListMod.get(selNum-1);
The first line prints the class name of the Object returned from the index of selNum -1 in the Vector dexListMod. This outputs th... | stackexchange/codereview |
I am getting the value from web service like ><& etc. I want to replace the character and parse the value. How to decode all the special characters?
My values are:
Article detail response<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi... | stackexchange/codereview |
I'm using a certain lib (libeay32). How can I statically build it into my exe so separate .dll is not needed?
Also, is it possible to do the same for vc++ runtime?
thanks...
| stackexchange/codereview |
i have:
user facebook data (
https://graph.facebook.com/btaylor )
facebook application data (
https://graph.facebook.com/2439131959
)
Is somehow possible to get if user is application administrator in facebook with this in my hands?
| stackexchange/codereview |
How can I search some particular character on the entire database with IBexpert?
For example:
I have some "'" (') in some part in the data of the tables and this is getting me an error later on, and I have many tables to search manually... How can I do it?
Thx
| stackexchange/codereview |
I have a project with many DecimalFields that are rendered in more than 300 templates. I would like that these decimal fields are rendered normalized. I don't care about precission or anything:
decimal.Decimal("10.0000").normalize()
I haven't found a way to change default rendering system. I know there is a humanize a... | stackexchange/codereview |
http://www.dutchlandrollers.com/Sponsors/OurSponsors/tabid/105/Default.aspx
The right module overlaps the content one in Firefox/Chrome displays fine in IE. I'm not much of a DNN maven, so any help would be much appreciated.
| stackexchange/codereview |
I'm trying to do something very simple: animate a bunch of sprites so that, no matter where they are on the stage, they all go toward a single point (in this case, the center of the stage).
It only works for some of them. Some of them just sit there. I can't figure out why. I think its got something to do with atan2 an... | stackexchange/codereview |
I recently wanted to deploy my Rails app on heroku but wanted to shield it from the outside world until I had tested it on the heroku itself. In order to shield it I have used authenticate_or_request_with_http_basic. However after having passed through the basic authentication and wanting to login (login system using... | stackexchange/codereview |
Put simply, how can I completely disable Replace mode in vim? I never use Replace mode, but I sometimes end up in it by accident when re-entering Insert Mode. Naturally, I goof up by typing over a few characters before realizing I am in replace mode. So, is there any way to completely disable Replace mode, whether thro... | stackexchange/codereview |
site.com/page1.php?a=1&b=2,how to replace a=1 to a=3? and get a new url string.
| stackexchange/codereview |
I'm using the Facebook iOS SDK and Facebook Graph API. When I request "me", which should return all the properties of the current user, I'm only actually getting a small subset of the User object. What am I doing wrong?
I'm also not getting the Allow / Don't Allow dialog when I log in, but perhaps that is because I am ... | stackexchange/codereview |
I made a project in Netbeans 6.8 and added a third-party library which included some nativelibraries. When I made a JAR of my project, only the third-party JAR was included; its nativelibrary was not. Therefore, I am unable to run my project.
How can I resolve this issue?
| stackexchange/codereview |
I've made my own class which extends AbstractTableModel. The idea is to be able to store a hidden "id" collumn. The following code works well for this purpose:
public class GuiTableModel extends AbstractTableModel {
List<Object[]> rowlist = new ArrayList<Object[]>();
List<String> colNames = new ArrayList<String>();
... | stackexchange/codereview |
I have been working on a UI app (written in VB.NET and using WPF) which creates charts using the Microsoft Chart Control for Windows Forms. The application retrieves data periodically from a remote database, parses and formats the data to create series, and then creates a chart based off the series which is then hosted... | stackexchange/codereview |
I've set up a CustomValidator with a ClientValidationFunction as:
<asp:CustomValidator ID="CustomValidator1" runat="server" Display="Dynamic" EnableClientScript="true" ClientValidationFunction="checkClients" ErrorMessage="You must select at least one client or staff" SetFocusOnError="true"></asp:CustomValidator>
I... | stackexchange/codereview |
Hi, I want to get into test automation, and the two tools I found during my first web search are Selenium and Jmeter.
Which one do you think is the first to have a look at? Or do I need both tools as they're totally different?
What I would need is the possibility to do Clientside-Certificate-Authentication, filling for... | stackexchange/codereview |
CodeIgniter is giving me a Disallowed Key Characters error. I've narrowed it down to the name attribute of a form field: name='prod[50-4121.5]' but I'm not sure what to do about it.
| stackexchange/codereview |
Problem originated while using SoapUI to validate xml response data. I transfered the problem to XPath Visualizer so I could work through the issues.
Using an Xpath query I want to return the b:AccountActivity node that has the child node b:ActivityDescription value equal to
'7.75000%10/30-11-10 $1602' from the x... | stackexchange/codereview |
Does anyone know the best way to get a file handle to dependency declared in a POM? I realize that there is a dependency plugin, but we are trying to avoid the cost of copying the artifact to the local directory (The file is big).
| stackexchange/codereview |
It seems that when you try to append multiple into a table in IE using ExtJs (Sencha) InsertHtml function, it will only create the first .
Example:
<script>
Ext.get('bob').insertHtml('afterEnd','<tr><td>blih</td></tr><tr><td>bluh</td></tr>');
</script>
<table>
<tr id='bob'>
<td>blah</td>
</tr>
</table>
You will... | stackexchange/codereview |
I have a problem in Java using Enums.
I have read the documentation about assigning value parameters to Enums.
But, my question is what about multiple values, is it possible?
This what I would like to achieve:
I have an Enum for languages. Each language is represented by its name and some shorter aliases (not always, a... | stackexchange/codereview |
I'm developing a tool for XSS checking, using the Webkit WebView and Macruby. This works great, except that occasionally Safari's XSS filter catches my URLs and refuses to execute evil scripts. Is there a way to disable this functionality, preferably programatically?
| stackexchange/codereview |
When I'm writing Excel files with jxl and use your own cell format, I get this warning: The maximum number of formatted cells has exprired. Using default format". I have about 350 cells that need to be formatted, which seems relatively little to me. Am I doing something wrong? I use loops to set my cell format. Or is ... | stackexchange/codereview |
I'm a regex newbie, please help me out. The string below occurs in one document:
not_unique\">20,000 miles under sea
I need to extract the number. The sequence "not_unique" is not unique and may occur in the whole document several times before this sample comes. The part "miles under sea" is unique for the document, ... | stackexchange/codereview |
I'm searching for a way to export all HTML test suites from one dir to Bromine. Is there any way of doing it from commandline? We already have lots of test cases in HTML format and converting it one by one from Selenium IDE feels like wasting time.
Any ideas how to do it better?
edit:
input - .html testcase from seleni... | stackexchange/codereview |
I'm developing a website with Codeigniter that's probably going to relate and connect with multiple services and frameworks:
Magento for e-commerce
Wordpress for Blogging
Maybe Buddypress for more social features
Mailchimp for Newsletter delivery
I shouldn't forget about Facebook Connect, I guess...
Maybe it's a mess... | stackexchange/codereview |
I am working on a dice game for WP7 that involves multiple rolls per turn. During the CPU's turn, I need to slow down the processes so the user can see what's going on. After digging around a little bit, I've found that DispatchTimer can be used in this manner.
Problem is, I have no Idea how this works. Looking at ... | stackexchange/codereview |
I know there are 100's of countdown timer scripts in JavaScript but I have not found one yet that will do what I need so I am hoping the experts here might be able to help.
Basically what I am looking for is a script that will countdown from one holiday until the next like in this example.
Thanksgiving is in: 12 Days... | stackexchange/codereview |
I've recently started learning how to use MFC in Visual Studio. My program uses many small 32x32 pixel images that for convenience are put together in one large .png. I've figured out how to load the big image into a CImage and display it on a CClientDC, but I can't find anything that helps me split the image into th... | stackexchange/codereview |
Using Adobe AIR + related technologies, is it possible to detect the URL of the active tab/window of the active browser?
For instance, if my user is surfing in IE8 on www.example.com/subdirectory/, can I retrieve that data for use in my Adobe AIR RIA?
| stackexchange/codereview |
I am running Android SDK 2.2 and am trying to get the adb to connect to the Google Nexus One phone. Its a new phone, shipped straight from Google - haven't installed any apps on it yet.
(I have Windows XP)
Here is what I have done so far:
Followed the instructions on setting up the device for development as given on t... | stackexchange/codereview |
I know I'm missing something fundamental, but I'm at a lost. After looking at the factory_girl site, I've installed the factory_girl_rails gem in Gemfile:
group :development, :test do
gem 'webrat'
gem 'rspec'
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'annotate-models', '1.0.4'
gem 'spork', ... | stackexchange/codereview |
I need a script to edit files. Im going a bit crazy about this already :).
I've got two files:
143956;lorem
143957;ipsum
143958;lala
143959;vuvu
and second
512;143956;15
2156;143957;15
153;143958;4968
2156;143959;486
And what I need is to put those two files together in this way:
512;143956;lorem;15
2156;143957;ipsu... | stackexchange/codereview |
For a social network site, I have an activity of events from people you follow, and I'd like to group similar types of events made within a short timeframe together, for a more compact activity feed. Imagine how Facebook displays a comma separated list when you 'like' several things in rapid succession: 'Joe likes beer... | stackexchange/codereview |
I wanted a program which could list all the contents available in a directory. I found a nice code in java2's.com,
http://www.java2s.com/Code/Java/File-Input-Output/ListingtheDirectoryContents.htm
And here is the code,
import java.io.File;
import java.util.Arrays;
public class Dir {
static int indentLevel = -1;
... | stackexchange/codereview |
I had to extract the 2nd parameter (array) from an onclick attribute on an image, but jQuery just returned a function onclick and not its string value as expected. So I had to use a native method.
A quick search says it may work some browsers like FF, but not IE. I use Chrome.
<img src="path/pic.png" onclick="funcName(... | stackexchange/codereview |
How can I export a RAW device for database use using NFS or CIFS?
| stackexchange/codereview |
Im looking for a way to move a object (a banner) as a string to a textarea so that the user has it easy to copy past its content:
var object_sting = $('<div>').append($('#customized_banner').clone()).remove().html();
$('#customized_banner_code').attr("innerHTML", object_sting);
I'm trying to solve it with these two li... | stackexchange/codereview |
I have a data set that has two tab delimited columns that I plot in a simple XY axis. The independent variable (x axis) is duration in minutes. What I want is to plot this in hours instead of minutes. How would I apply this scaling in gnuplot while plotting?
| stackexchange/codereview |
I'm working on a windows form application and I want to have a rich text box display the status of events that are firing based on different objects. I want to be able to format the items as they come into the rtb using the rtf property so that they can be easily distinguished from each other by changing font weight a... | stackexchange/codereview |
I have a weird issue with the ErrorTemplate. I created a WPF MVVM application. I am using a ErrorTemplate and the IDataError interface to show errors. On my form I have some controls that are collapsed in a stack panel. When I show the controls the error template is not showing but the error functionality is working... | stackexchange/codereview |
I'm working on an MFC Visual C++ project. As I understand from MSDN, _CrtDumpMemoryLeaks() should return TRUE when there are memory leaks.
After noticing it is TRUE, I tried to find the first point in the code where it becomes TRUE. Evidently, it is TRUE right from the very start. If I click F10 (step-over) to start de... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.