instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I think in Windows 2000 the events logged are in binary format as compared to the XML format in Windows Vista. I want to know whether its possible for the event viewer in Windows 2000 to consume the events from ETW Trace in real-time. I seriously doubt whether that functionality is made available in Vista when the even... | stackexchange/codereview |
Ok so this one has me really confused.
I'm working on a HW problem, and discovered something that was really weird to me.
here is the function and call in question
int find_oldest_frame(int **a, int size)
{
int min = clock();
int **ptr;
int *ptr2;
int frame = 0;
int i;
// get address of pointer so we... | stackexchange/codereview |
I have n files and my program needs to merge the contents of all into an one file using threads and temp files (have to use tmpfile()). When creating a thread it has to merge 2 files into a temp file (temp1) then another thread will merge the next 2 files into another temp file (temp2) and so on, then in the next level... | stackexchange/codereview |
$mysqli = new mysqli("localhost", "user", "pass", "db");
$sql = "SELECT OrgNo, CompanyName
FROM ematch
WHERE CompanyName LIKE '%A%'";
$result = mysqli_query($mysqli, $sql);
while ($row = mysql_fetch_array($result))
{
print $row['OrgNo'] .'<br />';
print $row['CompanyName'] .'<br />';
}
... | stackexchange/codereview |
I'm trying to run the following code on a website to set up the height of elements in a webpage:
document.querySelector("#body").style.height = window.innerHeight - document.querySelector("#footer").offsetHeight;
It's part of a function, and all the other parts of the function appear to be working properly, but this s... | stackexchange/codereview |
This is my program.I want to have the button on north side of the frame but when i try to use the border layout gives an error defined at that line.
import java.awt.BorderLayout;
import java.awt.Component;
import javax.swing.*;
public class testt {
static JFrame jj=new JFrame("Test frame");
public static voi... | stackexchange/codereview |
I've got integration tests which I launch from Visual Studio 2008 Development Edition (they are executed as MSTest unit-tests, even though they are actually integration tests). I would like to do some profiling while the tests are being carried out.
In my case, I have an MSTest "ordered" test I'm running. I'd like to... | stackexchange/codereview |
I'm trying without any luck to include strings in my C++ Win32 API beginner project. The code won't compile if I define a string. What's going on?
Details:
I was working in Dev C++, but now have switched to Code::Blocks using the (default?) "Gnu GCC Compiler".
Here are the code cases I have tried, all similar, with ... | stackexchange/codereview |
Okay, the story is abit long but hope you can bear with me so that there could be some background to the problem:
I'm developing the registration section for a portal using ASP.NET and to make things nice,
I decided to use bPopup from here to load the registration page into the iframe of the calling page (parent page).... | stackexchange/codereview |
I have a WEIRD problem with Future.get() in Java. It returns always with an InterruptedException, however the weird thing is that the cause of the Exception is null, so I cant tell who interrupted me..
It gets even worse because I check before calling get(), and the job Future has to do is already done.
Here is the cod... | stackexchange/codereview |
I'm building an iPad app which renders pages of text from an NSAttributedString. I create a framesetter like this:
- (void)renderTextFromAttributedString:(NSAttributedString *)string
{
CFAttributedStringRef attrString = (CFAttributedStringRef)string;
framesetter = CTFramesetterCreateWithAttributedString(attrStr... | stackexchange/codereview |
I am particulary interested in the following suggestion from the official android FAQ.
A HashMap of WeakReferences to Objects
You can also use a HashMap of WeakReferences to Objects with Long keys. When an activity wants to pass an object to another activity, it simply puts the object in the map and sends the key (whi... | stackexchange/codereview |
I have a div with the contenteditable attribute set to to true, however, it does not show a blinking cursor or update when I type text into it. I've added event listeners for focus, keydown, and keypress to see if the div is receiving them, AND IT IS!
How could it be that all the appropriate events are actually firing ... | stackexchange/codereview |
The idea is that there's a list-box with items, and say you want to modify an item in the middle of the list. You select that item and click "Modify" button and a new form appears with the previously selected item data from first form ready to be modified in a text-box. After modifying and clicking Ok the second form s... | stackexchange/codereview |
So suppose I have two Models -- Project and Task
I want user to be able to select an existing project and assign a task to it.
This needs to be done in a task_form, in other words, I use Task Controller.
I know if it's a project form, I can simply create a nested form using
accepts_nested_attributes_for in my Project ... | stackexchange/codereview |
$hash_map{$key}->{$value1} = 1;
I'm just a beginner at perl and I need help in this expression, what does this expression mean? I assume that a new key/value pair will be created but what is the meaning of 1 here?
| stackexchange/codereview |
I am new to Ninject and trying to figure out the implementation. I am searching and reading, can anyone point me to some good examples and documentation specific to Ninject and MVC.
I can get the basics working, I am struggling with Bindings that have dependencies. For example, I have the following classes:
public ... | stackexchange/codereview |
Hi I am new to Android programming and Java. I have been searching for a good answer to this question for days. I have copied and pasted and tried my best to understand the code. I have a strong programming background in many different non OOP languages so I am super newish at Java. Anyways I was wondering if anyon... | stackexchange/codereview |
I am new to drupal. When i enabled the module i got tabs. when i selected google tab i got this error: warning: Parameter 2 to _auth_confirm_page() expected to be a reference, value given in D:\wamp\www\drupal-6.19\includes\form.inc on line 376.
plus i don't understand where i have to give the google api key.
the modul... | stackexchange/codereview |
translating from English to French for example
submit:
create: 'Create %{model}'
update: 'Update %{model}'
submit: 'Save %{model}'
would become
submit:
create: "Créer un(e) %{model}"
update: "Modifier ce(tte) %{model}"
submit: "Enregistrer ce(tte) %{model}"
What is the best way to implemen... | stackexchange/codereview |
Background:
I have a database table which is for received_msgs
The table has two columns
id, link_id
If The message is the first one in there (based on criteria) then its link_id is equal to its id.
If it is a reply to a message, its link_id is equal to the id of the message it is in reply to.
Question:
is there any ... | stackexchange/codereview |
What is the difference between fork() and vfork()? Does vfork() return like fork().
| stackexchange/codereview |
I have an optional argument that supports a list of arguments itself.
I mean, it should support:
-f 1 2
-f 1 2 3
but not:
-f 1
-f 1 2 3 4
Is there a way to force this within argparse ? Now I'm using nargs="*", and then checking the list length.
Edit: As requested, what I needed is being able to define a range of... | stackexchange/codereview |
I am using the TimeTracker.js from link text to track Page Load times and put them in Google Analytics. Basically what it does is record a start time, and once the page loads it records a end time and then subtracts. These are recored using (new Date()).getTime().
Everything works fine except for instances where the t... | stackexchange/codereview |
What is call context.
How it is Used.
(i tried to study it from msdn but not that much clear.
http://msdn.microsoft.com/en-us/library/w61s16a1%28VS.71%29.aspx
| stackexchange/codereview |
As an addon to the question I asked a few days ago here at sql-query-comparing-two-items-on-distinct-item would it be possible to remove the possibillty of null values where one of the 'pers' does not occur in the 'evt'.
Output
**EVT John Paul Difference**
A1 1 2 -1
A2 2 3 -1
... | stackexchange/codereview |
I'm building an application with the Dyninst API, and with a simple Hello World application have many many memory leaks. Dyninst is managing its own memory, in part, and I'm curious if Valgrind would report that memory as "leaked".
I'm using C++ and an not 100% comfortable with it quite yet, so if I forgot to include ... | stackexchange/codereview |
I'm building a small Flex UI component that displays a colored square next to a label of text. I want to be able to specify a size for the square and internally adjust the label's properties such that the line height matches the square and the text is vertically centered with respect to the square.
At the moment, I'm u... | stackexchange/codereview |
Does anyone know which directories are accessible for reading/writing from the native applications(C code)? I can create files in /data/data/mydir but not in /data/mydir.
The /sdcard is not accessible in anyway from c.
I appreciate all help/info/links to info etc.
| stackexchange/codereview |
I've got an XCode iPHone project setup with the following:
My App Delegate creates a dynamic tabBarController and adds two view controllers to it. One of them contains a TableView.
From that TableView, I want the user to be able to click the Blue arrow button on each item and get more details about it. It's a pretty ... | stackexchange/codereview |
I have a site with one textfield for search however I dont want the focus to be on it when the page loads however it is the only text input on the form, is it possible to remove the focus?
| stackexchange/codereview |
I have just started developing applets. I want to be able to pass (JSON) data from a javascript function, to a method in my applet.
Although I have searched, I cannot find a suitable example that shows how to do this. Can someone please either show a link to a resource that shows how to do that, or paste a few lines in... | stackexchange/codereview |
I m new to Cassandra..how to get
the old value of a column after the updation took place. when we update a column in cassandra db?
| stackexchange/codereview |
I have 2 MULTILINE text files, I want to combine them into a third file in an Msbuild script.
Ideally, I would have a token in one file, say %REPLACEME%, somewhere in the middle of that file, and I would want it replaced with the contents of the 2nd file (which contain multiple lines of text).
I want to do this in MSB... | stackexchange/codereview |
I have an HTML page that has a div that is position absolutely. I'm trying to write some Javascript that would dynamically move the div down whenever some data before it is generated. I've been playing with the .css jquery function but it does not appear to be working. Any ideas on how this can be accomplished?
I have... | stackexchange/codereview |
no 'object' file generated what is this?
I move my c++ code that for QNX, but when I move to VS, I don't know why there is such an error. There is no platform specified code, because I already use Macro to separate them.
I search on internet this question , no such solution, just tell me to turn it off. I want to know... | stackexchange/codereview |
I am having some trouble with parsing DNS Response. Following is my code. The following are the structures. I'm getting a segmentation fault in the printf(), where im trying to print QNAME.
I'm pretty amateur when it comes to C programming, so im not really sure where im going wrong. Any helps/hints or link to useful ... | stackexchange/codereview |
I have written this html, in Firefox, it displayed perfect what I want(the blue part is sticked to the bottom of the page). But in IE it didn't display right way, how can I modify the HTML so that the blue part can be at the left bottom of the page?
In addition, the red part is also not the same, can I modify HTML to m... | stackexchange/codereview |
First, sorry but my English isn't good
We need develop an app that lets an admin user manage banners, and these banners could be placed in the footer-body of the company's emails.
In the company they use Outlook and we work with C# .NET 3.5
I think in something like a listener than could catch the emails in some event ... | stackexchange/codereview |
I wrote a sample program with kill(pid, SIGABRT), but the process which receives SIGABRT does not create
any core dump. How can I get the core dump file by sending SIGABRT signal?
| stackexchange/codereview |
being used, c# asp.net css
are you sure you want to nevigate away from this page? all changes will be lost! yes no
do you really want to delete this?
possible conditions
- when user clicks the cross to close the tab of browser.
- when user clicks any link and has not saved the changes done on the lets say string ... | stackexchange/codereview |
I am trying to get my head around the concept of UOW and how I can implement it in my spring/jpa/hibernate app with DDD. I make my methods transactional, but how do I make sure that all the entities that have been changed in the transaction get persisted? Is it by using cascading collections or is there another way?
| stackexchange/codereview |
I recently fixed a defect in our product, the symptom of which was an access violation caused by accessing a dangling pointer.
For good practice I added a unit test to ensure that the bug doesn't come back. When writing a unit test I will always back out my defect fix and ensure the unit test fails, otherwise I know i... | stackexchange/codereview |
We're using MySQL to store schemaless data (see: Using a Relational Database for Schemaless Data for the solution inspired by how FriendFeed uses MySQL to store schemaless data).
One big table holds all entities for our application:
CREATE TABLE entities (
added_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
, i... | stackexchange/codereview |
I wish to determine when a point (mouse position) in on, or near a curve defined by a series of B-Spline control points.
The information I will have for the B-Spline is the list of n control points (in x,y coordinates). The list of control points can be of any length (>= 4) and define a B-spline consisting of (n−1)/3 ... | stackexchange/codereview |
I have a fixed content in my text view inside a scroll view. When the user scrolls to a certain position, I would like to start an activity or trigger a Toast.
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:id="@+id... | stackexchange/codereview |
I have a grid CALayer (with a parent NSView, enclosed by an NSScrollView) that contains a bunch of sublayers, each sublayer drawing an image. When I disable the shadows for the sublayers, the performance is great. However, as soon as I enable them, drawing starts to lag badly.
Are there any things I can do to improve ... | stackexchange/codereview |
The following code loops through files in "sourcepath" and copies them to "destpath". If they exist, they are renamed as "Copy of" the original filename.
Do I really need this much code for this? I get the feeling I'm doing way too much back-and-forth converting between strings and paths, but I'm not sure how else to... | stackexchange/codereview |
My incomplete understanding is that Twisted, Stackless, Greenlet, Eventlet, Coroutines all make use of async network IO and userland threads that are very lightweight and quick to switch. But I'm not sure what are the differences between them.
Also they sound very similar to Erlang processes. Are they pretty much the s... | stackexchange/codereview |
Im using OG and Views. Currently my views have to have a page display to show an event list for each group. So this means that every time a create a group I will have to create another page display in my view for another event list.
So Im wondering if I can just have 1 view with 1 page display that will show a specific... | stackexchange/codereview |
I have some hierarchical data in a Rails 3 applications. It allows the user to quickly drill down into the data set. I would like to prevent people from running bots successfully against this site with some sort of JS-based obfuscation. Has anyone done this before?
| stackexchange/codereview |
I have a layout that has a button I would like to always be on the bottom of the scree of my phone. The problem is android:layout_gravity="bottom" only puts it at the below the rest of the layout, rather than the very bottom of the screen. Is there a way around this?
| stackexchange/codereview |
The form is supposed to show an image, let someone rate it then save the info. However, when I click the submit button nothing happens. if I change the rating to a text box where the user enters a number it works perfectly, with radio buttons it stops working at all and I cant figure out why!
<?php // no direct acces... | stackexchange/codereview |
So I have written a function whose purpose is to fade an image from 0 opacity, to 1. It is meant to increase the opacity by 0.1 every 100ms, for a total duration of 1s. The function will call, and it will increase the opacity, but it seems to simply wait for 100ms and set the opacity to 1 straight away. Any ideas where... | stackexchange/codereview |
I have two (2) div elements in the body.
<body><div></div><div></div></body>
var haha = document.getElementsByTagName('div');
for (var k=0; k<haha.length; k++) alert(haha[k].tagName);
this returns 4 occurrences, I guess it's the close tags, how can I omit them?
| stackexchange/codereview |
hi i have a variable $word and I need to get the first list of the string it's holding. ex: $word = "guess";
$iso_string = "g";
| stackexchange/codereview |
I have a tree.There are category and sub category as you can see from the image.I want that categories will have the lower line but subcategories will not .Can you please help me how i can do this? from this javascript?
| stackexchange/codereview |
Markup:
<h:head>
<title>title</title>
</h:head>
<h:body>
<h:form>
<h:outputText value="#{viewScopeBacking.date}">
<f:convertDateTime timeZone="#{viewScopeBacking.timeZone}"/>
</h:outputText>
<h:commandButton action="#{viewScopeBacking.action}" value="su... | stackexchange/codereview |
I like to add a WebBrowser control as a Canvas background in WPF using C#. How do I do this? I have the following code at the moment. But does not work.
<Canvas
Name="canvas"
Grid.ColumnSpan="4"
Grid.Row="1"
MouseDown="Canvas_MouseDown"
MouseMove="Canvas_MouseMove"
MouseUp="Canvas_MouseUp"
Margin="0,0,0,... | stackexchange/codereview |
I'm having a few strange issues with the UIDatePicker. I checked the forums and I haven't had any luck with the answers supplied.
Say I pick a date, 20/11/2010 EN_AUS locale. When I NSLog it the date property is 2010-11-19 13:00:00 +0000. But when I format it and display in a label it appears correct, i.e. 20/11/2010?!... | stackexchange/codereview |
I use Runtime exec() method to create a subprocess in Java. However, since the subprocess is an interactive program, I need to provide input to it as and when required by it. Also I need to show the output of the subprocess. How can I do this in the simplest possible way?
I was using a StreamGobbler to show the program... | stackexchange/codereview |
I'm relatively new to both scala and jodatime, but have been pretty impressed with both. I'm trying to figure out if there is a more elegant way to do some date arithmetic. Here's a method:
private def calcDuration() : String = {
val p = new Period(calcCloseTime.toInstant.getMillis - calcOpenTime.toInstant.getMill... | stackexchange/codereview |
I've been looking all over for some mention of this, but I cannot find any substantial information on it. Is there a way to change the z-order of Swing components, or at least change the draw order so that they appear to be above others?
| stackexchange/codereview |
I am using Ubuntu 10.04 and have MATLAB installed on my computer. I wanted to know if there was any way to open .m file directly in MATLAB without having to go through the painful process of starting MATLAB, and navigating through folders to open up desired scripts.
| stackexchange/codereview |
I am currently reading the book Pro WPF in C# 2008, and I'm a newbie to WPF.
I basically have a questions regarding best practice, as I want to write code that is commonly accepted by other developers.
I see throughout the book, that the author uses different ways of closing tags for different purposes. I'll give an ex... | stackexchange/codereview |
I have a design where objects are simultaneously owned by 2 queues. Occasionally the queues themselves may be deleted. In this case, all objects in the queue must be deleted and removed from the other queue they are in.
The current solution has the owned objects knowing about the two owning queues, but this introduces ... | stackexchange/codereview |
Well, I've been at it for a while...trying to figure out an algorithm to insert my list of random numbers into a binary tree.
This is what I have gotten so far:
NodePtr and Tree are pointers to a node
NodePtr CreateTree(FILE * fpData)
{
int in;
fscanf(fpData, "%i", &in);
Tree T = (NodePtr)malloc(sizeof(No... | stackexchange/codereview |
In a php project I have the problem, that my provider doesn't allow me to set the memory-limit of my script higher. Therefore my script breaks if a user uploads a huge image file and I try to scale it down to safe it on the server.
My idea was to run an exec() command to use an external tool but did not find any exampl... | stackexchange/codereview |
this is my code and I have a do-while loop which should carry on unless the string "text" entered is "stop". However when I compile the code it doesnt stop and stuck in an infinite loop. Pease help. Thanks.
import java.io.*;
public class input
{
public static void main(String[] argv) throws IOException
{
... | stackexchange/codereview |
What's the quickest way to sort items by number of occurrences on a Linux terminal?
Ideally, I'm looking for a one-liner.
| stackexchange/codereview |
Is there a plugin to allow me to do this? It says here (XPath Compatibility Plugin) that the functionality was removed back in Jquery version 1.2 and the plugin it links is gone!
| stackexchange/codereview |
Exactly what it says on the tin.
Also is there any way to tell what is running inside the shell?*
I suppose I could do this by looking up finding process with matching parent pids* but is that portable to windows? And how would you look up current directory of a process given pid*.
*(most to least preferable) qt or kde... | stackexchange/codereview |
I've tried this help: Firefox Links to local or network pages do not work
AND: http://kb.mozillazine.org/Links_to_local_pages_do_not_work
I have ColdFusion app with an intranet. We have files that are coming off a network server path and a drive mapping. In Internet Explorer 8 the links work perfectly, either opening W... | stackexchange/codereview |
A coworker wants to one way sync several sharePoint calenders into his (one) Google calender.
I'm not sure if its possible to directly link the two (all the research i've done thus far says it is not(at least in 2007))
I feel most conferable with c# as the tool to do this but im not sure where to start
My idea was to d... | stackexchange/codereview |
I try to make a plugin for browsers in Mac OSX.
I got a CGContext from browser process.
So I can draw with it.
What I have to do is make a window for event handling someone advise me in this amazing site :)
I can make a transparent window easily but I can move that window proper position.
I know the size of window exa... | stackexchange/codereview |
I want to bind the scale of a CAConstraint so that a CALayer's width with respect to it's superlayer can indicate progress (of a QTMovie) based on a variable that I am updating in a scheduled timer method that fires every second. The width of the CALayer should be 0.0f when progress is zero and 100% the width of the su... | stackexchange/codereview |
All,
I'm working on an Flash AS2 project that consumes and sends JSON.
I'm using http://json.org/json.as to receive and parse JSON - it works great.
Here's the trouble - one of the requirements is that the app POST JSON to a web service.
In prior projects, I've used LoadVars.sendAndLoad() with fine results.
The problem... | stackexchange/codereview |
I have an app that is setting the contentView when images are clicked.This one from my main.xml loads the options.xml fine.
settings.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
setContentView(R.layout.options);
}
});
... | stackexchange/codereview |
Would it be possible according article
Get object out of List< Tuple < object1, object2 > > and store in ViewModel
to separate more than two tables using the tuple technique?
Goal: Joining 7 tables (for administration purposes).
| stackexchange/codereview |
i have a noob question.
I have a record in a table that looks like '\1abc'
I then use this string as a regex replacement in re.sub("([0-9])",thereplacement,"2")
I'm a little confused with the backslashes. The string i got back was "\\1abc"
| stackexchange/codereview |
I have been trying to install Passenger on a vps with the following:
CentOS release 4.5 (Final)
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8) box
Apache/2.2.11 (Unix)
Ruby Enterprise Edition
Ruby 1.8.6
Gem 1.3.5
I installed the gem
gem install passenger
when i run passenger-install-apache2-module I get the following ... | stackexchange/codereview |
This is not working for some reason. I'm not sure why:
objBitmap = new Bitmap(Resource1.im);
Stream stream;
objBitmap.Save(stream, ImageFormat.Bmp);
this.pictureBox2.Image = Image.FromStream(stream);
objBitmap.Dispose();
Basically, I need to show an image in a PictureBox cont... | stackexchange/codereview |
I have a site which allows users to make changes to content. How can I implement a rollback system? I'm using php and mysql, I was thinking of creating tables such as the following:
posts table --- posts_rollback table --- rollback table
The posts_rollback table would act as a lookup table. The posts table has a one to... | stackexchange/codereview |
In my application I've implemented such that pressing the hardware volume keys displays a Toast with the current volume. Things go well most of the times. However long presses of the volume keys do succeed in crashing my application. The Log generated on crash is the following :
....
11-19 06:43:22.114 I/NotificationSe... | stackexchange/codereview |
I googled this and still can't get it working
I have a WPF app and want to start from Main.xaml which is located in a different assembly. Both assemblies are in the same location.
How can I do this? I took out the StartupUri from the XAML and tried with these and some slight variations:
protected override void OnSt... | stackexchange/codereview |
Is eclipse 3.6 compatible for google apps? If not then what are the versions compatible for google apps.Let me know the latest versions which are stable to use for google apps.Can i know more about stable versions of google apps and eclipse
| stackexchange/codereview |
How to open second popup on first popup close event?
If I'm opening second modal popup on first modal popup event -
$divFirstPopup.modal({
onClose: function(dialog) {
$.modal.close();
$.modal('#divSecondPopup');
}
});
But second popup does not appear. Can anyone provide help on this?
| stackexchange/codereview |
For some strange reason every file I attempt to access in my WordPress installation inside the wp-content/plugins/ directory and underneath return a WordPress based 404 error. The files appear in directory listings...
like this: http://technologysolved.ca/wp-content/plugins/store-locator/js/
when other files types (.... | stackexchange/codereview |
In visual studio you have the nice designer that encapsulates a stored proc with a nifty little method. I totally love LINQPad and use it on a daily basis at work (haven't had a need to open up SQL Studio for my job since I've been using it!) and would like to call stored procs while using it.
I'm afraid I know the an... | stackexchange/codereview |
I have an EF model with a table with several foreign keys. These foreign keys are managed by associations. In code, I can get a strongly typed list of objects when I access that property on the object.
When I generate a strongly typed view, all I see are the int fields. Is there a way to get ASP.NET MVC to bind to t... | stackexchange/codereview |
I have visualforce page CompetitorSearch.page that use CompSearchDummy__c as standard controller.
<apex:page StandardController="CompSearchDummy__c" extensions="CompetitorSearch">
If I am to add custom button on the page of CompSearchDummy, CompetitorSearch.page shows up for the page destination.
But I have Talent pag... | stackexchange/codereview |
Often times it seems I have a list of items, and I need to add numbers in front of them. For example:
Item one
Item two
Item three
Which should be:
1. Item one
2. Item two
3. Item three
In vim, I can press I in edit mode, insert "1.", hit escape. Then I go to the next line, press ., and then ^A to increment the num... | stackexchange/codereview |
How do you use a .p12 certificate on Android?
I tried adding it at Menu/Settings/Location and security.
When I do this the certificate disappears from the SD card but when I go to the website that needs the .p12-certificate I just get a connection error.
The certificate, password, and URL are all good. I triple checked... | stackexchange/codereview |
<script src="JQuery/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="JQuery/jquery.autocomplete.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#<%=(GVOperatos.Footer.FindControl('txtEPFNo')).ClientID%>").
autocomplete('Search_EPFNo.ashx... | stackexchange/codereview |
I am trying to populate the values into check box. I want check box to be checked when there is value stored in database.
This is my code in form:
$form ['test_1'] = new Zend_Form_Element_Checkbox('test_1');
$form['test_1']->setLabel('test1')->setCheckedValue('1');
$form ['test_2'] = new Zend_Form_Element_Checkbox('te... | stackexchange/codereview |
11-24 23:19:18.434: ERROR/AndroidRuntime(12660): Uncaught handler: thread main exiting due to uncaught exception
11-24 23:19:18.684: ERROR/AndroidRuntime(12660): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4384c218
11-24 23:19:18.684: ERROR/AndroidRuntime(12660): at a... | stackexchange/codereview |
I'm looking for a proper serializable date-only class. Got a server in Central time zone, I want users in the Eastern to enter date as 2010-11-23, and users in Pacific to see it as 2010-11-23 (and vice versa).
java.util.Date is a time-sensitive instant, so it doesn't work for me. Not wanting to reinvent the wheel, I de... | stackexchange/codereview |
I have a tab-control that has 4 tab pages. Each tab page contains a user-control that I add programmatically when the program first loads. For some reason the second tab-page loads slow when I click on it but the other tabs load fine. This tab-page does contain about 20 controls(text boxes, drop-downs, list boxes, etc)... | stackexchange/codereview |
I'm using the script in the marked answer of this thread:
Send email using the GMail SMTP server from a PHP page
When I use this script on my hostgator based site, it works perfectly. However, mails are not being sent from the GoDaddy hosted site. Both have versions upwards of PHP 5.2.
Any help?
| stackexchange/codereview |
VS2010 introduces a new way to reference assemblies in T4: http://weblogs.asp.net/lhunt/archive/2010/05/04/t4-template-error-assembly-directive-cannot-locate-referenced-assembly-in-visual-studio-2010-project.aspx
These new ways sure seem great, and I've upgraded my t4 files to work this way, but I'd like something that... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.