instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
How do I disable CLS compliance checking?
How can I do it for:
The entire assembly
A smaller scope, maybe one file or one class...
| stackexchange/codereview |
It is really a stupid question, but I really don't know how to.
I have a utility class and need to define some pre-defined variables. Here's how my class looks.
#pragma mark File header part definiation (start offset, length)
NSRange HEADER_VERSION = NSMakeRange(0, 4); /* 0,4 */
NSRange HEADER_IDENTIFIER = NSMakeRange... | stackexchange/codereview |
Is it possible to somehow emulate single precision float in Javascript? According to Doug Crockford's blog "Number is 64-bit floating point", but I have to use single one for porting C++ algorithm which calculates single precision float's error.
| stackexchange/codereview |
There are a specific set of process happens between a user hits www.google.com and see the page in the browser. Can anybody tell me what all things that happen during a similar process. Also how mobile browser is different from web browser.
| stackexchange/codereview |
I am writing an HTTP server in C#.
When I try to execute the function HttpListener.Start() I get an HttpListenerException saying
"Access Denied".
When I run the app in admin mode in windows 7 it works fine.
Can I make it run without admin mode? if yes how?
If not how can I make the app change to admin mode after sta... | stackexchange/codereview |
We have a full screen app in WM6.5, and when a message box pops up, about 1/2 a second later, so does the sip panel.
Is there a way to prevent it from popping up.
Right now we have a timer that hides it, but this is a hack, and we'd like a better solution.
Any ideas?
| stackexchange/codereview |
Assuming there are following interfaces
public interface IRoot
{
IChildA ChildA { get; }
IChildB ChildB { get; }
}
public interface IChildA
{
IGrandChildA GrandChildA { get; }
IGrandChildB GrandChildB { get; }
}
public interface IChildB
{
IGrandChildC GrandChildC { get; }
}
public interface IGrandChildA
{
}... | stackexchange/codereview |
I am using FedEx api I have created the my account on FedEx.
My problem is that when I am using test account number and test meter number I am getting the results properly, but when I am using client account detail I always get the error invalid header (invalid header).
When I have contact with the FedEx team, they sa... | stackexchange/codereview |
The thing I want to implement is the next UI hierarchy in my Swing application.
Main Window (JFrame)
Modal dialog (JDialog) in front of this window. It's opened by clicking on the button in main window.
The set of windows in front of modal dialog (2). They should be independent from each other and non-blocking for mod... | stackexchange/codereview |
I have a simple table structure in SQL Server:
One table storing a list of Bikes (Bikes) and a second table storing a historical list of the bike's owners (Owners).
Using Linq 2 SQL I generated a model that gives me a 'Bike' entity with a 1 to many relationship to 'Owner' called 'HistoricalOwners'.
So far so good...
No... | stackexchange/codereview |
I'm developing a web-to-print, poster printing application.
I'm considering using PHP to crop user-uploaded images, and we will ultimately print the PHP-cropped image.
My concern is there will be a difference in 'quality' between the original user uploaded image, and image after it is cropped by PHP.
Will PHP affect th... | stackexchange/codereview |
How can I include my programs dependency DLLs inside the EXE file (so I only have to distribute that one file)? I am using C++ so I can't use ILMerge like I usually do for C#, but is there an easier way to automatically do this in Visual Studio?
I know this is possible (thats why installers work), I just need some help... | stackexchange/codereview |
any tips on how i can use CSS to style these links in a small side widget to look hot using css? (here is my html code)
i would love a clean and simple layout
<div id="related_links">
<ul>
<li><a alt="SQL Server Performance Tuning" title="SQL Server Performance Tuning" href="/Database.aspx">SQL Services</a><... | stackexchange/codereview |
I am trying to get a block of lines between 2 known lines using pyparsing. For example:
ABC
....
DEF
My python code:
end = Literal("\n").suppress()
firstLine = Literal("ABC") + SkipTo(end)
secondLine = Literal("DEF") + SkipTo(end)
line = SkipTo(end)
test = firstLine + OneOrMore(line) + secondLine
test.searchString(my... | stackexchange/codereview |
Can anyone share with me what they think is the best and easiest to learn rapid application development for building Rich Internet Applications? Preferably free but if the one you're suggesting is worth it, I might consider purchasing it if it's that easy to use. Thank you to those who'd answer!
| stackexchange/codereview |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
<style type="text/css">
.u... | stackexchange/codereview |
I want to check how long time my program takes. Then I using "/usr/bin/time my_program". When it takes more than 5 seconds, I want to kill it. I tried "kill -9 TIME_S_PID", time is killed, but my_program is still running. So how to kill my_program?
Thanks.
| stackexchange/codereview |
I need to do it in vim (MacVim) and use it in one line.
z.a2=cross(z.b, z.c)(z.b1, z.c1);
Became the ofllowing line:
z.b2=cross(z.c, z.a)(z.c1, z.a1);
| stackexchange/codereview |
<script type="text/javascript">
var t;
function tick() {
xmlhttp=new XMLHttpRequest();
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200 && document.getElementById("txtHint").innerHTML!=xmlhttp.responseText) {
document.getElementById("txtHint").innerHTML=xmlhttp.resp... | stackexchange/codereview |
I can't seem to select data from multiple tables with Kohana ORM.
When I do:
$obj = orm::factory('a')
->join('b')
->on('a.b_id','=','b.id')
->select ('b.*','a.*')
->find_all();
the only variables available in $obj are from table a.
| stackexchange/codereview |
I know this is a total noob question, but can anyone tell me why this function always returns 0:
Function Cd(Re As Double)
Select Case Re
Case Re < 1
Cd = 24 / Re
Case 1 < Re < 1000
Cd = 18 * Re ^ (-0.6)
Case 1000 < Re
Cd = 0.44
End Select
End Function
Whenever I call it in the ... | stackexchange/codereview |
I have a webservice I need to call via a link. The webservice returns a pdf document and takes a document Id as a input parameter.
Under normal circumstances I could have the link call some code in the code behind which in turn calls the webservice.
However the difficult part about it is I can't add code to the code be... | stackexchange/codereview |
How to avoid break in long url link sent through Spring MVC web app? It is a redirect url sent to email box in case of reset password request
http://man-01668:9090/HDCdemo/demoservice/portal/resetpassword.htm?pfpc=tMgmMyBhpVRi1pZq&redirect_url=http://localhost:8080/HDCdemo/demoservice/portal/myprofile.htm?_flowId=citiz... | stackexchange/codereview |
If we committed several times, for example, on our local repo, for revision 3000, 3001, 3002, 3003. If we push to a remote repo, it will push 3000 to 3003. Is there a way to push only 3000 and 3001?
| stackexchange/codereview |
I found there are two ways (submit and execute) to add a Runnable into a thread pool, what is the difference?
| stackexchange/codereview |
We are using a heavily modded version of the jquery lightbox plugin to create a lightbox with a gallery on the side. However, when I do
$('.popup').lightBox({fixedNavigation:true});
IE 7/6 gives me an error on that line. This works on every other browser. Now of course, being IE 7 and 6, theres no actual error descrip... | stackexchange/codereview |
I'm doing this tutorial on how to reset a forgotten password. It all works, except there's just an empty line in the email where the URL is supposed to be that will take you to the page to reset the password. The line where it should be added doesn't really make sense to me. I can't work out what edit_password_reset_ur... | stackexchange/codereview |
Using
sed "s/[[:blank:]]*/ /g" a>b
doesn't seem to work.
| stackexchange/codereview |
Anyone has a PHP function that can grab all links inside a specific DIV on a remote site? So usage might be:
$links = grab_links($url,$divname);
And return an array I can use. Grabbing links I can figure out but not sure how to make it only do it within a specific div.
Thanks!
Scott
| stackexchange/codereview |
i have a FirstViewController that i have attach Cocos2d on it,
when i try to pop thisview back to the rootviewcontroller how can i do it?
i try to send message from CCLayer to FirstViewController to pop to root but not work
here is the code in Firstviewcontroller
(void)poptoRootview {
NSLog(@"poptoRootview");
[self.na... | stackexchange/codereview |
I was wondering if there is a simple way to style a ListView along with it's items like the conversation in android's text message app. There are rounded corners and stuff like that, where I'm not sure how I could implement this myself.
I know that I could look for the source code of it, and try to copy from there, but... | stackexchange/codereview |
Using linq and silverlight got this error....I am using POCO....DTO = POCO
public IEnumerable.....
var query = from d in Context.Documentos
where d.CodigoEquipamento == documentoDTO.CodigoEquipamento &&
d.Codigo == tipoEquipamentoDTO.Codigo
select new DocumentoDTO
{
... | stackexchange/codereview |
Can any one provide me an idea about any ajax control which has following capabilities:
User should able to type to get auto-suggestions
Dropdown should only display the values starting with the keyed-in characters.
Most importantly there should be only one postback to fetch all the data to client side on the first ke... | stackexchange/codereview |
I've followed the recommendation from the Devise github pages for this:
http://github.com/plataformatec/devise/wiki/How-To:-Redirect-to-a-specific-page-on-successful-sign-in
Now this works great, but how would you test that you have this behavior now?
| stackexchange/codereview |
I am looking for a regex pattern matcher for a String in HttpLogFormat. The log is generated by haproxy. Below is a sample String in this format.
Feb 6 12:14:14 localhost haproxy[14389]: 10.0.1.2:33317 [06/Feb/2009:12:14:14.655] http-in static/srv1 10/0/30/69/109 200 2750 - - ---- 1/1/1/1/0 0/0 {1wt.eu} {} "GET /index.... | stackexchange/codereview |
I'm working on an application supported by CouchDB. Essentially, I want to create a database for each individual user of my app. To accomplish this, the admin user will create the database, but going forward, the user will need to access their database (using HTTP Auth over SSL). I've been having a hell of a time figur... | stackexchange/codereview |
I'm teaching myself Android (using a book) and I've downloaded Tea Vui Huang's Droid X skin for the using with the Android SDK in Eclipse. When I run the emulator, the top of the window showing the Droid X's screen runs off the top of my laptop screen. Is there anyway to make the skin smaller? This happens with the W... | stackexchange/codereview |
I have a small java GUI application with a text field on it. When the user clicks the text field an event is triggered and the JFileChooser is launched. It's restricted to directories only.
What I'm trying to do is to get the full path of the directory that was chosen and put it in the text field.
I have no idea how ... | stackexchange/codereview |
I'm interested in pulling street view data at random within a country.
I can only figure out how to generate a point within a bounding box. Often it pulls data from nearby nations. I'm using a GIS server right now, but I'm interested in removing it from the workflow since it's a pain.
Anybody know of any javascri... | stackexchange/codereview |
This question is a follow up to a previous question I had
I'm trying to implement 2 factor authentication on the cheap. How would I do that?
I'm exploring the idea of using an android phone to SMS or robot talk a pin/token code to a user's home phone or mobile device. I'm looking at using android because the hardware ... | stackexchange/codereview |
I have spent some time trying to create a child window of an existing window by using the following piece of code on JNA (Java Native Access) but I guess it is pretty much the same with every other programming language trying to use Windows API.
Here is my declaration of CreateWindowsExA :
public int CreateWindowExA(... | stackexchange/codereview |
I'm discovering python, and I want to create a plug in application, I guess this is simple using python, but it will be nice create a generic start point application.
To be more specific, it could be a file.py that reads a XML or INI file to get the plug in's directory path, then load all .py files as plug in
Any Ideas... | stackexchange/codereview |
Matz supposedly said "mixins could do almost everything multiple inheritance do, without the associated drawbacks" (Matz words)."
First of all, why is Ruby module inclusion not 'multiple inheritance' ? It seems to me there is very little difference between modules and classes. The fact you cannot instantiate a module i... | stackexchange/codereview |
I was wondering if anyone would be able to help me with the following?
I need some more complicated rules for authorisation in a webapp than just role, which I have working fine. Something along the lines of "Allow all Admins. Allow Buyers, provided they have the correct department ID and are allowed to see this custom... | stackexchange/codereview |
I am currently setting up Paperclip for a model with Rails 3. When one of the fields fails validation (title), the user has to upload the file again. This is not very user friendly :/
The recommendation from the Paperclip forum is to move the Paperclip stuff into a related model. My model is very simple with just a fe... | stackexchange/codereview |
Last year we moved all our new functionality to ASP.NET MVC.
However we still have a load of legacy WebForms pages with lots of JavaScript code, and we're not going to get the chance to upgrade them any time soon.
More recently we also moved to ASP.NET 4, and that seems to have broken a load of the JavaScript code on t... | stackexchange/codereview |
I am trying to implement cover flow effect in my application by using objectiveFlickr project, But it shows
"target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphonesimulator' platform"
error whenever I am going to be run the application.
Note: I have i... | stackexchange/codereview |
I developed an application in ASP.NET MVC. This app has an action that returns a JsonResult and I get it with jquery in client side. Everything works fine but I'd like to know, if is there any way to make a security in this action to return only requests that came from my website.
Is there any way to avoid others webs... | stackexchange/codereview |
What is a good Twitter PHP Library other than Zend?
| stackexchange/codereview |
We are going to provide an advanced search option on a system that will let users find events that matches a name (textual search), have on or more tags assigned to it and that will start before or after a given date. Should I consider using hibernate search or something similar? Or should I just generate some jpql qu... | stackexchange/codereview |
I've been trying to figure this one out for a while but still no luck. I have a company_relationships table that joins Companies and People, storing an extra field to describe the nature of the relationship called 'corp_credit_id'. I can get the forms working fine to add company_relationships for a Person, but I can't ... | stackexchange/codereview |
There is a multi-module project. Inside the child I need to do some complicated stuff (integration test with deploying to application server and so on). So there is an integrationtest child, and from this module I need the root of the parent to reach other modules. I do not want to use "..". There is a property in inte... | stackexchange/codereview |
I have some C# code that is giving a StackOverflowException when running under IIS7 but when it is run under Cassini in VS2008 then the code runs fine.
Is this a known issue whereby Cassini handles these kinds of exceptions differently?
| stackexchange/codereview |
I have following code
#include <stdio.h>
#include<ctype.h>
typedef struct {
int Type;
int Type2;
}foo;
typedef struct {
char cData[40];
}bar;
int main()
{
bar b1;
strcpy(b1.cData,"11");
foo *f=(struct foo *)&b1;
printf("Type is %d \n",f->Type);
return 0;
}
But i am not getting the value of type 1 i... | stackexchange/codereview |
I would like to make an app that resembles winamp but has an youtube data input ( i.e. in stead of local music i have a multitude of links from which i stream music ) . I would like to know how to display the list? should i have an UserControl for each link or is there another way ? i was also thinking of storing the l... | stackexchange/codereview |
Hi
Can someone tell me why when I send broadcast ICMP Request, only router send me ICMP Reply?
Even if I modify MAC destination of this ICMP Request (original is FF:FF:FF:FF:FF:FF) to MAC specific host (IP still broadcast that local network ...it still don't send me Reply.
Why?
| stackexchange/codereview |
C++. Its may be more question of debugging in Visual Studio and working with memory.
I have a program that analyzes list of files, and path to current file is a concatenation of to strings: CString object named 'folder' and filename itself(CString too).
But after 144'th iteration(im sure the number is unimportant), fo... | stackexchange/codereview |
How can I add UITabBarController + UinavigatinbarController in the middle of an iphone application.
I dont want tabbar and navigationbar in my first screen but my rest of the application require UITabBarController + UinavigatinbarController.
How can I achive that ?
What type of project do I need to create ?
Is there an... | stackexchange/codereview |
Im working on a design in Blend 4 for Silverlight, however much of my text in the design needs to be in UPPERCASE.
It appears that Blend and XAML dont support this, I was wondering if its possible to do it in CSharp?
Basically I'd like to be able to style certain parts of text as UPPERCASE, can anyone suggest any code ... | stackexchange/codereview |
I want to dispaly a result parameter which return from servlet to jsp after an event happen.
so when i add new user for example a result parameter returns with value that the user has been added successfully , and i want to display the result in jsp page.
i make like this in jsp page
<%String result = String.valueOf(... | stackexchange/codereview |
I tried to compile using maven-flex2-plugin plugin with maven here is the error I got:
D:\PROJECTS\flex\Reports>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Reports Maven Flex
[INFO] task-segment: [clean, install]
[I... | stackexchange/codereview |
I have a byte array that can be very big in size. I want to bind it to a grid with a fixed size of column, lets say 10.
so the first 10 bytes will be on the first row, the 10 next bytes will be on the second row... until the end of the array.
I need to be able to edit any bytes and this need to be reflected into the ar... | stackexchange/codereview |
I have 3 models:
Post:
id
title
body
Photo:
id
filepath
Comment:
id
post_id
body
and corresponding tables in DB. Now, if I want to have comments only for my posts I can simply add following foreign key: ALTER TABLE comment ADD FOREIGN KEY (post_id) REFERENCES post (id). But I want to have comments for other model... | stackexchange/codereview |
I set up the facebook like button on my blog and when I click "LIKE", on my facebook profile, it says "XXX (my name) likes Yeok-Rin « GOINGNOWHERE on raw.herobo.com."
Only problem is that at facebook recent activity page, it doesn't show the link, as shown here
I "liked" a random post and a post from my blog and the... | stackexchange/codereview |
I want to check if a mobile browser has javascript enabled before displaying a page to the user. The code I've found from my research is:
System.Web.HttpBrowserCapabilities browser = Request.Browser;
Response.Write(browser.EcmaScriptVersion.ToString());
So to ensure that javascript is enabled on a browser, you need to... | stackexchange/codereview |
Google Chrome has an extremely annoying defect in its implementation of CSS3 text-shadow. The sub-pixel antialiasing is turned off when text-shadow is applied. No amount of -webkit-font-smoothing will persuade it otherwise. The crude alpha-channel anti-alias leads to shadow intermixing with the letters and this along w... | stackexchange/codereview |
Does anyone know a css(or html) editor that autocompletes code as firebug do in css?
I think its called autocomplete as you type.
thanks
edit:
i found a project called zen-coding that create shortcuts for coding html and css. but im still faster with firebug
| stackexchange/codereview |
My callback code (js file) is something like
function addcontent(Title, tUrl, bURL, Id,purl){
alert(Id)
var runcontent = new Ext.Panel({
id: 'tt' + Id,
region: 'center',
autoLoad: {
url: tUrl,
callback: function(el){
addwindow(el, Id, bURL,purl);
},
scripts: true,
... | stackexchange/codereview |
I have a query which is working fine:
BULK INSERT ZIPCodes
FROM 'e:\5-digit Commercial.csv'
WITH
(
FIRSTROW = 2 ,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
but now I want to create a stored procedure for it.
I have written below code to make its stored procedure:
create proc dbo.InsertZipCode
@... | stackexchange/codereview |
I'm trying to implement a Resource with the jersey framework.
But if I call my resource, I will get a parsing exception, that the parser can't parse JSONArray datatype.
Here's my resource structure:
@Path("/books")
@Consumes("application/json")
public class BookResource {
@GET
@Produces("application/json")
public JSON... | stackexchange/codereview |
My Windows XP workstation at the office had several old versions of the Java JDK installed on it. Today I decided to install the newest Java JDK and uninstall the older ones. BIG MISTAKE APPARENTLY!
I don't understand why, but XP seems to think that one of the removed JDK installations is the one that it wants to use... | stackexchange/codereview |
I have some code which updates a list of people to email. This list is updated often, with people being added and removed before the actual "send email" portion of the code is called. Currently my code to take care of this is something like this:
if (instructorEmailType == InstructorEmailType.AddToCourse)
{
// If i... | stackexchange/codereview |
I have some code in place currently to intercept all Cut, Copy and Paste events into a RichTextBox in WPF. These are designed to strip all content out except plain text, and allow no pasting except plain text (by using a check the Clipboard.ContainsText() method.) This seems to be successful at preventing all such oper... | stackexchange/codereview |
The password must have between 6-15 character and cannot allow the & and %.
| stackexchange/codereview |
I have an android application using LocationManager get the cell network location and not the Wifi location? If I have turned off the Wifi antenna and do the following:
LocationManager lm = (LocationManager) paramContext.getSystemService(Context.LOCATION_SERVICE);
Location location = lm.getLastKnownLocation(LocationMa... | stackexchange/codereview |
Basically I have some event listeners and their handling function defined as follows:
<div id="postTextBlock"/>
<div id="postImageBlock"/>
<div id="postQuoteBlock"/>
<div id="postLinkBlock"/>
document.getElementById('postTextBlock').addEventListener('click', function() { showPostType(postTextBlock) }, false);
document... | stackexchange/codereview |
lets assume you have a table with 1M rows and growing ...
every five minutes of every day you run a python programm which have to update some fields of 50K rows
my question is: what is the fastest way to do the work?
runs those updates in loop and after last one is executed than fire up a cursor commit?
or generate... | stackexchange/codereview |
I have a text field for documentation, which is working good. Now the problem is whenever user enters some new text into it. I need a date in format(dd.mm.yy), that should be attached to it automatically, with the time stamp.
For example, when the user first enters, "Problem with production". then clicks save then it s... | stackexchange/codereview |
I have used Visual Studio Professional 2008, and have been testing the free C# Express 2010 version recently. In general I'm amazed at how good it is for free, and how many of the full VS features it has. I'm thinking of using it for a commercial program and I know the license allows for that, it's just the description... | stackexchange/codereview |
I have this custom toolTip:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
implements="mx.core.IToolTip"
creationPolicy="all"
cornerRadius="4"... | stackexchange/codereview |
Seem to have a memory allocation problem and think it's because in my struct, there is a pointer to an array of another struct. However, I'm not initializing this array and not sure how:
typedef struct listitem {
struct listitem *next;
Entry *entry;
} ListItem;
typedef struct list {
ListItem *table[100];
}... | stackexchange/codereview |
I am loading a large text file into my db through LOAD DATA. The file is about 122,000 lines long. Let alone, The db is designed to be triggered on AFTER INSERT's on that table. What happens exactly is that the query begin executing, keeps executing for like 15-20 mins and then it returns
Error Code: 2013
Lost connect... | stackexchange/codereview |
In Python you can get the path of the file that is executing via __file__ is there a java equivalent?
Also is there a way to get the current package you are in similar to __name__?
And Lastly, What is a good resource for java introspection?
| stackexchange/codereview |
I've written a very basic HTTP-based server program that runs in the background on my computer to allow me to automate various tasks from my Android (via HTTP requests in Tasker). This all works fine (barring this problem), except that after more than about 30 minutes of inactivity, the application ends up falling asle... | stackexchange/codereview |
Im trying to create my own url scheme so my android app can get called via an URL but for now I dont have a success.
Im trying to have this url to work : cedemo://com.cedemo.scan?X=toto
Here is part of my manifest file :
<activity android:name=".Gallery1" android:label="@string/app_name" android:launchMode="singleTask"... | stackexchange/codereview |
Does anyone know of a text editor that searches within search results using regex?
I would like to perform a regex search on several text files and get a list of matches and then apply another regex search on the search results to further narrow down results. I would prefer a Windows GUI editor rather than a specialize... | stackexchange/codereview |
What would be the fastest way to sort a list that contains a list of objects, based upon another list? An example follows:
Say I have multiple lists of employees. Each individual list has a common property value, say "Department". So I have a list of employees, in one list they all have the department string value o... | stackexchange/codereview |
I'd like to test to see if I can send email unauthenticated from an smtp server from my red hat box.
If I want to send a test email from command-line, I would do something like this:
mail -s Test addr@domain.com < /dev/null
How do I specify an SMTP server to send the mail through?
| stackexchange/codereview |
In my controller i have:
@photo = Photo.find(:all)
respond_to do |format|
...
format.json { render :json => @photo.to_json)
end
so my response looks like:
{
"photo":
{
"updated_at":"2010-10-14T19:12:35Z",
"photo_file_size":206422,
"created_at":"2010-10-14T19:12:01Z... | stackexchange/codereview |
I have downloaded and installed Microsoft Visual Studio 2010 Express for Windows 7 Phone. Problem is that i cant see "Silverlight for Windows Phone" option when I right click my Project name and select Add -> New Item option. I can only see "XNA Game Studio 4.0" under "Visual C#" category.
I have tried installing Silv... | stackexchange/codereview |
I have a JFrame which pops up when the event occurs. I am having a functionality which when the event occurs the JFrame pops up and if we click on that Frame it will open the corresponding frame, but the issue is when I am not clicking the popped up frame when the event occurs, if another event comes its displays the f... | stackexchange/codereview |
I want to achieve something similar to this. But I don't know in what manner I can use that solution.
My entity has these properties
CustomerName
Date
SortOrder
I've whole list of this Entity. What I want to do is, group all those items in List<> which have consecutive SortOrder and same Date and same CustomerName
Exa... | stackexchange/codereview |
I know that default constructors initialize objects to their default values, but how do we view these values? If there's a variable of type int, it is supposed to be initialized to 0. But how do we actually view these default values of the constructors? Can anyone please provide a code snippet to demonstrate the same?
| stackexchange/codereview |
Why does the code have an error?
var images = ['/test/img/Gallery/large/4cba0c8a-4acc-4f4a-9d71-0a444afdf48d.jpg','/test/img/Gallery/large/4cba0ca8-2158-41af-829a-0a444afdf48d.jpg','/test/img/Gallery/large/4cbc549a-5228-433f-b0bc-0a444afdf48d.jpg'];
$('.triggerNext').click(function(){
nextImage();
return false;... | stackexchange/codereview |
I have a private gist. If I send the URL to a friend he can view it, but cannot edit it, unless he forks it.
Is there a way to edit it directly without forking it?
| stackexchange/codereview |
I am using Zend Framework 1.10.8 and MySQL Server 5.1.X. I create my data array to update the record but only one field updates.
<?php
$where = "`character_id` = '5'";
$healthGained = 5;
$data = array();
if ($healthGained > 0) {
$data['character_current_health'] = $character['character_max_hea... | stackexchange/codereview |
I have an project in NetBeans. I made some preparations to make database migration easier, and I put all things related to migration in one folder in root of my project.
Now I want to make this whole directory included in the distribution jar or war.
I deducted that i have to modify the ="-pre-dist" target, but I not ... | stackexchange/codereview |
What I am trying to do is to change an image on my webpage when the user mouses over a thumbnail of it. It is easy for me to do it this was because the thumbnail src only has 'tn_' appended to the filename and is otherwise identical.
The problem I'm having is that when I switch the src on the image the attr function re... | stackexchange/codereview |
Is there a way to monitor commits to a CVS repository on a daily basis say, and for those changes to be replicated in a local SVN repository. Ideally maintaining commit comments.
A little perl ditty maybe?
Thanks, Steve.
| stackexchange/codereview |
I'm having trouble setting Subversion's root folder for repositories. The path has gotten pretty long and I'd like to shorten it to "/".
We currently access Subversion from clients via:
svn+ssh://server.domain.com/Library/Subversion/Repositories/project/trunk
and would like to shorten URL to:
svn+ssh://server.domain.c... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.