instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
(This question has been asked before, but a while back: Suggestions for Grails .gitignore; it was answered for grails 1.0.x)
What files in a Grails 1.3.x project should not be included in version control?
| stackexchange/codereview |
In plain old SQL, I can do something like this:
select * from mytable COLLATE Latin1_General_CS_AS
Is there a way to specify the type of collation I want to use for a given query in nHibernate, in HQL or in criteria?
| stackexchange/codereview |
I have 2 different server running django in it. (using postgre)
Both has the same user table.
I wanted to synchronize the user table, as if I update or delete user in one server then the 2 db should also get updated.
I guess replication is not a solution for my case.
Can anyone point me in right directions. or any li... | stackexchange/codereview |
gcc 4.4.4 c89
I have always done the following when using structs to hide the elements in the implementation file.
port.h header file
struct port_tag;
struct port_tag* open_ports(size_t port_id);
void close_ports(struct port_tag *port);
port.c implementation file
#include "port.h"
typedef struct port_tag {
size_t... | stackexchange/codereview |
I want to download songs and photos with my iPhone from a website that offers them for free.
I’m using a webView for that instead of Safari.
I’m thinking about downloading the files, just like I download to my Nokia mobile.
How can I do this?
| stackexchange/codereview |
the license agreement for the Mac Developer Program explicitly states that I am not to implement my own copy protection process in my Mac app.
Yet, in the developer documentation, Apple also says this:
You can add receipt validation code to
your application to prevent
unauthorized copies of your
application from... | stackexchange/codereview |
I have a class that wants to be initialized from a few possible inputs. However a combination of no function overloading and my relative inexperience with the language makes me unsure of how to proceed. Any advice?
| stackexchange/codereview |
I need to write a client/server app stored on a network file system. I am quite aware that this is a no-no, but was wondering if I could sacrifice performance (Hermes: "And this time I mean really slash.") to prevent data corruption.
I'm thinking something along the lines of:
Create a separate file in the system every... | stackexchange/codereview |
Sorry to make people confused. I simplified the question, which is the checkbox. Basically I want a listview like this, I want the checkbox be toggled when clicked.
[textview][checkbox]
[textview][checkbox]
[textview][checkbox]
[textview][checkbox]
The problem is the checkbox cannot work correctly. When I clicked a c... | stackexchange/codereview |
I'm parsing a third-party web page using PHP's DOMElement controls. When I use the web page with my browser and view the source, it's clean, but when I access some of the nodes through the DOMElement->nodeValue parameter the HTML tags aren't there, and there are several newlines and this character Â. According to thi... | stackexchange/codereview |
How can I completely remove a revision from the SVN on google code's project hosting website? I would like to delete the revision from the website so nobody can view or access it.
| stackexchange/codereview |
I have a table with 2 columns. I want to provide the 1st columns value but use a select statement to query another table to figure out the value that will go in the 2nd column of the first table.
Heres what I came up with but I know is wrong..
INSERT INTO VehicleModels_VehicleSubModels (VehicleModelId, VehicleSubModelY... | stackexchange/codereview |
I am developing a website linked here with 3-level dropdown menus (main, and 2 sublevels). I'm developing with MODx cms and Wayfinder for menu-creation.
The CSS is picked somewhere, higly modified and works, but I do not understand 1 detail.
When you look to the site's menu: rightmost main-menu item ("links") --> Links... | stackexchange/codereview |
I want to access a variable of type Map from my model using EL. e.g.
${name} = "mycar"
${mycar} = "ferrari"
I tried ${${name}} but it doesn't work. The expected value is "ferrari". What do you think is the correct syntax for this?
| stackexchange/codereview |
In C#, we have var data type but we can't use it as functions return type.
Why this is not possible?
public var myFunction()
{
var = some operations
}
| stackexchange/codereview |
I am greatly liking WxWidgets, and started with C++ programming in it. My sample program converts Celsius into Fahrenheit from a text form. Here is my basic code:
//get "100" from textbox
wxString szCelsius = TextCtrl1->GetValue();
long lCelsius;
//attempt to cast into long
szCelsius.ToLong(&lCelsius, 10);
//formula ... | stackexchange/codereview |
hey guys,
weird question - i have no idea how to describe what i want i in the title of this question.
i wonder how i can measure or query how much megabytes or kilobytes my browser has to download to view my front-page of my website.
i'm trying to optimize my website for mobile devices and so i wonder how much bytes ... | stackexchange/codereview |
I am working on a translation application. This application translates strings in to different languages. After translation, I am storing the values of translated string in to database. I want to export the file along with unicode values. The exported file extension is .po. How should I do that?
| stackexchange/codereview |
I have created a custom ArrayAdapter to display data within ListView items from an array of
data structures and for some reason when I scroll up and down really quickly the display will do strange things.
Here is my getView function from the custom ArrayAdapter. My first guess would be because of the if (d.highTemp !... | stackexchange/codereview |
I need to program an application that manages a pool of connection. I would like to know which algorithms should be studied.
| stackexchange/codereview |
I'm a beginner with this.
In my project I need to calculate a two-digit 256modulo checksum, how do Icalculate this? Or can I implement some other checksum algorithm that is better?
| stackexchange/codereview |
I have installed Crystal Reports and am using it in Visual Studio 2005.
Can anyone help me as to how i can use SQL Server 2000 to generate reports using Stored Procedures.
| stackexchange/codereview |
I have a template that displays a list of objects from the database.
{% for item in items %}
<li>
{{ item }} - Tags:
{% for tag in item.tags.all %}
<a href="/{{ user }}/{{ tag }}/">{{ tag }}</a>
{% endfor%}
<br>
{{ item.notes }}
<br>
{{ item.date_modified|humanize_time_diff }}
<a href="">delete</a... | stackexchange/codereview |
I am creating a form which allows people to enter a video url. Standard input form, to accept a URL like:
http://video.google.com/videoplay?docid=1299927595688205543
I would like to add a button (within the form, which says something like [preview video]). Basically that button/link appends the link they entered into... | stackexchange/codereview |
Ok I have a resource in Tomcat 5.5 in server.xml for database connection like this:
<Resource name="jdbc/MyApp" auth="Container" type="com.mchange.v2.c3p0.ComboPooledDataSource" driverClass="com.microsoft.sqlserver.jdbc.SQLServerDriver" maxPoolSize="100" minPoolSize="5"
acquireIncrement="5"
user="username"
p... | stackexchange/codereview |
I have a string variable which I would like to extract the title value in id="resultcount" element. The output should be 2.
var str = '<table cellpadding=0 cellspacing=0 width="99%" id="addrResults"><tr></tr></table><span id="resultcount" title="2" style="display:none;">2</span><span style="font-size: 10pt">2 matching ... | stackexchange/codereview |
I have click function for a table row which needs to pass the content of the first two tds in the row.
// Assign a click handler to the rows
$('#supportTables1 tr').click(function ()
{
var firstTd = $(this).find('td').html();
//need to get the next td. below line doesn't work.
var secondTd = $(this).find('... | stackexchange/codereview |
I have a datagridview that is populated and added to the winform programmatically.
The number of columns within the gridview can vary greatly, so I want to change the size of the actual Gridview width to fit the number of columns.
Could anybody suggest how to do this?
Thanks.
| stackexchange/codereview |
I need to do a Mid or Find on a cell formula rather than cell contents.
If my cell formula is:
=[Func](Arg1, Arg2, Arg3)
I need to be able to extract say Arg2 to another cell.
Is this possible without using VBA or a special Excel Add-In?
I've tried using the Cell but there is no option to return the formula a cell cont... | stackexchange/codereview |
Each record in my report includes (amongst other information) a set of other data items of the format "ItemName X Y Z" where X, Y & Z are numerical values.
When displayed this set will be grouped (as illustrated below) according to a properties of each item, and displayed in a table or similar.
The values X, Y and Z wi... | stackexchange/codereview |
I have a UIButton which has an IBAction as well as a UITapGestureRecognizer to detect double taps.
At the moment it looks like the IBAction is blocking the recognizer. Is there a way to stop this or do UITapGestureRecognizer even work on buttons? If so wouldn't it be better to just add the recognizers and remove the ... | stackexchange/codereview |
I have a inside a tablecell. I want the div to be the full height of the cell.
I put height:100% in the style - but it does not work
<asp:TableCell ID="tdCustomerLogin" runat="server" HorizontalAlign="Center" VerticalAlign="Top" style="padding:2px; background-color:#33CC4D; border:solid 1px black;">
<div style="ba... | stackexchange/codereview |
I'm attempting to display a tabbed panel but the tabs are not displaying. This is whats being displayed by the browser -
Welcome To Struts 2!
This is the first pane
This is the remote tab
My Code:
<%@ taglib prefix="s" uri="/struts-dojo-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:/... | stackexchange/codereview |
I have the following query in oracle so dont know how to convert into SQL Server.
WITH start_date AS
(
SELECT TO_DATE ( '01-Jan-2010'
, 'DD-Mon-YYYY'
) AS start_date
FROM dual
)
SELECT m.task_name
, COUNT (CASE WHEN TO_CHAR (d... | stackexchange/codereview |
I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo page.
Here is a screenshot - my project on the left, the demo site on the right.
Is there anything I have to do to enable ... | stackexchange/codereview |
How to get the full image path of the image stored in the PhotoGallery in Titanium iphone?
| stackexchange/codereview |
I wanted to automate this process: http://www.blogsdna.com/2698/you-can-customize-windows-7-logon-background-officially.htm
Registery was no problem.
But when i wanted to create the backgrounds folder in Windows\System32\oobe\info, it simply didn't work.
It just won't create the dir whatever i try.
I assume it's someth... | stackexchange/codereview |
I created an application in C# + WPF + MySQL. What is the best (safest) way to store database connection strings?
| stackexchange/codereview |
When my Facebook app posts to the users stream those posts do not get links for Like and Comment. Other Facebook publishing apps, like Instagram, get these links.
I can't find it in my Facebook application's settings. Anyone knows how to do it?
(I think this is the same question as this one: Facebook : Like and Comment... | stackexchange/codereview |
Here is the scenario:
1. Login to a web application with username and password and hit Enter (Start timer)
2. Load the login page (lap timer split, to mark the time for page load )
3. Click on a another page (split the lap timer)
4. Stop the stop watch
| stackexchange/codereview |
Is it possible to use jquery's .animate() method to animate properties from an (explicitly set) initial value to a final value, or must it always be from the current value to another value?
| stackexchange/codereview |
I have a fairly complicated problem.
The usual markup (no problems here):
<div class="wrapper">
<div class="title"> bla bla... </div>
<div class="content"> ...content... </div>
</div>
The "twisted" markup:
<div class="wrapper">
...content... </div>
</div>
As you can see the opening tag for ... | stackexchange/codereview |
I'd like to clear a specific session, how would I go about doing that.
$_SESSION['files'][]
| stackexchange/codereview |
Should I add *.pch files to .gitignore in XCode projects?
| stackexchange/codereview |
I have a method annotated with @Provides in my Guice config, but it doesn't work.
public class GuiceConfig extends GuiceServletContextListener {
...
@Provides @RequestScoped
EntityManager provideEntityManger() {
return entityManagerFactory.createEntityManager();
}
}
When I run my application I get the f... | stackexchange/codereview |
In TapToZoom sample(apple code), If i pinch(inwards) the image becomes smaller than the window size(If i remove fingers it will fit correctly to window). How to fix the image to the window if the content size of scroll view is less than window size. I spent a day to fix this problem but of no use...
I am attaching the ... | stackexchange/codereview |
We have a page that makes a request to a 3'rd party web service. When under heavy load this response time extends significantly, however the 3'rd party reports back that there times for processing remains constant. There timings show that from the time they receive a request to the time they send it back is always arou... | stackexchange/codereview |
I've installed Visual Web Developer 2010, SQL Server 2008 R2 and SQL Management Studio 2008, using the MS Web Platform Installer 2.0. But whenever I wanna login, with Windows Authentication, to SQL Server with the Sql Management Studio it throws me an error: Cannot connect to (local)
And then under that, it says that i... | stackexchange/codereview |
I have editbox and list view. I am adding the company name in list view. I have the requirement: suppose the user types 'A' in editview. I have to display only A value in list view and if the user types ab in editview, I have to display ab value in list view at the time of key press event. I have to change the value in... | stackexchange/codereview |
im fetching with the ajax() method in jQuery data and i want every time i fetch data to put them in a different div.
excuse my bad english...
For i.e. i fetch data1,data2...data4 with the code :
$.ajax({
url:'fetch.php',
type: 'POST',
data: { temp : counter },
success: function(data){
**$('#rules2').a... | stackexchange/codereview |
I would like to build some sort of survey/ auditing software.
I am brainstorming how to build my classes and if there is a design pattern that could support me. Because ther must be something that makes life eaysier...
My application should have questions which contains a title and a description.
And then I have multip... | stackexchange/codereview |
Apologies if I'm missing something obvious, but when I create a new type with Reflection.Emit, how do I specify what namespace it should be in?
ie..
AssemblyName assemblyName = new AssemblyName();
assemblyName.Name = "TestDynamic";
AssemblyBuilder assemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly(
... | stackexchange/codereview |
I want to create an application in which
- Create a listener which listens for outgoing/incoming messages and calls
- UI is shown/hide based on listener results
| stackexchange/codereview |
I need to get select the closest previous date to a date parameter. Currently I am selecting the closest either side of the date using this code:
SELECT TOP 1 equities, fund, e_date
FROM tbl_assetmix
WHERE fund = @fund_code
ORDER BY ABS(DateDiff(dd, e_date, @statementdate)) asc
I know it is rea... | stackexchange/codereview |
Hi everyone I am working on an application which records the user sound and save that to NSDocumentDirectory.The data files are saving well.But the problem is that i want to play those files.I am using the table view for this to populate it with the number of files in the NSDocumentDirectory.But the table shows only on... | stackexchange/codereview |
I have a programmatically created dojox.grid.DataGrid whose structure is
var nodeSelectGridStructure = [
{
"field": "select",
"width": "10%",
"name": "Select"
},
{
"field": "fldJobName",
"width": "30%",
"name": "Collection Job Name"
},
{
"fiel... | stackexchange/codereview |
I am using SevenZipSharp in order to compress files into a zip file.
Is there a way to use it to create a zip from a memory stream (meaning, load the file into the memory stream before)?
Thanks,
Maya.
| stackexchange/codereview |
Is there a way to create a multicolumn listbox in html that will properly align each of the columns so that everything is lined up vertically with a column header? for example:
Plate State Make Model Year Color
G655555 IL Mercury Montago 2007 Black
G655555 IL Ford Windstar 2007 Grey
in... | stackexchange/codereview |
Is any possibility to update the IMAGE in the ImageButton or ImageView at the time of refreshing the page in Android.
Thanks in advance
| stackexchange/codereview |
I have 4 Rails 3 scopes that I would like to simplify:
scope :age_0, lambda {
where("available_at IS NULL OR available_at < ?", Date.today + 30.days)
}
scope :age_30, lambda {
where("available_at >= ? AND available_at < ?", Date.today + 30.days, Date.today + 60.days)
}
scope :age_60, lambda {
wher... | stackexchange/codereview |
I just ran into a problem when I need to do a goto into a local scope:
if(...)
{
DoSomethingHere();
if (...) goto Label;
}
else if(...)
{
Label:
DoSomethingHereToo();
}
, which apparently is not possible in C#.
Yes I know that using goto is considered a bad practice, but in this case it is much easier to... | stackexchange/codereview |
I am looking to select the last td in each row and using this css selector right now .table td:last-child but it doesnt work in IE so is there any way I can select through javascript (WITHOUT ANY FRAMEWORK) for IE? to apply CSS styles.
| stackexchange/codereview |
I want to get an Element's parent which has an specified tag name.
Sample code:
<table>
<tr>
<td>
<input type='button' id='myId' />
</td>
</tr>
</table>
Now i want something like this:
$('#myId').specificParent('table'); //returns NEAREST parent of myId Element which table is it's tagname.
... | stackexchange/codereview |
I have deployed my application on tomcat 5.5 and the IDE is eclipse with myeclipse plugin. when I try to start the tomcat server I get the following error:
ERROR - ContextLoader.initWebApplicationContext(219) | Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating be... | stackexchange/codereview |
I've developed a WPF application that registers Hotkeys using com interop and processes them using WndProc.
The hotkeys work perfectly even when the application doesn't have focus. However, they don't work when certain fullscreen appications have focus (games). Is there a way for me to fix this?
Thanks!
| stackexchange/codereview |
I have a function that I call to retrieve a sliding pane (telerik splitter control)
I thought I could use this function
function getZone() {
var slidingZone = $find("<%= slidingZone.ClientID %>");
return function () { return slidingZone; };
}
so that it didn't have to "find" the sliding zone every ... | stackexchange/codereview |
I'm looking for the best data structure to add styles to a text (say in a text editor). The structure should allow the following operations:
Quick lookup of all styles at absolute position X
Quick insert of text at any position (styles after that position must be moved).
Every position of the text must support an arbi... | stackexchange/codereview |
I'm interested in creating custom menu component for windows mobile 6.0 instead of default one.
Can someone suggest some guides, tutorials, samples or something about it.
| stackexchange/codereview |
I am doing an application in android which requires to know for how long the application is running. Do anyone know how to retrieve such information??. Is there any way where android provides the information about the running applications ,from how much time they are running??
| stackexchange/codereview |
I have PHP source code of http://www.sitename.com. I can access it by using sub domain http://www.demo.sitename.com . I have copied all source code from live and stored it on my local machine (e.g. 192.168.15.24).
On local machine WAMP 2.0 is installed.
I have tried to run as following way, but those are wrong.
1. htt... | stackexchange/codereview |
<meta name="keywords" content="Web search,<?php echo $meta ?>" />
is there anything wrong in that.I'm not getting the output ...thats why !!
| stackexchange/codereview |
Any suggestion for live stream for android.
In my app i need to stream live video from Live Stream..
Is there any api or example to do it? If so, please provide it.
I need as like this...
http://www.livestream.com/aplive?utm_source=website-home&utm_medium=promo-header&utm_campaign=aplive
Thanks,
jana.
| stackexchange/codereview |
I was preparing for a customCellView in a tableView. According to me, everything was perfect in .xib and methods. I am getting an exception in configuring the cell.
int listIndex = [indexPath indexAtPosition:[indexPath length] - 1];
NSLog(@"outside");
cell.lblName.text = (NSString *) [[directoryConte... | stackexchange/codereview |
I am building a gui for a commandline program.
In txtBoxUrls[TextBox] file paths are entered line by line.
If the file path contains spaces the program is not working properly.
The program is given below.
string[] urls = txtBoxUrls.Text.ToString().Split(new char[] { '\n', '\r' });
string s1;
string text;
foreach (stri... | stackexchange/codereview |
On my Windows/Visual C environment there's a wide number of alternatives for doing the same basic string manipulation tasks.
For example, for doing a string copy I could use:
strcpy, the ANSI C standard library function (CRT)
lstrcpy, the version included in kernel32.dll
StrCpy, from the Shell Lightweight Utility libr... | stackexchange/codereview |
I've a C++ project that I'm currently porting from VS2008 to VS2010. When I build the project, Visual Studio 2010 reports the build as successful but if I then press F5 to start the debugger I'm told that the project is not up to date. If I ignore this warning, I can continue debugging ok, but if I press ok, the whol... | stackexchange/codereview |
I'm trying to get element with jquery and Selenium IDe 1.0.8.
<td>storeValue</td>
<td>$('#result').find('img').filter('[alt="NameOfPhoto"]').eq(0)</td>
<td></td>
And in log I get
[error] Element $('#result').find('img').filter('[alt="NameOfPhoto"]').eq(0) not found
When I put this command in firebug I get ... | stackexchange/codereview |
I want to export database from local computer to database server in SQL Server 2005.
How can I restore database without having access to file system of database server
| stackexchange/codereview |
As part of my development I need to process some .csv files.
For what it matters I am writing a super fast CSV parser in java
I would like to ask if somebody can name some websites where I can find some good csv files so I can test my app.
Please don't tag this question is inappropriate I think developers would benef... | stackexchange/codereview |
When I navigate from one view to another view, I want to open the view in portrait view only.ie I am navigating from a first view (landscape) to second view. I want the second view to always be open in portrait view.In my case when I launch in landscape, the view is in portrait but the device is in landscape mode. The ... | stackexchange/codereview |
I'm trying to achieve this "effect" in cocoa (photo taken from Things.app from Cultured Code):
| stackexchange/codereview |
For grep there's a fixed string option, -F (fgrep) to turn off regex interpretation of the search string.
Is there a similar facility for sed? I couldn't find anything in the man. A recommendation of another gnu/linux tool would also be fine.
I'm using sed for the find and replace functionality: sed -i "s/abc/def/g"
| stackexchange/codereview |
I've hit a blocker adding a fix to an existing project.the main problem is that i'll like to use @Prepersist and @PreUpdate in the POJO to take care of LastModified field (insert and update) using hibernate implementation of JPA with session.
Reason ?:
That change is required because there is a need to use liquibase 1.... | stackexchange/codereview |
I recently came upon the requirement to use colorbox or
similar jquery lightbox plugin as mouse over function
fired by jQuery hover event
This seems like a good place to use $.colorbox() and pass the
collection as REL parameter, but I can’t get this to work..
http://colorpowered.com/colorbox/
.hover and colorbox do... | stackexchange/codereview |
Hey all
Im working on a game for iphone using cocos2d and sdk 4.1 and I am getting a sigkill error randomly (or what appears to be randomly) while running. Sometimes the error wont appear for hours of trying to simulate it. I have read around on forums and all sigkill problems seem to be when the user tries to close th... | stackexchange/codereview |
I want to use a diagonal gradient in my background.
I have read this, and I found that it has just only horizontal gradient and vertical gradient in IE.
Is it possible to make the gradient in IE show in the diagonal like Firefox?
| stackexchange/codereview |
The sources for my code all belong to the unix group group1:
> ls -l *c
-rw-r--r-- 1 user1 group1 4976 Nov 9 13:42 commands.c
-rw-r--r-- 1 user1 group1 2347 Nov 9 13:42 env_list.c
-rw-r--r-- 1 user1 group1 2468 Nov 9 13:42 job_list.c
-rw-r--r-- 1 user1 group1 4453 Nov 9 13:42 jobs.c
-rw-r--r-- 1 user1 group1 3... | stackexchange/codereview |
Can I "yield" into a Map?
I've tried
val rndTrans = for (s1 <- 0 to nStates;
s2 <- 0 to nStates
if rnd.nextDouble() < trans_probability)
yield (s1 -> s2);
(and with , instead of ->) but I get the error
TestCaseGenerator.scala:42: error: type ... | stackexchange/codereview |
I'm trying to write an MSBuild condition parser. The conditions are described here.
So I've come up with a grammar that appears to work fine:
S -> !S
S -> S == S
S -> S != S
S -> S && S
S -> S || S
S -> Fn( str )
S -> str == str
S -> str != str
S -> n < n
S -> n <= n
S -> n > n
S -> n >= n
This seems to fit my needs... | stackexchange/codereview |
I'am trying to write a function that includes any variable into a classs. For example:
My function:
add_action($VARS_ARRAY);
This function should include $VARS_ARRAY into A class.
How can I do it in PHP?
| stackexchange/codereview |
I want to take the values from this site for the country table in my database.
The problem is that they don't provide the table structure, so I have to create one, but I cannot get it right - my phpMyAdmin keeps displaying an error when I want to inject the data into the table I created below:
#1064 - You have an erro... | stackexchange/codereview |
If I have an entity Entity and a service EntityService and EntityServiceFacade with the following interfaces:
interface EntityService {
Entity getEntity(Long id);
}
interface EntityServiceFacade {
EntityDTO getEntity(Long id);
}
I can easily secure the read access to an entity by controlling access to the getEn... | stackexchange/codereview |
just started with rails. i have quick question. have a customer view which includes a partial project view. the partial includes some crud actions. when i click on them the customer crud are executed.
appreciate some help.
thanks,
ed
| stackexchange/codereview |
I have a mystery.html page that loads some javascript (as well as mootools).
I run a few calculations, and then I need to post this to a url. Seems simple, right?
Except:
I dont have XMLHttpRequest
I can't run createElement to create a FORM and dynamically add my data to it as inputs (and I can have anywhere from a fe... | stackexchange/codereview |
I have to do login with my app.
After the login, if it is correct, I want to show a tabview with:
My Stats
Upload Photo
MapView
This is my code for the login activity
public class LoginActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceStat... | stackexchange/codereview |
I'm using Spring MVC 3.0 and Tomcat.
I have a bean that has a property whose value should be a path rooted from the web document root. For example, I would specify its value in a Spring configuration file as following.
<bean id="myBean" class="com.stackoverflow.Bean">
<property name="path" value="/WEB-INF/foo.xml" ... | stackexchange/codereview |
I created a simple api that responds with json. When I try to call it from a browser, I get the appropriate json response, but when I try to call it remotely from actionscript, it seems like it trys to call the json as if it is a method. This is the controller action:
def matcher
@conn = Connection.first
if(@... | stackexchange/codereview |
I want to generate a string like the one mentioned below in C# code behind:
<a href="~/Online Exam/Question.aspx?id=1"></a>
The code which I am using right now is shown below:
string url= string.Format("\"~/Online Exam/Question.aspx?id={0}\"", id);
td.Text = "<a href=" + url + ">" + id + "</a>";
but I am not able to ... | stackexchange/codereview |
I've tried to evaluate my website with PageSpeed and I saw most warnings (Leverage browser caching, combine external javascript...) come from Google Maps API integration.
So my question is, is there a way to use it as PageSpeed would like?
Thanks.
| stackexchange/codereview |
I have the following HTML code:
<div class="outer_container">
<div id="imgContainer">
<img src="/some/image" />
</div>
<div id="slogan">
<span class="quote">Some text here</span>
</div>
<div id="footer" class="gray_top_border">
Some text here
</div>
... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.