instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
i want to place a small form above the notification icons
in left-to-right interface the icons to the right of the screen
in right-to-left interface the icons to the left of the screen
i want the code for that to work on xp and win7 please
| stackexchange/codereview |
I would like to create a custom form for my WordPress blog which takes the user's email address and then adds it to a database. I know how to write the form and script to achieve the data storage. I don't know how I would go about sticking it on WordPress blog though.
Are there any plugins for this type of thing, or is... | stackexchange/codereview |
I need a slideshow with images that can be scrolled left or right, with only a certain number visible on the screen at one time.
< [image] [image] [image] >
I need to be able to add or remove images and images must contain links to open different new pages.
Can I use anythingslider? What customizations do I need?
Or, c... | stackexchange/codereview |
I'm building an application that is composed of two projects: common and theApp.
Now, theApp depends upon common (modelled using a dependency). The tricky thing i'm facing is:
There are XML files in common/src/main/env which will be needed while theApp is running.
To make things more fun, a distribution of run will hav... | stackexchange/codereview |
What I basically have is a file that formatted with Name|Value.
There is several different values through the whole file and for each value that matches my if statement I simply want to do total - value and then return the total to do the next calculation, so basically I have a file that is.
1|100
2|200
A|30
B|40
her... | stackexchange/codereview |
Assuming I have a table as such
[StockBarcodeID] [uniqueidentifier] NOT NULL,
[UserID] [uniqueidentifier] NOT NULL,
[StockID] [uniqueidentifier] NOT NULL,
[UnitPrice] [money] NOT NULL,
[Barcode] [varchar](16) NOT NULL,
[IsDefault] [bit] NOT NULL,
[LastUpdated] [datetime] NOT NULL,
How would one go about creating a con... | stackexchange/codereview |
In Visual Studio it only seems to allow the Assembly Version to be in the format:
0.0.0.0
If I change it to:
1.6
And read it in code I get 1.6.0.0
Is there any way to change this behavior for a shorter version?
| stackexchange/codereview |
My question involves events and where I am triggering the events in my class. This class wraps my TCP functionality and I am using TcpListener to achieve this. I realize some TCP stuff may be missing from the following example but I want to make things as simple as possible:
c# 2.0 sample
class MyTcpClass
{
public d... | stackexchange/codereview |
i want to test a big asp.net website through Visual studio. are it is possible. are i need any other tool. if yes then tell me the name of them.
my means testing to "HTML code". means there is no problem in html code and they written in standard way
| stackexchange/codereview |
I need to a list of files in a folder and the files are sorted with their modified date time.
I am working with C++ under Linux, the Boost library is supported.
Could anyone please provide me some sample of code of how to implement this?
| stackexchange/codereview |
I need to use find() to find all inputs in a form and change its value to ''. But I also need to exclude 2 inputs, the name of these inputs are: 'data', and 'date'
I tried this (with no success)
$('#contactForm').find("input[ @name != 'data' ][ @name != 'date' ]").val('');
| stackexchange/codereview |
I have a classifieds website, and the index.html is just going to be a simle form, which uses javascript alot to populate drop lists etc...
I have a menu also, put into a div container, but is this enough?
I mean, I have no content in index.html (almost), but a search form, which submits to a search results page, where... | stackexchange/codereview |
let us consider im having an application AAA. From my application im loaded an assembly named as BBB.When im in BBB path, i need to get the AAA Assembly name at run time.
how to accomplish this?
Thanks in advance
| stackexchange/codereview |
Can anyone convert this ASP.NET syntax to RAZOR syntax? I can not convert it "one to one" to Razor syntax.
<% Themes.ThemesAvailable().ForEach(i =>
{
if (i.Equals(Themes.ThemeToUse))
{%>
<a href="" id="A1" style="font-size:x-large;color:Red"><%:i%></a>
<%}
else
{%>
... | stackexchange/codereview |
I have been reading about transactions in MySQL, but I could not understand one issue.
Transactions are a way to ensure that in a block of statements, either all are executed or none of them. However, Does a transaction ensures the "locking" of rows that are part of it? That is, say I have the following statements (pse... | stackexchange/codereview |
Ok. This is a bit odd. Long story short. I am fething raw BGR images from a camera, compressing them to JPG with OpenCV and sending with UDP protocol to a PC. This is how I compress images:
// memblock contains raw image
IplImage* fIplImageHeader;
fIplImageHeader = cvCreateImageHeader(cvSize(160, 120), 8, 3);
fIplImage... | stackexchange/codereview |
I'm wondering about Java's backslash. How does the computer or the compiler see this backslash and how is it stored in computer?
I read that backslash removes the special meaning of the following character. But how does a computer treat this one and in what conditions treat it in some other ways?
For example the null c... | stackexchange/codereview |
In a lot of forums i read:
If you right click on your install
project, View -> Registry, you can add
a registry key to the list. The key
has properties (right click ->
Properties) AlwaysCreate, and
DeleteAtUninstall, which should
perform what you need, based on the
stuff in the other post about the
Reg... | stackexchange/codereview |
In this example they are passing only 1 argument. Wat if I wanna pass two ?
When I was using Link Button I was using the two Command arguments like this
Plz check the ItemCommand event in the code above
Now I am clueless how pass 2 args to CheckBox in the repeater! HElp!
| stackexchange/codereview |
Currently I am showing iAds in my app.They are working fine.Now, I want to hide the iAds based on some conditions in code.
What I am using is
ADBannerView *bannr= (ADBannerView *)[self.view viewWithTag:1];
bannr.hidden = YES;
bannr.userInteractionEnabled = NO;
iAds get hidden.But when i press the area where iAd is s... | stackexchange/codereview |
Can someone tell how we can declare a static variable as part of a Objective C class?
I wanted this to track the number of instances I am creating with this Class.
| stackexchange/codereview |
I am trying to run a script which can access a solr index using solr-php-client. THe script stops inside the ping function of Apache_Solr_Service class.
Then I tried to do this:
echo file_get_contents('http://localhost:8983/solr/admin/ping');
and got nothing -- blank page. BUT string http://localhost:8983/solr/admin... | stackexchange/codereview |
I'm working on a database where there is a mix of NULL and '' (empty) values. I would like to convert all empty values to NULL.
Something like
UPDATE table SET col=NULL WHERE col=''
but for the whole database
notes:
I've changed default values to NULL
I'm well aware of the NULL vs '' debate, and this isn't something... | stackexchange/codereview |
I am attempting to apply an SVG filter (Gaussian blur) to only a portion of an image (i.e. the background). I have achieved the effect by appending a clipped SVG image with Gaussian blur applied at the same position (to make it appear like the Gaussian blur is applied to the original image).
This is obviously inefficie... | stackexchange/codereview |
I am preparing a program in java and its purpose is to make the HttpWebRequest for a url which can open in any browser (i am planning to use watij for opening the page in different browser).Now my program should take the screen shot of the presently opened url once the page has loaded successfully.I need to run a piece... | stackexchange/codereview |
I am working on an AJAX/JavaScript/PHP chat room and I need a bit of advice. Basically, when the values are sent (message (txt_message), name and chat id (chat)) like so:
var param = 'message=' + document.getElementById('txt_message').value;
param += '&name=<b><?php echo $_SESSION['username']; ?></b>';
param += '&chat=... | stackexchange/codereview |
I have an application where I use PHP with Zend framework and Doctrine2 as ORM. My question is related to how much the controller preferably should know about the underlying model and persistence layer. Ideally I would say this is 'nothing' myself - the controller should not know anything about how/when the entities ar... | stackexchange/codereview |
I have a div for image slider,inside that div I have ul li inside that i have some image with diffrent sizes. My requirment is to place image is center align as well as vertical align middle.
my html markp is
<div id="placesAlbumSlidesContainer">
<ul style="width: 50000px;" id="placesAlbumSlideInner">
... | stackexchange/codereview |
Hey all. I'm using the Twitter API via javascript and I'm firing a call to user_timeline.json. Everything seems to work fine with jQuery.getJSON but I'd really like to get the response as a string without it being converted into objects, which getJSON does. When I change my method from getJSON to get, I get the followi... | stackexchange/codereview |
I'm able to show days from current date to next 3 months with this code:
$begin = new DateTime();
$end = new DateTime(date('Y-m-d', strtotime('+3 months', strtotime(date("d-m-Y")))));
$interval = DateInterval::createFromDateString('1 day');
$days = new DatePeriod($begin, $interval, $end);
foreach ( $days as $day ) {
... | stackexchange/codereview |
I have a string. It has about 80000 line.I try to write
QTextDocument * textDocument=new QTextDocument();
textDocument->setHtml(list); //list is my string
txtEdit->setDocument(textDocument);
if string is not contain 80000 line, it can show records.But if has 80000 line, it can not show anything.
Do you have any solu... | stackexchange/codereview |
Is there a way to protect oneself from Mercurial identity theft?
The case is if someone deliberately commit bugs into the code using another developer's name with the goal of getting that person fired or mis-credited.
Is there a way to stop that from happening or is it a non issue?
| stackexchange/codereview |
Today I created a map, where the value type has no default constructor. I was surprised that I could not use operator[] to insert the elements to this map, but I had to use the insert method.
So, what exactly are requirements for the key and value types for std::map?
Here is short example :
#include <map>
struct A
{
... | stackexchange/codereview |
I have a following template defined so that I can perform an explicit, but safe cast:
/// cast using implicit conversions only
template <class To,class From>
inline To safe_cast( const From &from ) {return from;}
Frequently (e.g. when passing arguments into sprintf and similar functions) I would like to use this templ... | stackexchange/codereview |
I need to perform some updates on files within my project (our the output of my project) and I need to do this before the deployment package (zip file) is produced.
Is there a build target that fires between the build and packaging phases?
| stackexchange/codereview |
I have extended Zend_Form to create my custom form that I will reuse on some pages of my site.
For this form I also created some JavaScript validation based upon jquery.
What I would like to do is add this JavaScript validation for the form in the sub-classed Zend_Form. So every time the form is called the JavaScript g... | stackexchange/codereview |
I have a JavaScript script I need help modifying...
I'd like to have URL parts extracted and set as classes of the html element.
var loc = window.location.pathname.match(REGEX_CODE_GOES_HERE);
// document.documentElement is the html element, this adds the class
if(loc) document.documentElement.className += " " + loc[1... | stackexchange/codereview |
Suppose I have this Scala code:
object Outer {
object Inner {
val B = "B"
}
class Inner {
def b = B
}
}
I would expect this to compile, but B cannot be accessed from the definition of b. I need to add import Inner._ in class Innerto make it work. Why is that? Is the companion object Inner not defined ... | stackexchange/codereview |
**hmm mabye i asked litle strange. How can i get all child of type "Title".
There is many of children of type "Title"
Like:
- <BiblioDiv>
<Title>**</Title>
- <BiblioDiv>
<BiblioAsk>
<Title>***</Title>
- <BiblioEntry>
<BiblioDiv>
<Title>**</Title>
I just need to get all "Title". Can i get this with linq ... | stackexchange/codereview |
I am testing an app provided by a third party developer and finding that I'm getting a seemingly random "message sent to deallocated instance 0xeb2f0d0" message after heavy use of the app. It's normally when returning back into a menu
It comes from the class Locationmap, which seems to deallocate correctly at the end:
... | stackexchange/codereview |
I'm looking for a nice user-friendly interface for starting SSIS jobs:
Users shouldn't need SSMS or other software installed on their desktop
Users can provide parameter values that are passed through to SSIS
SSRS seems like a possible choice - you can run reports from the web browser, and there's a good interface fo... | stackexchange/codereview |
this is my code...
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
AppSettingsSection configSection = config.AppSettings;
try
{
if (configSection != null)
{
if (configSection.IsReadOnly() == false && configSect... | stackexchange/codereview |
In my Delphi 2007 database application, I have a list of Generations. Each Generation has a list of pricing templates, each of which is a set of values. In the application, the user can create a line item and assign a pricing template from any generation. A new generation is created by cloning an existing generation. S... | stackexchange/codereview |
I have an NSTableView, with each column bound to the appropriate value in an NSArrayController. One of the columns contains an NSImageCell, displaying an image.
I want to sort by this column, but obviously sorting by an image's object value is not what I want. I actually sort by the combination of other fields, but I c... | stackexchange/codereview |
Hi i am new to PHP.I am having "item.php" page and "cart.php" page. In item.php 3 checkboxes are available. if i click on one checkbox from item.php the value is sent to to cart.php page. however if i go back and select another checkbox the old value is not retained. Only the new value is getting printed.
I am storing... | stackexchange/codereview |
Basically, I have this logger class and prefixer.
class Logger
{
public:
enum LogType
{
LT_DEBUG = 0,
LT_WARNING,
LT_ERROR,
LT_STAT,
LT_TEXT,
LT_INFO,
LT_OTHER,
LT_UNKNOWN
};
__attribute... | stackexchange/codereview |
Problem:
Right after "glTexEnvi( GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE);" I got the GL ERROR #1282(INVALID_OPERATION).
Then when I consulted the OpenGL 2.1 Reference, it is said under glTexEnv that: GL_INVALID_OPERATION is generated if glTexEnv is executed between the execution of glBegin and the corresponding exe... | stackexchange/codereview |
struct my
{
my(){ std::cout<<"Default";}
my(const my& m){ std::cout<<"Copy";}
~my(){ std::cout<<"Destructor";}
};
int main()
{
my m(); //1
my n(my()); //2
}
Expected output :
1 ) Default
2 ) Copy
Actual output :
What's wrong with my understanding of the constructor invoking mechanism?
Note I have om... | stackexchange/codereview |
i am using mvc 2 and mvc contribgrid
I am Getting error as "Newline is constant","identifier expected",";excepeted" here is my coding
<table cellpadding="0" cellspacing="0" width="100%">
<% if (ViewData["CustomerInfoList"] !=null && ((List<SaasModel.CustomerInfo>)ViewData["CustomerInfoList"]).Count()>0)
{
... | stackexchange/codereview |
In a Prism V4 / MEF / MVVM app, I got a View containing a TabControl.
In the first TabItem I show a list of items, the second TabItem is disabled unless a valid item is selected. Now when the user clicks on the second TabItem I want to load and prepare some additional data into the second TabItem.
How Do I get notice o... | stackexchange/codereview |
I am showing some information on mouse hovering on the links. I am doing this by making an AJAX call on mouse hover the the links and fetching the data from database.
Problem is that if I mouse hover several times on the same link it will make the AJAX call and hit the database in each time. But I want if it once fetch... | stackexchange/codereview |
I'm using the following setting in log4j.properties. However, it generates a file like MyLog.log.2010-11-26 during roll over. Is there a way I can make it MyLog-2010-11-26.log?
log4j.appender.fileLog=org.apache.log4j.DailyRollingFileAppender
log4j.appender.fileLog.DatePattern='.'yyyy-MM-dd
log4j.appender.fileLog.File=l... | stackexchange/codereview |
Hi
consider that I have a for loop : for(int i = 0;i<4;i++)
in the for loop ,I want to print the random of numbers from 0 till 3 and the result include just 3 numbers from this.and each time that for loop execute ,the result of math.random must be different i.e.,
I have 4 numbers : (1,2,3,4)
and I want to have 4 result... | stackexchange/codereview |
I'm setting up a nginx proxy server in the network, in the nginx conf file it looks for upstream servers through hostnames; the server uses dhcp interface.
every time reboot, nginx always fail to start, i ran into init 1 then invoke init 3, i can see that nginx fail because it can't find upstream servers, as network is... | stackexchange/codereview |
I am using VB to write a macro in Word. what i need to do is, if i am within a table
i need to move out of it.
so if
x = Selection.Information(wdWithInTable)
then i have to move out.
What is the code to move out of the table?
| stackexchange/codereview |
In order to disable copying of my class I'm suppose to declare as private but not define operator=(const MyClass&) and MyClass(const MyClass&) - do I have to also disable move ctor for this class?
| stackexchange/codereview |
I'm developing a fairly simple WPF application to display an object hierarchy plus detail of the selected object, with a UserControl wrapping a TreeView in the left pane (the tree control), and another UserControl wrapping a ListView/GridView on the right (the details control).
The tree control uses MVVM following this... | stackexchange/codereview |
I am considering using AppEngine for deploying a webapp which I am developing. As part of my investigation into the AppEngine platform I have been checking the response time for simple requests. To this end, I have written a simple PING servlet:
@SuppressWarnings("serial")
public class Ping extends HttpServlet
{
@Ove... | stackexchange/codereview |
I have a Linq query using NHibernate 3.0. But it keeps returning an error.
threw exception: System.NotImplementedException: The method or operation is not implemented..
I tried the same in LINQ 2 SQL and it works perfectly.
What might be wrong here? Here is part of my select, it's a subquery with a Groupby and Sum.
... | stackexchange/codereview |
How do I identify merged cells in PowerPoint 2007? Is there anyway we could find a particular cell is merged.
In 2003 we tried to access the Fill.Visible property of a cell and when it throws an error we can identify the cell as a merged cell. How do we achive this in 2007?
| stackexchange/codereview |
I have set this in the initializer
Rails.application.config.middleware.use OmniAuth::Builder do
provider :facebook , 'app' , 'secret' , {:scope => "manage_pages"}
end
And I have saved the token in User model after the callback.
How do I use the token to request for https://graph.facebook.com/${current_user.uid}/ac... | stackexchange/codereview |
I have a class that inherits from Button. In the XAML for the class, I have specified a Width and Height and Content, in the hope that when I use the VS2010 WPF designer to insert my control in e.g. a window, these would be the default values for those properties. However, the designer uses the default values from Butt... | stackexchange/codereview |
I am developing an application in PHP where in I am supposed to call an external API.
The api specification says
Request Type : POST
POST data format : JSON Dictionary or Hash
Mandatory Dictionary / Hash Keys and expected values
1. fname : value - First name of user
2. lname : value - Last name of use
...
What is th... | stackexchange/codereview |
I am creating a program that uses a grammar and see if this grammar is LL (1). I want to use the module Set, but I have no idea how to proceed, of course, the type of the elements of the set will char, can you help?
| stackexchange/codereview |
I am trying to use Huffman algorithm from http://www.explainth.at/downloads/huff.zip
There are two function in the unit :
function Compress(ASource:TMemoryStream):TMemoryStream;
function DeCompress(ASource:TMemoryStream):TMemoryStream;
I've successfully compressed each lines from a file onto an another file.
function S... | stackexchange/codereview |
I (Basically) need to create a background timer on iOS 4 that will allow me to execute some code when a specific amount of time has passed. I have read that you can accomplish this using some [NSThread detachNewThreadSelector:
toTarget:
withObject:]; but how does that work in practice? How can I ensure that the thr... | stackexchange/codereview |
Is there a php library I can use to convert an associative array in perl to an associative array in php ? If not, is there any recommended way of doing this ? Regular expressions ? A bunch of explode and implode calls ?
I want to go from
my %arrayname = (
key1 => "Value1",
key2 => "Value2",
key3 => "Value... | stackexchange/codereview |
I am trying to execute an exe file through c#.net using a process. It fails to execute returning the following exception:
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
... | stackexchange/codereview |
How to check if a registry value exists by C# code?
This is my code, I want to check if 'Start' exists.
public static bool checkMachineType()
{
RegistryKey winLogonKey = Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\services\pcmcia", true);
string currentKey= winLogonKey.GetValue("Start").ToString... | stackexchange/codereview |
I have an installshield project that takes more then 6 minutes to build.
As this setup project is quite a mess I'm trying to clean it out a bit.
Currently I can see there are file references to files that are not available anymore.
How can I have installshield give me a list of errors without having to completely build... | stackexchange/codereview |
I have a small problem. In a table with 5 rows I want add a row in between without using setRowData method. Can someone please help me?
| stackexchange/codereview |
I've got a coldfusion script which I've had hanging around for a while on my content management system. It's uses regex to strip out any crappy tags and characters out of the content.
I need to stop this script from stripping out any <object> and <iframe> tags.
I'm giving it a go but I think it's beyond my regex skills... | stackexchange/codereview |
Sorry if this is a silly question, but it is useful for my current lexical analysis project. Is there any built-in and preferably culture-based (language-based) function in the .Net framework to convert back and forth from string with numbers and the words that represent them? Like "1" <-> "one", "2" <-> "two", "3" <->... | stackexchange/codereview |
My problem with jql is that I want to retrieve the number of issues and the issues resolved in one day, but when I do a query like:
proejct="blablabla" created >= -2d and created <-1d. I get the issues from -2d AND -1d. The >= OR > doesn't make ANY difference.
I saw that if you use the date like: proejct="blablabla" cr... | stackexchange/codereview |
I have a web application written in java. i would like to run a 'clean up' method that would run at the end of each web request as in after all the work has been done. I'm looking for something like a filter just that it would run at the end of the request and not at the beginning.
What's the way to do this?
Any help w... | stackexchange/codereview |
I would like to match this regexp in javascript:
com\..*</div>
As you can see I want to have com. and then anything and then </div>.
But in javascript this is not working, it always founds the com/jdksf</div> not the com.fdsfd<div> text.
Any idea why is that?
Edit:
My code looks like this:
var patt1=new RegExp("com... | stackexchange/codereview |
I want to get object, which listfield contains 'foo', 'bar' and 'foobar' strings. Can I do query like this
SELECT * FROM Entity WHERE listfield = 'foo' AND listfield = 'bar' AND listfiled = 'foobar'
where listfield = StringListProperty() ?
| stackexchange/codereview |
when i use area map in my html page the i got this error
<map name="Map" id="Map"><area shape="rect" coords="39,244,134,267" href="#" /></map>
are anyone tell me what is wrong in this code
| stackexchange/codereview |
I created a bean class and use it in my controller but it does not seem to work.
Namely even though I enter an invalid age, result.hasErrors is still false.
Bean class:
public class User{
@Min(13)
private int age;
private String name;
public int getAge() {
return age;
}
public void set... | stackexchange/codereview |
I develop -- from time to time -- yahoo open tables to access different resources on the web. Currently I am using a JavaScript editor and -- when I want to test if my open table works -- I upload the xml table description to a server to test it with a yql client application. However this approach is quite slow and -- ... | stackexchange/codereview |
Is there any way to make ie (7,8) display a gradient AND a background-image on the same div?
The only way I got it working (but only almost) was by using two filters, one for the gradient and one using the AlphaImageLoader - but of course, then you can't position the image.
Declaring a background-image and gradient fil... | stackexchange/codereview |
The issue, of course, is that ruby symbols don't like hyphens. So something like this obviously won't work:
content_tag(:div, "Some Text", :id => "foo", :data-data_attr => some_variable)
One option is to use a string rather than a symbol:
content_tag(:div, "Some Text", :id => "foo", 'data-data_attr' => some_variable)... | stackexchange/codereview |
I'm currently working on a simple piece of data signing. It's the first time I use signing so maybe I just do somehting wrong. But I don't think its normal that it takes 4.6 seconds to sign 448 bytes using a 512bit RSA and SHA1 hashing.
The code:
byte[] Data = enc.GetByte(MsgString); //Get Message as byte[]
//Data is ... | stackexchange/codereview |
I have an application that lets users create different forms (surveys) and then fill them. (so its a substitute for paper).
Here's the current model i'm using in the app:
Table 1)
+-------------------------+
| SURVEYS TABLE |
+----+------+-------------+
| ID | name | description |
+----+------+---------... | stackexchange/codereview |
slight problem i'm having with my custom UIButton subclass when added to the contentView of a UITableViewCell. basically, the button class adds a CAGradientLayer in its constructor to create a glossy background:
CALayer *layer = self.layer;
layer.cornerRadius = self.frame.size.height/6;
layer.masksToBounds = YES;
layer... | stackexchange/codereview |
I'm creating an app for iPad that works both in landscape and portrait mode.
I want to place one edge of iPad on my desk and slant(angle) it.
Now I want to measure how much angle it made with my desk.
Using accelerometer, I'm getting X,Y and Z values. But I couldn't find how to convert those values into degrees.
Any w... | stackexchange/codereview |
<img title="<a href='#' onClick='alert('Hello World!')>The Link</a>" />
So I've got some specific question.. I already know that I can work with attributes inside a TITLE attribute.. But can I work with events inside a TITLE attribute?
(btw - It seems like a rubbish code, but this already works as is shou... | stackexchange/codereview |
I'm looking in a way to only write txt files for unit tests that failed when using maven with surefire. The current behaviour of the surefire plugin is that it writes .txt and .xml file for every test it is running.
A bit like what the surefire-report plugin allows us to do with :
<configuration>
<showSuccess>false<... | stackexchange/codereview |
An unhandled exception of type 'System.BadImageFormatException' occurred. After changing the target to x86, it is OK. I am wondering does it mean the library is 32 bit only. How to make it work with 64 bit too?
| stackexchange/codereview |
I've created a Mercurial mirror of an SVN repository (using this tutorial: http://oreilly.com/opensource/excerpts/opensource-mercurial/migrating-to-mercurial.html). The sync works great, except I've noticed it's not picking up an external repository that is referenced in the main SVN repo...
I'd ideally like to be able... | stackexchange/codereview |
I have been filtering my way through jQuery tooltip plugins and have found tipsy. It is used by GitHub, that was what I based most of my decision on. I really like it and it is really easy to use.
I am having a problem with it though. I need the tooltip to fade in on focus, not hover. It currently works but only on hov... | stackexchange/codereview |
I have a form which has a load of radio buttons posting yes/no answers. Id like to check they're all YES and NOT empty.
session_start();
if($_POST["minRequirementsForm"] == '1') {
foreach($_POST as $key => $value) {
if ($value == 'no') {
$error = 1;
} else {
$error = ... | stackexchange/codereview |
I m working on a new project where everything comes from the database... including the name of the modules in the application + what is to be rendered on to the view... it's completely dynamic.. so there is a requirement where the controller passes collection of objects to the view and each object in the collection sho... | stackexchange/codereview |
We have a requirement, where a javascript needs to be rendered dynamically when the HTML page is rendered. The javascript function could be used to draw a circle or triangle or a square. Assuming the following code snippet is stored in a certain field in the database, how do you embed such code directly into HTML at a ... | stackexchange/codereview |
I'm testing out nhibernate 3 CR, but fails to create the following SQL using Linq:
select *
from Users as {user}
inner join Test as test on test.UserId = user.Id
inner join Release as release on release.TestId = test.TestId
where Release.Status ... | stackexchange/codereview |
Can anyone please tell me if the latest twitter sdk(OAuth) works for iOS3.0 ? If it works only for iOS4, and my app is written for iOS3.0 then how can I communicate with twitter?
Thank you.
| stackexchange/codereview |
I have a piece of performance critical code. The class and objects are fairly large, hence, it would be stored as pointers in the STL container. Problems arise when the pointers to objects need to be stored in multiple different containers based on some logic. It is very messy in handling the ownership of the object as... | stackexchange/codereview |
I'm using Jira and have been told by the sysadmin that GreenHopper has been installed.
However, I see no evidence that GreenHopper has been installed.
Is there a simple way to determine whether or not GreenHopper has been installed?
| stackexchange/codereview |
I am writing a web application for use by multiple organizations which requires custom styling depending on which customer is using my page (the page is "branded" for different companies).
Basically, I have a database which stores some information such as primary color, background color, and company logo image, all of ... | stackexchange/codereview |
I know there is tail which tracks if anything has been appended to a file.
I also know its possible to do using vim :w !diff % -
Is there something similar which tracks if anything is modified in a text file and prints it out.
To clarify is the something similar to tail but the change within the file might be anywhere.... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.