instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a db schema for a fitness application which includes some of the following relational tables - Customer, Session, Workout. Cust to Sess is 1 to many, Sess to workout is 1 to Many. When buidling by repositorys in EF 4, should I create just the one? As each table is related and so I can expose the data of all tabl... | stackexchange/codereview |
I'm looking for a way to convince Eclipse that a directory has indeed been removed from the CVS repository, permanently?
With regular command line CVS I would just edit CVS/Entries in the directory's former parent. With Eclipse, I've tried removing the directory from the Project Explorer view, removing the appropriate ... | stackexchange/codereview |
I am facing a situation in which both the codebehind file of an ASPX master page and that of a regular ASPX page that does not use the master implement an interfance. The implementation is exactly the same.
Is it possible to make the two codebehinds share the implemenation instead of each has its copy of the same imple... | stackexchange/codereview |
Assume a legacy class and method structure like below
public class Foo
{
public void Frob(int a, int b)
{
if (a == 1)
{
if (b == 1)
{
// does something
}
else
{
if (b == 2)
{
... | stackexchange/codereview |
i have some complex select and result need to place in the table.
I try this:
INSERT INTO SAMGUPS_STATISTIC_STANTION
(SAMGUPS_STATISTIC_STANTION_SEQ.nextval)
(
with PRG as (
select
ID_OBJ
from PEREGON where ID_STAN1=&arrival
),
STN_OBJ as (
select
distinct ID_OBJ_P as ID_OBJ
from TMO star... | stackexchange/codereview |
I'm trying to start programming in ruby on rails for web.
I use Ubuntu 10.04. My IDE is NetBeans.
I installed all packages needed to run ruby, rails. I like to use apache for PHP, so I decide to keep with apache installing Phusion Passenger. I also configured a virtual host for port 3000 (I changed the ports.conf too).... | stackexchange/codereview |
I am trying to use the overload of MAF's AddInToken.Activate() method that accepts an AppDomain, so that I can pass an application domain created by my client application.
When the passed AppDomain is configured with unrestricted permissions it works fine, but if I reduce the permission set (for example, by using the I... | stackexchange/codereview |
I have the following code:
$('#main-nav a').mouseover(function() {
var name = $(this).attr("rel");
$("#subnav ul." + name).show();
})
Basically the code just gets the value of the rel attribute of a link when it is hovered over and then makes any ul with a class of the same value appear.
This code works fine i... | stackexchange/codereview |
Hello I am trying to output my memory use in PHP.
My code looks like this:
exec('free -m', $out);
var_dump($out[1]);
list($mem, $total, $used, $free, $shared, $buffers, $cached) = explode(" ", $out[1]);
echo "Memory: " .$used. "/" . $total;
Now the problem is that the text prints
Memory: /
And the var_bump gives me ... | stackexchange/codereview |
Possible Duplicate:
File Upload to HTTP server in iphone programming
How can i upload images and text to HTTP server in iphone programming...and which API used for it........
Thanks in advance..
| stackexchange/codereview |
I am new to Ruby and I read about a "polymorphic relationship".
What I read was over my head. Can you help me understand what a polymorphic relationship is in simple terms?
| stackexchange/codereview |
Is there a one-click way to open an mdf file that resides in the App_Data of the current editing project in Visual Studio 2010 with SQL Server Mangement Studio 2008 R2?
UPDATE:
I am also looking for the opposite way, where I want to execute a generated SQL script to a database that resides as an mdf file in the local A... | stackexchange/codereview |
How can I encrypt a string with MD5 in Rails 3.0 ?
pass = MD5.hexdigest(pass) in a model yields uninitialized constant MyModel::MD5
| stackexchange/codereview |
SELECT ID,
Name,
(SELECT CityName
FROM City
WHERE Employee.CityID = City.CityID) AS [City Name]
FROM Employee
WHERE [City Name] = "New York"
I'm about selecting all employees who come New York but whenever I run the query, I always get a “Enter Parameter Value” box. How can I fix th... | stackexchange/codereview |
I want to split a string into a list in python, depending on digit/ not digit.
For example,
5 55+6+ 5/
should return
['5','55','+','6','+','5','/']
I have some code at the moment which loops through the characters in a string and tests them using re.match("\d") or ("\D"). I was wondering if there was a better way of... | stackexchange/codereview |
I have a few pages. page1 <body id="page1">, page2 <body id="page2">, page3 <body id="page3"> then I want write all the css rules in one css file 'style.css', set page1 background color:#000; page2 background color:#fff; page3 background color:#00f;
body #page1{background-color:#000;}
body #page2{background-color:#fff;... | stackexchange/codereview |
In Scala, how can I transform:
<p>here we have a <a href="http://www.scala-lang.org/api/current/index.html">link</a> example.</p>
to
here we have a \url{http://www.scala-lang.org/api/current/index.html}{link} example.
where <p></p> maps to "nothing", and <a href"_">_</> maps to \url{_}{_}
| stackexchange/codereview |
Some Google search results have special "navigation" items right underneath their descriptions. Sometimes it even separates the query string from the URI and puts (an) arrow(s) in between. I'm sure you've all stumbled upon that some time.
Here's a picture so you get an idea of what I'm talking about:
(source: gyazo.co... | stackexchange/codereview |
why is c++builder2010 code completion so slow!
| stackexchange/codereview |
I am currently profiling my iPhone application start-up in an attempt to get it to start as quickly as possible. In the first 19 seconds of my application being started I call NSDateFormatter's stringFromDate method 6 times with the following format string: @"h:mm a zzz"
The NSDateFormatter instance itself is shared by... | stackexchange/codereview |
How to make a build in VS 2010 within an ASP.NET MVC application that would remove all of the source code (CS and VB) files? When I build a website or web app I usually copy the contents of the entire solution to the hosting server. Mostly clients get the source but sometimes I do not want to expose the source to the h... | stackexchange/codereview |
They asked how to capture keys such as F11 or insand getchr does not return anything for those keys, and there is nothing I can find working that accepts raw input from input events..
I am now trying ncurses/curses in a C++ program to capture these keys.
My program to test is simple, it is basically:
#include <stdlib.h... | stackexchange/codereview |
I have a table in a mySQL database we'll call 'tbl' where the fields are:
id, userID, favorite, emailID
The id is auto incremental. The userID stores an integer. The favorite is either yes or no. The emailID stores an integer.
I am programing in PHP and would like to have one query used to query the database that ch... | stackexchange/codereview |
I am trying to work on annotationg the entities in twitter datasets mainly, name, organization, location and place. I am trying to generate a feature set for this purpose. Any recommenadations on where and how can I get a list or database of all such entities so that I can use those to annotate the entities.
| stackexchange/codereview |
We're looking for a fast, flexible way of generating templated content (in this case personalized e-mails in text and HTML format) from a .NET console application.
We have no VirtualPathProvider and no valid HttpContext.Current, which, from our initial experiments, means it's going to be very, very hard to use the WebF... | stackexchange/codereview |
how do i find out the number of properties in any element of the ArrayCollection?
The structure of the ArrayCollection wud be something like:
var arrColl:ArrayCollection = new ArrayCollection([{column1Data:"someData",column2Data:"someData"},{column1Data:"someData",column2Data:"someData",column3Data:"someData"},
{co... | stackexchange/codereview |
I am looking for a Library that allows me to create Charts like the "Annotated Time Lines" that are e.g. used on Google Finance. I can't use the Google API because it relies on Flash and my chart should not only work on all common browsers but also be usable with mobile devices like the ipad.
I don't need all of the fe... | stackexchange/codereview |
I want to create a custom OptionsMenu in my application. The default OptionsMenu display only three items in one row. Now i want to display five to six items having only icons. Also i want to change the background color of the OptionsMenu but not getting the appropriate way of doing this. If it is possible then please ... | stackexchange/codereview |
if the code is :
#ifdef ABC
code();
#endif
I want to access the function code() using Open Declaration. How can I do this without defining ABC in source code..
| stackexchange/codereview |
call from main
matrix_multiplication(arrayA,arrayB,row1,col1,col2);
function definition
float matrix__multiplication(float **arrayA,float **arrayB,int row1,int col1,int col2)
{
float result[row1][col2];
result[][]=....
return result;
}
I wanted to know how to pass 2d arrays in function call,
how to receive in functi... | stackexchange/codereview |
The Linux kernel uses lock; addl $0,0(%%esp) as write barrier, while the RE2 library uses xchgl (%0),%0 as write barrier. What's the difference and which is better?
Does x86 also require read barrier instructions? RE2 defines its read barrier function as a no-op on x86 while Linux defines it as either lfence or no-op d... | stackexchange/codereview |
let's say I want to run ./program with a string argument
instead of typing
./program string each time, how can I do ./program <file> where <file> is a file that contains string?
thankyou
| stackexchange/codereview |
Abstract Question
What is the best way to load resources into memory that will be shared across servlets in a Java application server?
What I am actually doing
I want to create a daemon thread that monitors a queue. This queue could have objects added to it from servlet threads. The thread would wait until a set period... | stackexchange/codereview |
Is there a common api such that if I switch between Redis or Memcached I don't have to change my code, just a config setting?
| stackexchange/codereview |
I have an app based on a tab bar and data retrieved from the Internet. The main tab shows a map and one of the other tabs shows incidents around the center point of the map displayed using a UITableView. If the user moves the map and then moves to the incidents page, I need to refresh the list of incidents displayed ... | stackexchange/codereview |
JSR 275 seems to be in a rejected state. JScience seems to have an implementation and there seems to be unitsofmeasure.
Are there any other open source implementations?
Which package is jsr-275 compliant and easy to use.
| stackexchange/codereview |
How can i achieve this using jQuery. I have two text inputs on the page, so when the users has entered text and left the input field, for that text to be inserted into the DOM so i can access it?
EDIT:
To clarify i have this:
Expected Delivery Date: <input id="exp" type="text"></input>
What i'm trying to do is print t... | stackexchange/codereview |
I'm following the answers given in this thread here: Access codebehind variable in XAML
Here's what I'm trying to do:
<Rectangle Name="MyRect" Fill="AliceBlue" MouseDown="Rectangle_MouseDown">
<Rectangle.RenderTransform>
<TransformGroup>
<RotateTransform Angle="0" CenterX="300" CenterY="150"/>
... | stackexchange/codereview |
I am currently working on exporting information from browser to word document. I am having information which contains colors and shapes. Now when I export them using wordprocessingML I am able to export text that are highlighted in colors. But I am also having certain text in browser that are encapsulated with circles ... | stackexchange/codereview |
I need to check whether mail is bounced mail or not.
There one library available which can do this. http://sourceforge.net/projects/bmh/
But my problem if as below:
Above library will open the actual mail box and fetch the bounced mails from it.
But in my case I have one text file in which source of the full email wit... | stackexchange/codereview |
I am looking for a script that will go through ~75,000 SWF files that we have, will decompile each and find all the Shapes/Elements which size is greater than x.
The output should look smthng like:
SWF Filename "SWF Path" "SWF overall Size" "Element Name" "Element Size"....
Does anybody know of a software that might... | stackexchange/codereview |
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PaymentNotification xmlns="http://apilistener.envoyservices.com">
<payment>
<u... | stackexchange/codereview |
I have DOM elements whose id may contain '/' in it.
I want to use following formate, as I need all elements having the id
for Ex:
jQuery('[id=activities/_terp_count]') //returns null
Note that ,
jQuery('#activities/_terp_count') //returns null
| stackexchange/codereview |
I have a method in a service which I want to test. That method calls another method in the same class. This method is already tested so I want to mock that method.
This is my setup:
private readonly Mock<INewsLetterRepository> _mockNewsLetterRepository;
private readonly Mock<INewsLetterService> _mockNewsLetterServi... | stackexchange/codereview |
I have a very basic slider on my homepage, but for some reason it stopped working in IE7, 8 and 9. I have no problems in all other browsers tested.
Here is a link to the JavaScript file I am using:
http://pastebin.com/xw3MpvCA
The relevent code for this slider is on the top of the file.
the website in question:
http:/... | stackexchange/codereview |
what is the use of the url munging & how ?
| stackexchange/codereview |
I'm developing a CMS for a client where he can only access it with a password.
In this site he can edit, delete, create new articles.
I use this system:
classes called by the "action files" than handle data, process and output them
php files that print the html code received from the classes
The problem is that with ... | stackexchange/codereview |
I am trying to know how frequently an event happens, and the occurence of this event in my database is recorded by setting a boolean to 'TRUE' and the non-occurence is setting it to 'FALSE'.
But when I am try to select the value by using the function avg() it returns me this error:
ERROR: function avg(boolean) does no... | stackexchange/codereview |
I'm using the Scrum Template in TFS. I have a SharePoint portal associated with my project.
Unfortunately, I cannot find the Product Planning Workbook. I thought it was supposed to show up magically in the Shared Documents section of the Team Project but Shared Documents is blank.
Did I mess up something during config... | stackexchange/codereview |
I have 90 html files where an audio file is played (wrong link), I need to change the src of the audio file in each one of these files.
from
<embed src="../audio/" autostart=false width=0 height=0 id="sound1" enablejavascript="true">
to:
file 1:
<embed src="../audio/1.mp3" autostart=false width=0 height=0 id="sound1"... | stackexchange/codereview |
I have a small SDI application to which I am trying to add tracking of menu usage, ie. how many times certain menu items are selected by the user.
Some menu items are handled by the View component (DemoView.cpp) and others by the main app (DemoApp.cpp). Since the tracking structure is defined in the main app, I believe... | stackexchange/codereview |
I have four characters as
ch1,ch2,ch3,ch4. I am reading a binary file.
Que- What following code indicates?
int GetLong(FILE * hTTF)
{
int ch1 = getc(hTTF);
int ch2 = getc(hTTF);
int ch3 = getc(hTTF);
int ch4 = getc(hTTF);
if ( ch4 == EOF )
return( EOF );
return( (ch1<<24)|(ch2<<16)|(ch3<<8)|ch4 )... | stackexchange/codereview |
I'm surprised I couldn't find an answer to this anywhere.
I'm writing a roguelike and I'm using the ncurses library from hackage, which is a pretty good wrapper around the ncurses library. Now ncurses has this quirk where if you try to write the bottom right character, it does so, then it tries to move the cursor to t... | stackexchange/codereview |
I have a C# dll that has some embedded resources and i'm having troubles with a couple of them. What would be the best app's to pull these resources out so that I can check them over?
| stackexchange/codereview |
I'm using a Web Service that has a endpoint of http://api.domain_a.com/ and using Visual Studio I can easily generate a proxy class to work with the service easy and simple.
But I want to create a way that users can use their own service (and access their own data, instead my own) and I wanted to know if there is a wa... | stackexchange/codereview |
I'm having problems with a view I'm implementing.
It's a view that shows a pdf page in a CATiledLayer. That tiled view is inside an UISCrollView.
I had the view controlling itself as the "ZoomingPDFView" apple example. I made a few modifications so it would recognize swiping gestures when scrolling is not enabled and a... | stackexchange/codereview |
I have a foreach loop that starts a process within a try/catch. In the finally section of my try/catch/finally I am trying to ensure the the process does not have a handle on any files. I have to delete files that were being processed.
Nothing I have tried seems to be working. I continue to get System.IO exceptions. "T... | stackexchange/codereview |
I am working on tab bar application in which i called navigation controller on following way
The problem is i cannot able to oriented to Landscape mode. can anybody please say what i went wrong?
Regards,
sathish
-(IBAction)click
{
tabBarController = [[UITabBarController alloc] init];
NSMutableArray *localCo... | stackexchange/codereview |
I bound to class' get only properties (for example)
public bool IsRunning
{
get
{
return myThread!=null && myThread.IsAlive;
}
}
using binding source. And controls bound to it do not reflect changes on get only properties.
I thought I could implement INotifyPropertyChanged inter... | stackexchange/codereview |
In .NET/Windows there is the PROCESSOR_ARCHITECTURE environment variable which identifies whether a running process is x32, x64 or IA64.
There's also the GetNativeSystemInfo API method which can tell whether Windows OS supports x86-64.
Is it true that there always will be an x64 version of .NET Framework as long as x8... | stackexchange/codereview |
How can I restrict keyboard shortcut options in x11vnc?
for example, I want to restrict Alt+F4, Alt+x, Ctrl+Q, etc.
Is -skip_keycodes option of any help here?
| stackexchange/codereview |
What could be the reasons for the Main application form not to be shown in TaskBar?
ShowInTaskbar property is set to "true", but form doesn't show itself there if after running the application and before the Main form appears I switch to some other window. Form exists, but until I minimize apps that are above to make ... | stackexchange/codereview |
I want to ship my iPhone app with some preferences but I don't need to create a "Settings App" using a plist and all that. I would like to do this using NSUserDefaults and know how to store and retrieve using this class. However, I'm struggling with how to have an initial set of preferences there when the user loads ... | stackexchange/codereview |
My iPhone app has an Info page, which contains a UIWebView, which I have pointed at my website's info page:
NSString *urlAddress = @"http://www.toneme.org/Software";
NSURL *url = [NSURL URLWithString: urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL: url];
[self.webView loadRequest:requestObj];
... | stackexchange/codereview |
I have the following query that works under Hibernate but not under eclipse:
select o from Organisation o where o.code=:code and o.type=:type
It is not clear to me why this is the case, I was hoping someone else could elaborate for us. The error being returned is:
Caused by: java.lang.IllegalArgumentException: An exce... | stackexchange/codereview |
I've tried a couple of ways (http://emmense.com/php-twitter/ and http://www.webmaster-source.com/2009/04/05/post-to-twitter-from-a-php-script/) to post updates to my twitter account but I am getting the response:
Basic authentication is not supported
I had a look at the twitter website and they said something about the... | stackexchange/codereview |
I'm making animation of moving window on desktop. I have found somewhere info that the best way for this is creating own property and animate it instead of Left and Top separately.
The problem is that this property is initialized with value (0, 0). I want my property to get value from Top and Left of my window, and se... | stackexchange/codereview |
I want to display my record from the SQL Server db can some help me with the function I need?
I am using C#, SQL Server 2005, the table is created with name and address etc.... etc, I insert it successfully is connected now I want to get the record from the table
| stackexchange/codereview |
I have the beginnings of a query:
SELECT tf_threads.*, tf_posts.* FROM tf_threads, tf_posts WHERE tf_threads.thread_id=54
Of course, it's just the start of one - I'm moving one step at a time so it will become much better as time passes. What I'm stuck on at the moment, however, is how to get a WHERE clause to compare ... | stackexchange/codereview |
I've got a site hosted with 1and1 - who are useless! For some reason the backup scripts they provide no longer work and they can't provide me with an answer! So I thought I'd write my own, this is my code:
$command = "mysqldump -u [usernameXXXX] -p [passwordXXX] [dbname] > [backupfile.sql]";
system($commmand);
howev... | stackexchange/codereview |
I'm building a SL4 app. I have two controls, a top search bar and a bottom favorites bar, that I'd like to be present on every page. I'm not sure what the best way to do this is.
My current approach uses a nav frame as the root visual:
App.xaml.cs:
this.RootVisual = new NavFrame();
NevFrame.xaml:
<Grid x:Name="LayoutRo... | stackexchange/codereview |
Possible Duplicate:
Distributing Python programs
I have several source codes for some GUI programs I made in Python. I'd like to distribute them. However, I'd like to make it as easy as possible for the end user to get the program up and running. What are the common way's of going about this problem?
This is in ref... | stackexchange/codereview |
i need to implement an auto suggestion feature in my website and i need some java script framework or code that should be easily developed or edited and the autosuggest will be multiple field
| stackexchange/codereview |
-setPrimitiveValue:forKey: won't trigger KVO notifications. But in my brain, KVO only makes sense when something changes. But how can change something when I only access it for read?
-primitiveValueForKey: only gets the object for some key. But it won't modify it. So why would/could this cause KVO notifications when us... | stackexchange/codereview |
I have two servers, both running phpmyadmin, and I exported a mysql dump on one using the export tab on phpmyadmin, and I tried importing the query with phpmyadmin on the second site.
I get this error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version... | stackexchange/codereview |
I'm working on an ASP.Net webpage which will use the jQuery Dropdown Checklist (http://code.google.com/p/dropdown-check-list/). I'm fairly inexperienced with JavaScript and completely new to jQuery.
Could anyone help me with a JavaScript function that de-selects items from a jQuery DropdownChecklist? It would need to ... | stackexchange/codereview |
I'm having an issue when presenting a modal view controller within a popover using the modal presentation style UIModalPresentationCurrentContext.
Something strange is happening to the border of the popover, here are some before/after screenshots:
Before presenting the modal controller:
And now once the modal controll... | stackexchange/codereview |
after upgrade, all the pages see Models as Object.
I've upgraded using migration guide here
basically just copying some scripts, and re-mapping mvc assembly reference to 3.0
For some reason, all of my controls are now not seeing any properties on my models.
here is how i define the model type:
<%@ Control Language="C#... | stackexchange/codereview |
This may not be the right place for this question, but the reason I ask here is because I am a programmer and am thinking about implementing my own solution.
We ship about 1000 packages per day using UPS.
Currently there is a lot of manual data entry into the UPS shipping software. The employee will get the package, pu... | stackexchange/codereview |
I'm uploading a file using jQuery through Ajax. I'm submitting some form elements also, which needs to be [utf-8] multiple language support. When submitting, it becomes junk values. How do I solve this issue?
Help me. Thanks in advance.
Firefox am using.
$.ajaxFileUpload(
{
url:action,
... | stackexchange/codereview |
What is the maximum amount of local memory (not Memcache) each instance of a Google App engine app is allowed to consume?
I couldn't find any information on the GAE quotas page.
| stackexchange/codereview |
i have code, from http://www.koders.com/csharp/fid474AD07673DE318A1237D142E2BEF5E41CAFAA8B.aspx?s=opc#L1
ComApi.CreateInstance(...)
and i have compiler error, that namespace 'ComApi' doesn't exist.
Which assembly must i add to project, to make it work.
| stackexchange/codereview |
In Oracle's SQL*Plus, the results of a SELECT are displayed in a tabular manner. Is there a way to display a row in a key-value manner (like MySQL's \G option)?
The database I am working on (the schema is not defined by me) has a bunch of columns named e.g. YN_ENABLED (YN = yes no) which are CHAR(1). So when I do a que... | stackexchange/codereview |
I want to add css top position relatively.
if its top position is 30px, I want to add its position +30,
so its result is 60px.
so I have to do this like this,
$("#btn").css("top", $("#btn").css("top")+30);
is there any shorter way or effecient way to do this.
| stackexchange/codereview |
is there any service from where we can download tweets?
UPDATE!!!
Googling for sometime gave me this result
a.) http://snap.stanford.edu/data/twitter7.html
b.) http://140kit.com/datasets
| stackexchange/codereview |
I have a Visual C++ 9 Win32 application that uses a third-party library. When a function from that library is called with a certain set of parameters the program crashes with "exception code 0xC000000D".
I tried to attach Visual Studio debugger - no exceptions are thrown (neither C++ nor structured like access violatio... | stackexchange/codereview |
hello
I have a problem with inheritance in EJB. I show you my code after
@Entity
@Inheritance(strategy=InheritanceType.JOINED)
@DiscriminatorColumn(name="PROJ_TYPE")
@Table(name="PROJECT")
public abstract class Project {
@Id
private long id;
...
}
@Entity
@DiscriminatorValue("L");
@Table(name="LARGEPROJECT")
pub... | stackexchange/codereview |
I need to simulate 'n' number of request per minute. I am load testing 5 different webservices each of which should be simulated with different 'n' requests per minute. Which is the best way?. Do I have to use timers?. Can I attach a timer to a Sampler or should it be attached to a thread group only?.
| stackexchange/codereview |
It works but it is a little problematic. When there are multiple small droppable areas near each other (15x15px) and I want to drop a 150x150px draggable item in a correct container, it is very difficult to get it right.
Is there a way to make the draggable item drop at a current cursor position?
I could then use curso... | stackexchange/codereview |
I got a situation when some part of data stored in database so there is no problems to handle it with django admin. But some data stored in few files on filesystem and i need to parse and show them (no need to have all CRUD operations here, only listing)
I have a way to build custom admin but i prefer to do that with s... | stackexchange/codereview |
I have to generate password protected csv file through php script. Generation of csv file through php script is easy and I have done this, but I am facing problem in making password protected this file. Please suggest how this can be done.
| stackexchange/codereview |
I've a basic website with 5 pages. These 5 pages represent a 5 step process. Each step requires data from previous page, which is saved in session. If at any step, required data is missing, page is redirected to home page.
When a crawler crawls home page, it can't go beyond step 1 since required data is missing in next... | stackexchange/codereview |
Can anybody give me some simple code that would give me the ability to search a simple string in a memo and have it highlighted in the memo after being found?
| stackexchange/codereview |
Currently, I want to exclude some files from the default src/main/resources folder into my WAR when packaging
I tried using maven-war-plugin with the following configuration but failed.
<webResources>
<resource>
<directory>src/main/resources</directory>
<targetPath>WEB-INF/classes</targetPath>
<excludes>
... | stackexchange/codereview |
I decided to add logging system to my gwt service layer. First of all I wanted to log all exceptions that are thrown from that layer. I had an object similar to Spring's ServletDispatcher, which calls other services. I thought I could add logging there, but I realized that GWT services wraps checked exceptions in Servl... | stackexchange/codereview |
I need to set the fixed width for the background image. It should work fine in both IE and Firefox. How to do get this ?
| stackexchange/codereview |
I'm writing an iphone app that has 3 tabs. The first two are UITableViews, but the third tab i want to be a UINavigationController, because it is to be used for editing a list of recipes.
I've tried every combination of nibs i could think of to get this to work properly but am having problems such as:
once you click o... | stackexchange/codereview |
How do I draw a simple line dynamic graph on the iPhone? The x-axis should show the profit by default and the y-axis should show the loss value.
I'm trying the plot, but I am unsuccessful. Do you have any ideas or examples? Please help me.
Thanks.
| stackexchange/codereview |
In the project I'm working on, we've just started to use Flex 4. We don't use any particular framework and management wants a full view/separation architecture. The basic principle is to associate each time an ActionScript class as a model to the .mxml view.
I'm having a hard time understanding how to link the two : w... | stackexchange/codereview |
I want my clients to pay using Paypal's express checkout flow. My website is developed in CodeIgniter. I am receiving 404 error when the customer cancel and return to the website bcoz Paypal adds ?token=$$$$$$$ at the end of the cancel url.
Can you help me friends?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.