instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have used file upload control of asp.net but I am getting empty string while saving.my code-
<asp:FileUpload ID="fuProductLogo" runat="server" CssClass="file paddBottom5px" />
.cs code is-
if (fuProductLogo.PostedFile != null && fuProductLogo.PostedFile.ContentLength > 0)
{
...
}
but the .PstedFile... | stackexchange/codereview |
I find many example how use Privoxy/TOR for proxy. For example: How to use Tor to make a C# HttpWebRequest
First I installed Vidalia Bundle and than also Privoxy.
Vidalia Bundle using address 127.0.0.1:9115
Privoxy using address 127.0.0.1:8118
I try in code create request on server http://whatismyipaddress.com/.
HttpWe... | stackexchange/codereview |
I recently learned about GWT Designer and I am trying to use it in one
of my projects. When I tried to open myView.java I got a message that
this view is associated with a UIBinder file and that I should open
the UIBinder file. When I open the UIBinder file I am told that I
need version 2.1 M4 for UIBinder to work. ... | stackexchange/codereview |
We have a Silverlight 4 application utilizing an IDuplexSessionChannel to send data to/from the application to a WCF service.
I've noticed that during very high UI thread usage (such as application startup when the UI is building itself) calls to our WCF service via IDuplexSessionChannel.BeginSend are not sent until th... | stackexchange/codereview |
I have two web apps in one domain. One is written by ruby another is by java. And my rails app is using db session. So there have a "sessions" table in my database. What I want to do is reading the session info from this table in java.
Here is my problem: Rails' sessions table is encrypted. So I can not read it directl... | stackexchange/codereview |
Can someone tell me how to skip to a position in an alphabetically sorted ListView when given a char or string input from an onClick method?
For example, I have a dialog that passes back a char. If that char is a B I want the listview to skip to the first B entry.
Any help would be greatly appreciated.
Thanks,
Josh
| stackexchange/codereview |
Not so long ago I've installed Debian and configured it with my friend's help.
Yesterday I have downloaded GCC 4.4 and I created a simple program to test it out.
This is the code:
#include <stdio.h>
int main () {
int result;
printf ("Hello Wor... Linux! This is my %dst program compiled in Debian.\nHow many is ... | stackexchange/codereview |
I have tables that I've tried setting PK FK relationships on but I want to verify this. How can I show the PK/FK restraints? I saw this manual page, but it does not show examples and my google search was fruitless also. My database is credentialing1 and my constrained tables are practices and cred_insurances.
| stackexchange/codereview |
Nostalgic for Collections.unmodifiableMap(), I've been implementing a read-only IDictionary wrapper based on this discussion, and my unit test quickly ran into a problem:
Assert.AreEqual (backingDictionary, readOnlyDictionary);
fails, even though the key-value pairs match. I played around a little more, and it looks l... | stackexchange/codereview |
I have a java program, and I need to pass to its main method a parameter that has a length of 8k characters. So when I try to execute this program passing that parameter, It just doesn't execute, but no error message is shown. How can I execute correctly that program?
| stackexchange/codereview |
^(\s+) only removes the whitespace from the first line. How do I remove the front whitespace from all the lines?
| stackexchange/codereview |
Sorry for the vague question .
I have a perl gui built in tk in linux . And I have built a text box in it . I wan to show the ouput of the perl script into the text box , including the errors or warnings that show up on the terminal when the perl script is run . How to do it ?
| stackexchange/codereview |
I have been reading through this tutorial. I am in a chapter where you can build a pong game. However I am having trouble trying to make a function that can detect when the ball hits the paddle?
It says I should do this:
Make a boolean function hit(bx, by, r, px, py, h) that returns True when the vertical coordinate o... | stackexchange/codereview |
I have a list that looks like this:
<li class = "current_parent level-0">
<a> Parent Link </a>
<ul class= "children">
<li class = "level-1">
<a> Link to child </a>
</li>
<li class = "level-1 current_page_item">
<a> Link to child </a>
</li>
<li class = "level-1">
... | stackexchange/codereview |
I have to create thousands of individual EPS (Encapsulated PostScript) files. These files will be printed by a company that uses a Roland printer and software. The printer software only accepts eps files.
So this is the procedure I've implemented using a custom vector graphics library:
Create an individual bitmap (thi... | stackexchange/codereview |
I am trying to render an image with text and images that are on a .swf file. What i am doing is saving all the objects and their properties in an XML and then using imagemagick to render all that. the problem i am facing is that imagemagick treats fonts very different than Flash, so i don't get a perfect copy of what ... | stackexchange/codereview |
i already have json object..like this,
updates={
mainUpdates:[{id:'1', inner:[{mid:'11',sub_domain:'a'},{mid:'12',sub_domain:'b'}]},
{id:'2', inner:[{mid:'21', sub_domain:'c'},{mid:'22',sub_domain:'d'}]}
],
msgCount:'2'
}
now i want add new values with its name(property) dynamically to th... | stackexchange/codereview |
I've got to sort a list of Reservations (they're coupled to an event by defining a belongsTo association) by the last name of the person who registered the ticket.
I do this in cakePHP:
$reservations = Set::sort($eventinfo['Reservation'],'{n}.last_name','asc');
This works, but some users input their data in all lowerc... | stackexchange/codereview |
I have an xml-file I want to parse:
<?xml version="1.0" encoding="UTF-8" ?>
<tag>û</tag>
It's perfectly parsed by firefox. But XML::Simple corrupts some data. I have a perl-program like this:
my $content = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
$content .= "<tag>\x{c3}\x{bb}</tag>\n";
print "input:\n$conte... | stackexchange/codereview |
This is from my code:
struct R3
{
float x;
float y;
float z;
R3(float, float, float);
R3();
};
R3::R3(float a, float b, float c)
{
x = a;
y = b;
z = c;
}
R3::R3()
{
x = 0;
y = 0;
z = 0;
}
struct Bodies
{
int Mass;
float... | stackexchange/codereview |
I was asked a few weeks ago, to find all the different and unique ways to reach the top right of a chess board, with x, y > 3, starting from (0, 0), knowing that you can only increase x and y by +1.
I still haven't been able to find algorithms that would explain how to navigate over a chessboard, so I was wondering if ... | stackexchange/codereview |
I am scratching my head over for this issue for last few weeks.
My local rails dev environment has been so slow for some reasons. I have production environment working as quick as a bullet on the servers. But with the same code, my dev environment is taking so slow and I have decided to dig into that further.
I have ... | stackexchange/codereview |
I have an issue where I cannot export a large amount of data (approx 200 rows - not that large really) using displaytag in IE8.
Has anyone encountered this issue?
The same code works perfectly in Firefox
Thanks
Damien
| stackexchange/codereview |
Hi
I was working on customization of gmap infoWindow.
I wrote the following code..
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAWFxfdA2Gu9LJMJw80x2tKhQhoncwM0SGfm1Opx_70t50wOiSWxRz3mt77PVPCsnMPENBxlx9FaX5AQ"></script>
<script src="javascript/extinfowindow.js" type="text/javascript"></... | stackexchange/codereview |
how can i do this integer value is converted to integerlist with three pairs from the and of the integer
input : 24889375
output : [375,889,24]
| stackexchange/codereview |
This:
bool grid[1280][1024];
for (int x = 0; x<1280; x++)
{
for (int y = 0; y<1024; y++)
{
grid[x][y] = false;
}
}
works fine, but
bool grid[1280][1024];
bool grid2[1280][1024];
for (int x = 0; x<1280; x++)
{
for (int y = 0; y<1024; y++)
{
grid[x][y] = false;
grid2[x][y] = ... | stackexchange/codereview |
The only way I know is show create table MyTable
| stackexchange/codereview |
I am reading Algorithms in C++ by Robert Sedgewick. Basic recurrences section it was mentioned as This recurrence arises for a recursive program that loops through the input to eliminate one item
Cn = cn-1 + N, for N >=2 with C1 = 1.
Cn is about Nsquare/2. Evaluating the sum 1 + 2 +...+ N... | stackexchange/codereview |
When I have several windows open in VIM, I'd like to always skip one of them (the one containing my project using Aric Blumer's Project plugin), whenever I press Ctrl-W_W.
In other words I'd like to cycle through my document windows as if the Project window wasn't one of them. When I actually do want to go into the pro... | stackexchange/codereview |
I'm using CS-Script (link: http://www.csscript.net/) to compile a script file. According to their documentation, I'm doing it right.
new AsmHelper(CSScript.Compile("test.cs"), null, true);
However at runtime, I get:
Could not load file or assembly
'file:///C:\Users...\CSScriptLibrary.dll'
or one of its dependenc... | stackexchange/codereview |
Consider the code below. I need to remove the error which is coming because of Locate. Please help me to do the same.
public virtual void updateZeroPointLast(Decimal bdID)
{
if (!qdsErosionElSave.Open)
{
qdsErosionElSave.open();
}
// Locate the row to update
DataRow dr = qdsErosionElSave.Tab... | stackexchange/codereview |
Please help, how do I configure apache (wamp) in windows when I want to use symfony as my php framework, I followed the guide(pdf) from the symfony site. But I end up with this when I access http://127.0.0.1:8080/:
But I end up with this, when I try to access http://localhost/sfproject/web/frontend_dev.php
What is the... | stackexchange/codereview |
I need to know the mechanisms and flow for starting up Hudson, so I can figure out what's wrong. When you type in
nohup java -jar $HUDSON_WAR > $HUDSON_LOG 2>&1 &
(using real values for those variables, of course), what exactly happens? I've been a software engineer for 10+ years but mostly in embedded, and web servi... | stackexchange/codereview |
I am searching for a way to model a RegEx which would give a match for both of these strings when searched for "sun shining".
the sun is shining
a shining sun is nice
| stackexchange/codereview |
Can anyone tell me how many bytes the below string will take up?
string abc = "a";
| stackexchange/codereview |
I have a .Net asm with several interfaces and classes exposed to COM using the [ComVisible(true)] attribute. I generate a tlb, then reference this in my StdAdx file within a C++ COM component. What's odd is that for some reason, even though the very basic intellisense (VS6 for C++) is able to see my properties and me... | stackexchange/codereview |
Is anybody has tried JDBC type 5 driver. Is it faster than JDBC 4 driver?
| stackexchange/codereview |
I'm building a photo gallery, building an object based on an xml file.
How can I grab the next and previous nodes? Here's what my base code looks like:
$xmlData = new SimpleXMLElement(file_get_contents("data.xml"));
foreach($xmlData->row as $item) {
if ($item->url == $_GET['id']) {
// show photo
$ti... | stackexchange/codereview |
I want to find out wether Videos on Mobile Websites play inline or in a video application. If they play in an video application: are these applications device specific or is it always the same? Does someone have a link to the look of the controls so that I can build a photoshop preview on how my web video will look on ... | stackexchange/codereview |
Can i use vs 2005 and .net 3.5 framework together or can i use linq with vs 2005?
| stackexchange/codereview |
I have the following MongoDB object stored in my Mongo database:
array (
'_id' => new MongoId("4cc183de48aa4c7708000000"),
'vehicleMake' => 'Volkswagen',
'vehicleModel' => 'Carrier',
'vehicleNumPassengers' => '7',
'vehicleReg' => '07-D-748393',
'coords' =>
array (
0 =>
array (
'lat' => '53... | stackexchange/codereview |
I tried constructing the following NSURL for a custom URL scheme:
NSURL *url = [NSURL URLWithString:@"tweetie:///post?message=안녕 모두"];
[[UIApplication sharedApplication] openURL:url];
but it doesn't perform correctly. How would you construct such a URL with non-English elements?
| stackexchange/codereview |
There's clearly a bunch of new stuff in Flash 10, I'm seeing a bunch in the Graphics class so far. Struggling a bit to reconcile it with what I know already but it looks useful - render lists and 3D transforms, etc - however I wondered if there are good arguments for targeting Flash 9 since I can definitely manage with... | stackexchange/codereview |
i have a program wherein it will retrieve data from sql based on a specific date range.. the problem is when the date range is set to a year or greater than that then the loading of data is so slow that sometimes the program will be not responding. Is there a way avoid this?
| stackexchange/codereview |
Let's say I have the following entry in my grails URLMappings.groovy:
"/actionName/param1"(controller:'myController', action:'myAction')
When I call an URL where param1 includes + as a special character, the URL is encoded correctly to /actionName/my%2Bparam for example, both in my local and in my server environment.
... | stackexchange/codereview |
While i'm careful, there have been a few times when i have used iOS 4.x apis by mistake that have caused odd behaviour on the older devices. Is there anyway to get the compiler to flag their usage so i'm alerted when i have done so.
Many thanks as always
| stackexchange/codereview |
I am using devexpress xtratreelist in this I have a tree..now I want my form to work in sucha away that if the user clicks on a particular node all the subroots of that node shud be published on a list box or anyother control..How it can be done?
| stackexchange/codereview |
How can I integrating an outlook calendar in my web application for managing employees so that I can assign tasks to only those employees not on leave?
| stackexchange/codereview |
Is there any way of dropping a draggable into the droppable by hardcoding and not by actually going into the browser and doing drag-drop??
Thanks in advance.:D
| stackexchange/codereview |
How to raise a event in usercontrol from the another usercontrol. i tried to do with delegates, but it doesnt work. How can i do this. am using C#(WPF)
usercontrol1.cs
public partial class UserControl1 : UserControl
{
delegate void myDelegate();
public UserControl1()
{
InitializeComponent();
... | stackexchange/codereview |
Recently I run a below command to start daemon process which runs once in a three days.
RAILS_ENV=production lib/daemons/mailer_ctl start, which was working but when I came back after a week and found that process was killed.
Is this normal or not?
Thanks in advance.
| stackexchange/codereview |
I've a user form where I take a phone number as input in one of my fields. I have two seperate RegEx statements checking on the input.
First one is:
preg_match('/^([\(]{1}[0-9]{3}[\)]{1}[\.| |\-]{0,1}|^[0-9]{3}[\.|\-| ]?)?[0-9]{3}(\.|\-| )?[0-9]{4}$/', $phone);
and it works great. It can identify many different formats... | stackexchange/codereview |
how to call javascript/jQuery when javascript is disabled in mozilla/ie ?
| stackexchange/codereview |
I need to use SIP(VoIP) in my applications can anyone suggest me how to start with this with an sample code in objective-c or sequence of steps to do.
Anyone's help will be much appreciated.
Thanks to all,
Monish.
| stackexchange/codereview |
Hi I would like to start the Internet Explorer without extensions and control it. (Navigate to other pages, click buttons etc.)
When I use the command: "Start iexplore.exe -ArgumentList -extoff" I have the IExplore without extensions, but no object. I need the object to navigate to different pages and click buttons.
"$... | stackexchange/codereview |
I need to output the project dll in program files. "$(PROGRAMFILES)\Microsoft..." It is not building in program files, but in the project itself in a folder called "$(PROGRAMFILES)"!
How do I build in program files??
| stackexchange/codereview |
I implemented something in Windows Forms similar to DragMove but with boundaries set to 10 units of the margins of the primary screen.
When switching over to WPF I found this thread to be useful in achieving the same result.
However, since this is a post-move event, what happens is that if my window is dragged beyond t... | stackexchange/codereview |
Optivote IR8 is basically a voting system with a bunch of remote controllers, which can send IR signals to a receiver, which is connected to a computer through a USB port. And I'm trying to write my own little software for that with Flash.
Optivote receiver communicates with software through a virtual serial port. When... | stackexchange/codereview |
I'm trying to dynamically update the HTML5 placeholder attribute of a text field using jQuery.
$("textarea").attr("placeholder", "New placeholder text");
From Firebug, I can observe that the placeholder attribute is indeed changing. But in the rendered textarea element, it stays the same. Any suggestions?
| stackexchange/codereview |
I was seeing some application and saw this application i was wondering how they created this horizontal navigation menu for their android application.
So what is this horizontal navigation called in android?? and can any one point me to any resource which has some sample example for creating 1 for android?
Thanks
| stackexchange/codereview |
I am working on a paging function. This is what I have:
$total_pages = 3; // 3 is only an example
foreach ($total_pages as $single_page):
echo 'Page'.$single_site->number.'|';
endforeach;
How can I write the number of pages in array that I can use in my foreach function?
The number of pages is dynamical. I want to be... | stackexchange/codereview |
This is not about how to add libraries to my project or module dependencies; it's about where to store the .jar files that are referenced by the project/module settings.
Should I have a lib folder in each project, containing the third-party libraries; or should I store them elsewhere on my hard drive? What scheme has w... | stackexchange/codereview |
In Eclipse + PyDev + Subclipse, how can I change the user who is accessing the subversion repository without having to re-checkout?
| stackexchange/codereview |
<?xml version="1.0" encoding="utf-8"?>
<blamatrixrix>
<name></name>
<columns number="2">
<column id="title" num="0">Title</column>
<column id="content" num="1">Content</column>
</columns>
<rows number="7"></rows>
<b>Description</b>
<b>Description text here</b>
<b>Some title 1</b>
<b>Some text blabla for Some title 1<... | stackexchange/codereview |
I am building a Rails app that I manage with Git. All is perfect, but I'd like keep a public version as well as a private one. That is:
the public version is for a public repository (for people to use),
and the private version is for my own site.
The idea is that both versions should be up-to-date, with the differ... | stackexchange/codereview |
first off...thank you so much for your time.
I was referred to you guys and heard here's the best place to find a solution.
Ok...so here's the problem.
My old programmer set up the wordpress permalinks to be dynamic, but we all know that they are the worst to pull in traffic from search engines (specially google).
So I... | stackexchange/codereview |
I am having trouble loading from saved data an instance of a custom class that conforms to the NSCoding protocol. My class has a UIImage property and when I assign a new UIImage to it the program crashes with an exc_bad_access.
In the view controller I declare my object like so:
@interface SomeViewController : UIViewC... | stackexchange/codereview |
I've recently inherited a website written in PHP and given the responsibility to move it from the current host to our own internal web servers.
I succesfully copied the files and i can browse the site on our webserver (IIS7) however some, not all, of the PHP scripts do not appear to execute properly.
For example, the... | stackexchange/codereview |
Possible Duplicate:
Split a number into its digits with Haskell
how can i convert integer to integer list
Exmple: input: 1234 output:[1,2,3,4] any idee about this problem ?
| stackexchange/codereview |
Is that possible?sould I combine the like number into mysql?
| stackexchange/codereview |
I need to print a formatted string containing scala.Long.
java.lang.String.format() is incompatible with scala.Long (compile time) and RichLong (java.util.IllegalFormatConversionException)
Compiler warns about deprecation of Integer on the following working code:
val number:Long = 3243
String.format("%d", new java.lang... | stackexchange/codereview |
I'm making a wp7 Silverlight app. I have a ScrollViewer that contains a ListBox of ten elements. However, it only lets me scroll down a tiny bit. What could I be doing wrong?
<ScrollViewer>
<ListBox x:Name="StoryListBox"/>
</ScrollViewer>
The ListBox is filled with items of the following type:
<Grid x:Nam... | stackexchange/codereview |
Let's say I have a father and son who should be both non abstract and i wont to go around the father c'tor what I have done is this :
public class D
{
public D(int x) { }
public D()
{
Console.WriteLine("D:constructor");
}
}
public class E:D
{
public E() : base(1)
{
Console.Wri... | stackexchange/codereview |
Google won't let me search |= so I'm having trouble finding relevant documentation. Anybody know?
| stackexchange/codereview |
I'm learning Java at the moment so I hope this question isn't too obvious. I come from another language which does not have garbage collection.
In this other language I sometimes created objects in constructor and then deleted them in the destructor so I could use them for the entire life of the object.
As a simplified... | stackexchange/codereview |
I have an app that will display a bunch of images in a slideshow. Those images will be part of the bundle, thus distributed with the app.
All the images are photographs or photographic, etc.
I've read that it's preferred to use PNG as the image format, but seeing that the JPG version will be much smaller, I'd rather ... | stackexchange/codereview |
I'm trying to determine if a phrase is a palindrome (a word that is the same from left to rigth) or not but i can't make it work. What's wrong?, i can't use pointers or recursion or string type variables
#include <stdio.h>
#include <string.h>
int main()
{
int i,j = 0,length;
char space = ' ';
char phrase [80],ph... | stackexchange/codereview |
I am create my first iphone app however facing lots of problems now.. I am trying to use an alert window which has options of Yes and No. WHen i click on no it should remain on the same screen however when i click Yes it should take me to another screen but i am not able to do the Yes part. My code looks like this..
-(... | stackexchange/codereview |
is it possible to debug AIR applications with the Android Emulator?
| stackexchange/codereview |
My profiler trace shows that exec sp_reset_connection is being called between every sql batch or procedure call. There are reasons for it, but can I prevent it from being called, if I'm confident that it's unnecessary, to improve performance?
UPDATE:
The reason I imagine this could improve performance is twofold:
SQL... | stackexchange/codereview |
I want to know if a list contains any value more than once. Here's what I have.
has_dupes(List) ->
has_dupes(List, []).
has_dupes([Item|List], Seen) ->
case lists:filter(fun(Elem) -> Elem == Item end, Seen) of
[] ->
has_dupes(List, [Item|Seen]);
_ ->
true
end;
has_du... | stackexchange/codereview |
I created a small Silverlight 4.0 / RIA Services application and tested it. I developed the app on a machine at home and needed to move it to the production domain at work. I did this by pushng it to the source repository and then cloning it to a dev machine at work. It builds without an error in both locations.
The... | stackexchange/codereview |
Quite embarassing issue, though i come from web development and rarely have to deal with files i/o.
I wrote a simple config updater for use on my shared hosting. It scans the directory for subdirectories, and then writes config lines to a file - one line for each subdirectory. The problem is, when it detects there are ... | stackexchange/codereview |
<table width=100%>
<tr>
<td id="show1" class="centerNoBorder"> <input type="button" name="upd_rate" value="Update Rate" onclick="showEdit(1)"></td>
</tr>
<tr>
<td id="show2" style="display:none" class="centerNoBorder"> <input type="button" name="upd_rate" value="Save" onclick=... | stackexchange/codereview |
This code is used to make "initial data" or "test data".
The Category entity will carry default types.
The Subcategory entity will copy default types from the Category.
They wouldn't be using the same types because new or old types may be deleted or added to the Subcategory.
-(void)newCat:(NSString*)catName subCat:... | stackexchange/codereview |
Is interprocess communication relevant on the iPhone or iPad? Because there's NSPipe available...
| stackexchange/codereview |
I have to create an automatic weather including rain, snow, clouds, fog and sunny.
Depending on the season I need to set a percentage for all weather: the forecast will be updated 3 or 4 times during a day.
Example:
Winter | Rain: 30% Snow: 30% Sunny: 10% Cloudy: 10%, Fog: 20%
I do not know how to implement a random co... | stackexchange/codereview |
I'm trying to overload the << operator for the nested class ArticleIterator.
// ...
class ArticleContainer {
public:
class ArticleIterator {
// ...
friend ostream& operator<<(ostream& out, const ArticleIterator& artit);
};
// ...
};
If I define operat... | stackexchange/codereview |
I'm using Win32 with C++ to make an app that can load the contents of files through a dialog with the GetOpenFileName function. Everything works fine, except when I close the main window and the app quits and prints this to the console:
The thread 'Win32 Thread' (0xa50) has exited with code 0 (0x0).
But the main proces... | stackexchange/codereview |
I want to update a .dbf file from my .net application.
I was able to read the .dbf file into a grid but not able to update the .dbf file from my .net application.
I have used following code to read the .dbf file. Reading is okay. But, not able to update .dbf file.
using System;
using System.Collections.Generic;
using S... | stackexchange/codereview |
I have installed magento in my local Xampp. After installing I have tried to login in Mozilla (both in front end and admin side). Does any one know how to login magento in fire fox.
Thanks
| stackexchange/codereview |
In my C# application, I'm firing up a program using the .NET Process class. Sometimes, after the program has finished, the Process.ExitCode is -1. It's a large program, and I'm having trouble tracking down where `exit' is called with -1.
In fact, I don't see how it's possible to have a program return an exit code of ... | stackexchange/codereview |
Project Euler is a site with general algorithmic challenges that can be a part of just about any software but is there any challenges that focus on the overall end result of web apps? It should be compatible with just about any web framework in a similar way that project Euler can be done in any language.
| stackexchange/codereview |
I've installed Wordpress here http://www.trsmithroofing.co.uk/flat_roof_blog and I've noticed that URL re-writes are working nicely.
Here's an example of one.
http://trsmithroofing.co.uk/flat_roof_blog/index.php/2010/10/single-garage-flat-roof/
Knowing this works, I'm wondering why I cannot get re-writes to work on... | stackexchange/codereview |
My company uses IE8 as the default browser and by default compatibility mode is set for all intranet sites. I'm building an intranet site that works when compatibility mode is turned off. I'm using reset.css and several opensource javascript programs, e.g. datatables.
What I'd like to do is force compatibility mode ... | stackexchange/codereview |
Is this possible to implement with EF4.0? I have used NHibernate in the past and you can flag a timestamp column as a 'Version' column and it will enforce concurrency.
Does this feature exist for EF4.0? If it does, are there any resources on how to set this up? If it does not exist, what alternatives do I have to handl... | stackexchange/codereview |
I need to remove everything after the last '/'.
Source: /uploads/images/image1.jpg
Result: /uploads/images/
How do I do this with regular expression?
I've tried different solutions, but it's not working. I get NULL as a result.
| stackexchange/codereview |
I have the following function which I use to check whether or not an email address is already registered.
checkTaken() {
var email_var = $('input#email').val();
$.post("../includes/check_email.inc.php",{email:email_var} ,function(data) {
var ret = data + "";
if(ret=="true") {//if username not avaiable
... | stackexchange/codereview |
In my activity I need a ProgressDialog with a horizontal progress bar to visualise the progress of a background task. To make the activity care for the dialog e.g. in case of screen rotation, I would like to use a managed dialog created in onCreateDialog. The problem is that I need to update the progress bar of the dia... | stackexchange/codereview |
Can someone help me to change the style of MapTypeControl DROPDOWN_MENU without needing to build a complete new one. I searching to preserve localisations using the Default dropdown in place to build my own not localised when load.
Thanks.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.