instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have spent most of the day reading "The JFreeChart Class Library v1.0.13 Developer Guide" and associated examples.
I believe I know how to create the chart, I am just not clear on how to display it in a JFrame JLabel.
When I tried this
LineChartDemo1 chart = new LineChartDemo1("Chart title");
jLabelChart.add(chart);
... | stackexchange/codereview |
Ok, I've read through the documentation for information concerning how the XYEdges class works, but I seem to be misunderstanding something. My question is where is the point of origin on this coordinate system? Is (0,0,0,0) located at the top left corner perhaps?
| stackexchange/codereview |
I am having trouble designing a way to maintain a session with a cookie across multiple pages. I am doing something very similar to this tutorial. I check the password and username from a splash page, and if it is correct then I set a cookie and fill it with a hash. After that I transfer the user to a different page... | stackexchange/codereview |
Are there better looking TinyMCE skins except the one of http://thebigreason.com/ and http://www.cirkuit.net/projects/tinymce/cirkuitSkin/?
I couldn't find one that has:
buttons for ALL features
a nice layout
| stackexchange/codereview |
I have a graph with multiple edge weightings stored as
namespace boost {
enum edge_weightvector_t {
edge_weightvector = 1337
};
BOOST_INSTALL_PROPERTY(edge, weightvector);
}
typedef boost::adjacency_list<
boost::vecS,
boost::vecS,
boost::undirectedS,
boost::no_property,
boost::... | stackexchange/codereview |
Consider the following situation where I have a list of n matrices (this is just dummy data in the example below) in the object myList
mat <- matrix(1:12, ncol = 3)
myList <- list(mat1 = mat, mat2 = mat, mat3 = mat, mat4 = mat)
I want to select a specific column from each of the matrices and do something with it. This... | stackexchange/codereview |
I am working on logger using C language on QNX platform using Momnetics to print time in following format
2010-11-02 14:45:15.000
I able to get date, hour, minutes, and seconds using
time(&timeSpec);
struct tm gmt;
int iSysTimeSec = timeSpec;
gmtime_r((time_t *)&iSysTimeSec, &gmt);
sprintf(&MsgStamp[0], SYS_MSG_... | stackexchange/codereview |
Is there any guidance or best practices around who should call Dispose() on disposable objects when they have been passed into another object's methods or constuctor?
Here's a couple of examples as to what I mean.
IDisposable object is passed into a method (Should it dispose of it once its done?):
public void DoStuff(I... | stackexchange/codereview |
I have a Telerik MVC2 Grid which has a column like:
columns.Bound(c => c.CustomerID)
.Format(Html.ActionLink("Close", "CloseCustomer", new { Id = "{0}"}).ToString())
.Encoded(false)
.Title(String.Empty)
.Width(80);
the objects being used also include a closed flag, and I'd like to be able t... | stackexchange/codereview |
I see these threads UNIX socket implementation for Java? and http://forums.sun.com/thread.jspa?threadID=713266.
The second link says that Java already supports UNIX Domain Socket. If that's true what class do I need to implement from Java?.
From the first link, it says that Java does not support UNIX Domain Socket. If... | stackexchange/codereview |
How to print ( with printf ) complex number? For example, if I have this code:
#include <stdio.h>
#include <complex.h>
int main(void)
{
double complex dc1 = 3 + 2*I;
double complex dc2 = 4 + 5*I;
double complex result;
result = dc1 + dc2;
printf(" ??? \n", result);
return 0;
}
..what conversi... | stackexchange/codereview |
The body-Tag of a HTML-File does have a background-image applied:
body {… background: #fff url(./img/bg-body.jpg) no-repeat 0 82; …}
everything works just fine with WebKit (Safari, Chrome…) and even Trident (IE) … BUT the background-image is not showing in Gecko (Firefox) … and if I add the DOCTYPE to the document, it... | stackexchange/codereview |
I'm developing a Silverlight wp7 app. I'm not sure exactly how to do navigation.
I have several PhoneApplicationPage classes, which contain several UserControls. It looks like I can use NavigationService to navigate from the PhoneApplicationPage classes, but not the UserControl classes. Is that preferable? Is the gener... | stackexchange/codereview |
I am just beginning with Joomla on a linux fedora server (running apache,mysql,php), running in local. I have also installed phpmyadmin.
I have dowloaded/unizip joomla on var/www/html/joomla1 and created a database for joomla1.
Then restarted the server. Selinux is set to permissive.
However when browsing at http://lo... | stackexchange/codereview |
I'm having some troubles with displaying ItemizedOverlay(s) on a map.
Here I extracted a simplified example of what I need to do.
Here's my Map class:
import java.util.Timer;
import java.util.TimerTask;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;
import com.google.and... | stackexchange/codereview |
Trying to inject the eventbus into a component but I'm getting the
"has no default (zero args) constructor." error. Any clues what I'm
doing wrong? Very new to GIN, so it might be trivial..
Here is my code:
module:
public class MyWidgetClientModule extends AbstractGinModule {
protected void configure() {
... | stackexchange/codereview |
Here is the scenario where I'm using Response.Redirect..
Base website calling a SSO using httpwebrequest to third party website - Get a key.
Once base website get's the key - base website redirects the client browser to the third party website with the key.
Weird thing:
Let's say the website URL is like this http://ba... | stackexchange/codereview |
I am trying to get all class call Position $(".Position") and get then find the value that == 4 and then show the id.
<input type="Text" id="#34" value="1" class="Position">
<input type="Text" id="#22" value="2" class="Position">
<input type="Text" id="#37" value="3" class="Position">
<input type="Text" id="#41" value=... | stackexchange/codereview |
I use the json module and the dumps method to obtain a string which represents a list of json objects :
import json
jsonstring = json.dumps(data)
I would like to iterate over this string to obtain each JSON object as a string.
Any suggestions?
Thanks in advance.
P.S. I have tried the following:
for jsonobject in json... | stackexchange/codereview |
Is there an easy way to share a link from an android program to facebook, and twitter?
How to?
| stackexchange/codereview |
How do I ensure that WCF 4.0 is the only version of WCF registered within IIS 7.5?
| stackexchange/codereview |
Usually, business people keep their documents in the SharePoint portal. I am (as a developer) would rather keep them in TFS (or any other source code repository) closer to the source code. Also in the latest case I would make folders structure in way like "Src", "Doc", "Data" to keep everything more consistent.
Are the... | stackexchange/codereview |
I have an app with two sections, Buyers and Sellers. The main section '/' is for Buyers, but I have a separate Sellers portal that I'm currently placing in /sellers. Might be nicer to move the sellers to their own subdomain like 'sellers.mydomain.com'.
Subdomains don't seem to be extremely popular and I've read things... | stackexchange/codereview |
I would like to create a ruby script that I can run mysql commands on a remote server through a ssh tunnel.
Right now I have a manual process to do this:
Create a tunnel -> ssh -L 3307:127.0.0.1:3306
run ruby script.
Close tunnel.
I would love to be able to automate this so I can just run the script.
example:
requ... | stackexchange/codereview |
I have a canvas which contains specific usercontrols.
At some point, I want to add a line to the canvas (in code) where one of the points is bound to the position of an element in a usercontrol. The usercontrol is dynamic, so elements can change position.
The usercontrol contains a layout with grids, stackpanels etc. t... | stackexchange/codereview |
Possible Duplicate:
Stacking Divs with CSS
Im kinda new to CSS have been using tables for my html for years, Im trying to figure out how I can nest divs or stack them inside the content section of a 3 column layout. with tables I'd just do a new TR but if I float another div into the content line line it will appear... | stackexchange/codereview |
I have a problem when i try to install a Django website, on a Mocha hosting, and their technical support is so much uninformed... (I strongly don't recomment Mocha hosting for a django hosting)
They have mod_wsgi support, and mod_python installed, but when i am uploading the site as in their tutorial
http://www.mocha... | stackexchange/codereview |
here's the context :
we are currently writing an application which is web based (flex front end). The server side is implemented with Java, using hibernate for ORM.
The specificity of this application is that it implements a conversation with the user. That means that the user is opening a conversation and before it de... | stackexchange/codereview |
Using JavaScript
i have the refresh button in my parent window,
when i click refresh button ,
i want to refresh my child window ,
window.location.href='add_billing_order_frm.php?session_re_genrate=new
This snippet redirecting the page instead refresh ,
I thing there is a snippet like
opener.document.location.rel... | stackexchange/codereview |
If I have:
struct Base
{
};
struct Derived : Base
{
};
And I create Derived in main:
Derived* d = new Derived;
where (on heap or on stack) is my base created? Am I reasoning correctly that a Base is a part of a Derived so it is created wherever Derived is created? Or does it work in some other way?
| stackexchange/codereview |
Using svnsync
$ svnsync --non-interactive sync ${REPO}
after an abort of the process there was this error message with retry
Failed to get lock on destination repos, currently held by 'svn.test.com:0e4e0d98-631d-0410-9a00-9330a90920b3'
...
Failed to get lock on destination repos, currently held by 'svn.test.com... | stackexchange/codereview |
I'm just getting to grips with LINQ and I have the following scenario:
I have a database which represents sports matches between teams on various dates, organised as follows:
Table MATCH
___________
MatchID
MatchLocation
MatchDate
Table MATCHTEAM
________________
MatchID
TeamID
HomeOrAway
Points
Table TEAM
_________... | stackexchange/codereview |
I'm writing a small iPhone app for my company that shows bookings for each employee one week at a time. I'm using core data to get a list of 'Bookings' for a given week and want to display them in a UITableView broken down in to one section per day of the week.
The problem comes in that I need to show 7 sections for ea... | stackexchange/codereview |
I am having a problem with the special characters in my script:
This is what I have so far:
$curlstrip = explode("&", $data);
$filename = substr(htmlEntities($curlstrip[5]), 2);
and if $data contains any special charaters like ' which is ', then instead of getting the chunk of string that I need, I get only the fi... | stackexchange/codereview |
I have three classes - Employee, Project and TrainingProgram. Then I have a fourth class, TrainingRecord which consists of an Employee, the Project they trained for, the TrainingProgram they completed and the date they completed it on.
Users can create new TrainingRecords from two spots - either through an Employee ... | stackexchange/codereview |
Bit of an odd question. I'm using cocoa.
I have a series of numbers e.g.:
0.87
0.32
1.12
2.34
8.82
12.66
and I want to get the bit before the decimal place, with no rounding.
Like this:
0.87 -> 0
0.32 -> 0
1.12 -> 1
2.34 -> 2
8.82 -> 8
12.66 -> 12
I can round the numbers with no problem, but I can't figur... | stackexchange/codereview |
Are there any free alternatives to using "Microsoft Excel 12.0 Object Library" component in the application? It does the job, but it's very slow. I know there are commercial third-party tools, and wondering if there's anything fast, but freeware to accomplish the task.
| stackexchange/codereview |
I'm trying to combine Mvc2 with Ninject and NHibernate, and found a guide here:
http://damianm.com/tech/nhibernate-mvc-and-ninject/
The problem is that he use Ninject 1. So i have to convert it, and I'm almost succesfull, but i still got one problem:
Im not sure how to convert the "context.Kernel.Get" here:
protected o... | stackexchange/codereview |
I've been attempting to figure this out for a while now, but I'm up to a point where I can't seem to solve my problem from reading other Q&As. I'm trying to get the active UIViewController in a UINavigationController to send popViewController/pushViewController messages to the UINavigationController, but I cannot figur... | stackexchange/codereview |
The following code samples produce the same error when I perform the SAVEAS:
Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
filePath = (string.Format("{0}.{1}", Path.GetTempFileName(), "xls"));
...do some stuff to the workbook ...
excelApp.DisplayAlerts = false;... | stackexchange/codereview |
I have a very small amount of data (~200 bytes) that I retrieve from the database very often. The write rate is insignificant.
I would like to get away from all the unnecessary database calls to fetch this almost static data. Is memcached a good use for this? Something else?
If it's of any relevance I'm running this on... | stackexchange/codereview |
During a recent code review a colleague suggested that, for class with 4 int properties, assigning each to zero in the constructor would result in a performance penalty.
For example,
public Example()
{
this.major = 0;
this.minor = 0;
this.revision = 0;
this.build = 0;
}
His... | stackexchange/codereview |
Greetings,
I need to install oci8 drivers for PHP, but I’m having some trouble.
I already have a WAMP install, which comes with the oci8 extension, and have done the following in effort to set it up:
Enabled the extension by adding the following to my php.ini file in my Apache docroot as a local variable:
[PHP_OCI8]... | stackexchange/codereview |
I want to fill DataTable using DataReader.
I have created object like this
SqlDataReader dr = cmd.ExecuteReader();
if(dr.HasRows)
{
}
| stackexchange/codereview |
I want to add a structure to arrays. The following is my structure
struct Nodes {
NSInteger nodeGridNumber;
Boolean visited;
struct Nodes *nextNode;
};
Can any one with help with this. Thanks
| stackexchange/codereview |
Since the NSAttributedString initWithHTML addtion is only availiable on Mac OS but not iOS.
| stackexchange/codereview |
I am having a text box whose text should always be an integer.
How do I validate it ?
Is using ASCII is the right method ? Else is there any other method available ?
| stackexchange/codereview |
I am looking for code for a button that completely closes my app.
I tried with some stuff from Google, but my app is still running in the background. I need to close it completely. Is there code that does this?
| stackexchange/codereview |
I'm writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccountSidW, to determine who is logged in to a remote Windows computer. These functions are part of advapi32.dll in Wine (edit: using the answers, I was able to call the f... | stackexchange/codereview |
I want to perform a comparison of multiple implementations of basically the same algorithm, written in Java, C++ and Python, the latter executed using Pypy, Jython and CPython on a Mac OS X 10.6.4 Macbook Pro with normal (non-SSD) HDD.
It's a "decode a stream of data from a file" type of algorithm, where the relevant m... | stackexchange/codereview |
We already have several (100+ pages) of drawings in the same format that describe interconnecting systems. Instead of pounding keys for 3 months transferring these relationships to a spreadsheet, I would like to parse the Visio drawings directly.
Is there a library dedicated to Visio that would accomplish this? Am I ju... | stackexchange/codereview |
I've used svn rm foo on a number of files that I now no longer want to delete. I haven't yet committed the changes. How do I nullify the svn rm commands, either file-by-file or in one fell swoop?
I know how to restore deleted files that have been removed from the repo, but I don't want to have to commit this change, th... | stackexchange/codereview |
This has always bugged me with C and C++:
In my header file I have something like:
bool UpdateWindow( int w, int h, char bpp, bool force, char* someOtherLongStuff )
Now, if I want to change that for whatever reason, I have to do so in both header and source file - that's annoying in my opinion.
Is there a way to autom... | stackexchange/codereview |
I'm writing a pong game and I have a ball class that has velocity x, y, positions and all that stuff that every frame is updated by calling @ball.update, this moves the ball forward by its x_vel and Y_vel etc. My question is Should my collision code be in the loop or in the update method of the ball class? Or should it... | stackexchange/codereview |
I have some code doing this right now. It works fine with small to medium sized lists, but when I have a list of size n > 5000 then the my algorithm can take almost 1 minute on a mobile device to run. I'm basically comparing a Coordinate object in Java to a list (Vector) of Coordinate objects.
Here's my basic algorithm... | stackexchange/codereview |
$ hg status
M ...
M ...
M ...
? ...
? ...
? ...
I need to add all not tracked (? marked) files. Is it possible?
I can do "hg add *" but I will get many messages unwanted 'file already tracked'.
| stackexchange/codereview |
I'm not sure why but creating any kind of integration beyond the use of social widgets and buttons on external sites always confuses me.
What I need to do is create a tab on a particular Fan Page. This tab needs to:
Contain an interface for casting a vote in a Poll.
Handle multiple Polls. Only one will be featured in... | stackexchange/codereview |
From extracting the values using grep
Reading:RG1:+ /user/reading-2/Monday:12
Reading:RG1:- /user/**/Friday:12
Reading:RG1:- /user/**/*.txt:12
Reading:RG1:- /user/tet-23/**/*.txt:12
Reading:RG2:+ /user/reading-2/Monday:12
Reading:RG2:- /user/**/Friday:12
Reading:RG2:- /user/**/*.txt:12
Reading:RG2:- /user/tet-23/**/*.t... | stackexchange/codereview |
There is an ashx file containing "ProcessRequest(HttpContext context)" method which gets triggered automatically. When and how does it get fired?
Another question, How can I get the current QueryString when I am inside this file? When I type "context.Request.QueryString" it says it's null or empty although the address ... | stackexchange/codereview |
i have a select box to allow the user select what kind of form he need to fill in.
the 2 options are for a single person or someone from a group therefore some of the fieldsets that are in use in the single are switched with some from the group ones.
so for the single user i have this functions: singleinformation, winn... | stackexchange/codereview |
Hey guys I've initially posted this both in superuser as well as programmers but I haven't gotten any replies yet, and someone suggested here, so I thought I'll ask it again here:
I'm currently using XCode 3.2, and I am already working on my existing project using the terminal and vim. Files/folders that already exists... | stackexchange/codereview |
Is there a possible means to convert the report designer file (xml) generated in Eclipse BIRT
to XSL ?
| stackexchange/codereview |
After my previous question on finding toes within each paw, I started loading up other measurements to see how it would hold up. Unfortunately, I quickly ran into a problem with one of the preceding steps: recognizing the paws.
You see, my proof of concept basically took the maximal pressure of each sensor over time an... | stackexchange/codereview |
I am generating a flat text file via an SSIS package. The package reads data from a table, creates a fixed length text file and ftp's the file to a partner.
The data arrives into my table via a process that I have control over so I can make adjustments based on suggestions.
My quandry is this.
I have a two fields, let... | stackexchange/codereview |
I am getting the error "New transaction is not allowed because there are other threads running" in an application I am working on. It has arisen during refactoring and specifically during creation of a test suite.
I realise from looking around that it means that I probably have a data reader still open when I am creati... | stackexchange/codereview |
Are there tools for code obfuscation for Scala?
| stackexchange/codereview |
In ASP.NET:
How can I tell when the ASP.NET worker process last restarted?
In ASP.NET, how can I tell when the app domain last recycled?
| stackexchange/codereview |
I'm using an embed flash player in a web page and I want to scale it to browser window.
When I put "height: 100%" in the flash parameters, I get a blank page.
This is the code of the page :
SlideShowPro({
target: "slideshow",
xmlFilePath: "galeries/images.php?album=1",
width: "100%",
... | stackexchange/codereview |
The MSDN site compares using delegates instead of an interface, but what makes these two language-level constructs so similar that one could be used over another? They seem to do completely different things?
Thanks
| stackexchange/codereview |
I am working on iphone push notification. I can able to get my device token. I am using .net for pushing json data. But the issue is i cant get the notification. I just want to know whether .net has to push json data over in hosted machine?
Regards,
sathish
| stackexchange/codereview |
I noticed this being used by a service, and the effect looks super great
-moz-linear-gradient(center top , #E3EBF3, #D5E1ED) repeat scroll 0 0 transparent
| stackexchange/codereview |
Is it possible to have 1 workspace which contains different branched copies of the same project? Say I have Project1, and it is in this structure:
/trunk/Project1
/branches/1/Project1
/branches/2/Project1
Can I have 3 instances of Project 1 in the same workspace, where each eclipse project points to either the trunk o... | stackexchange/codereview |
I am attempting to rewrite some code that was using FileSearch for Excel 2003 VBA. I'm attempting to call a function that should determine 1 or 0 and using an If statement I will execute some code or iterate to the next file.
I am not returning the correct result from my function.
My code:
Dim MyDir As String, Fn ... | stackexchange/codereview |
I've got a bit of a problem with my asp.net mvc site in IE7. My web designer has included the following css to get a nice display in IE7:
.container { background: #f2f2f2; border: 2px solid #ddd; padding: 12px; behavior: url(/devsite/Content/PIE.htc);
-moz-border-radius: 10px; -webkit-borde... | stackexchange/codereview |
What is the proper way to link to functions in a C# DLL from a C# application?
This is how my DLL looks:
namespace WMIQuery_Namespace
{
public class WMIQuery
{
public static string GetPortName()
{
/* Does some stuff returning valid port name. */
return string.Empty;
... | stackexchange/codereview |
I have run into a real hard one here.
My class is self-created (a + (void) start;-method) which is sent a delegate.
I need to send the delegate a few messages through delegate-selectors. To check if the delegate was released, I have tried if (delegate == nil/NULL), but even if it really is released, it still says it wa... | stackexchange/codereview |
I had a question when providing an API
if I ask for them to give me a _int64 10 digit hexadecimal number but my function internally takes strings how do I effectively convert that...
as of right now I was just using string internally but for compatibility reasons i was using char* c style so that give any system 32 or... | stackexchange/codereview |
I've done a couple of projects in ASP.NET MVC and there is a topic that I haven't really seen covered anywhere. I wanted to get some other peoples' opinions on this.
What are some best practices for designing models? I've taken two approaches in the past: Should models represent distinct entities, or should you have do... | stackexchange/codereview |
Is it possible to be able to have sortable elements, but still allow users to copy/paste the text inside the elements?
<div class="sortable">
<div class="pseudo-sortable">Foo</div>
<div class="pseudo-sortable">Bar</div>
<div>other stuff that i don't care if a user
can't copy (maybe images or buttoms)<... | stackexchange/codereview |
I am getting an instance of KeyEvent from a 3rd party libraries.
How can I know whether the event is a KeyEvent.KEY_PRESSED type? Which method from KeyEvent I should call?
| stackexchange/codereview |
I need to check connectivity with IP address only. I'm trying to do it with Apple Reachability class, using reachabilityWithAddress option. And my problem is I can put any IP address in callAddress.sin_addr.s_addr field and statusText always will be "reachble". How can I do to exactly check connectivity to IP address?
... | stackexchange/codereview |
I use a ssh library with java to connect to a server. I want to detach a GNU Screen with CTRL-SHIFT-A-D, why I need to send this sequence to the server.
Can someone tell me how I can write this in a Java String? I looked through the unicode and ascii tables but I couldn't find a hint.
Sincerely,
Heinrich
| stackexchange/codereview |
Using Parsec 3.1, it is possible to parse several types of inputs:
[Char] with Text.Parsec.String
Data.ByteString with Text.Parsec.ByteString
Data.ByteString.Lazy with Text.Parsec.ByteString.Lazy
I don't see anything for the Data.Text module. I want to parse Unicode content without suffering from the String inefficie... | stackexchange/codereview |
Ive a big select case in SQL query.
(select case tb_usuario.int_id_cargo
when 13
then '20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53'
when 20
then ''
when 21
... | stackexchange/codereview |
I'm running into a bit of problem when trying to post data asynchronously. Here's the code:
public string PostHTTP(string http, string data)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(http);
postData = data;
request.Method = "POST";
request.ContentType = "applic... | stackexchange/codereview |
I've wrote a simple handler:
public class ImageHandler : IHttpHandler, IRequiresSessionState
{
public bool IsReusable
{
get { return true; }
}
public void ProcessRequest(HttpContext context)
{
byte[] imgData = context.Session["Data"] as byte[];
if (imgData != null)
... | stackexchange/codereview |
I need to access local variable returned by function inside a chained function
ex.
$("#history_table").bind("sortStart", function() {
var a=30;
return a;
}).bind("sortEnd", function() {
alert(a);
});
here in this example I need to access variable a returned by the first function, sortStar... | stackexchange/codereview |
What is a recommended way to overload the output stream operator? The following can not be done. It is expected that compilation will fail if the operator << is not defined for a type T.
template < class T >
inline std::ostream& operator << (std::ostream& os, const std::vector<T>& v)
{
os << "[";
for (std::vec... | stackexchange/codereview |
Some Python packages provide a way for a program to get the installed version. E.g.
>>> import numpy
>>> numpy.version.version
'1.5.0'
But I can't find a way to do so for pywin32. What good way might there be to find out?
| stackexchange/codereview |
I have several textfields which will populate a text area.
I managed to populate it with a javascript function. On the onblur event of a textfield, the value of the textfield is passed and the textarea is field with this value.
However, my problem is the following:
If I modify a previously filled textfield, the textare... | stackexchange/codereview |
Conditional formatting jQuery / Javascript when parsing xml seems easy, but trying to do Conditional formatting based on CONTENT with jQuery / Javascript just don't work, I mean I can't get it to work... .-)
If I want to change color of output () according to xml file content inside tag Groups
$(data).find('Kurssi:has(... | stackexchange/codereview |
As title, do you know how to use TortoiseSVN to merge a revision to self branch?
Thanks,
Ricky
| stackexchange/codereview |
example -
select * from discussion where title like '%india%'
UNION
select * from discussion where title like '%Australia%'
It shows me results in order of discussion IDs mixing both typse of results
I want to display India results first then Australia's results and I cant use Option ALl as I need to remove duplica... | stackexchange/codereview |
Here's my situation:
From my Grails controller, I call a service, which queries a database read-only, transforms the result into JSON, and returns the result.
Specs are: JDK 1.6, Tomcat 5.5, Grails 1.3.4, DB via JNDI
Tomcats MaxPermSize is set to 256m and Xmx to 128m.
EDIT: Increasing the memory should be the last reso... | stackexchange/codereview |
I am doing the Notepad tutorial, exercise 2. I started by creating a new Android project and chose Create from source to import the downloaded source files for the excercise.
But now I get many errors in Eclipse, and the problem is that there is no generated R.java class. How can I solve this? The folder gen/ is empty.... | stackexchange/codereview |
Given an application path (or NSBundle to an application, etc), is there a way to easily/efficiently determine what content types that application can open?
My initial attempt was to read the application's Info.plist file and extract the content types listed under the kUTExportedTypeDeclarationsKey key. However, there... | stackexchange/codereview |
I created and exe file in which I added 32, 48, 64 and 128 pixels icons.
When I put the exe on my desktop or navigate to the folder where the exe is stored, Windows Explorer shows only the 32 and 48 pixels icons. If I set my desktop to show 'Large icons' it still shows the 48 pix icon. Why?
Windows 7 32 bit, RBG+Alph... | stackexchange/codereview |
I would like to make a focus to the next input in a table with jquery. I have this table in jsf.
<p:dataTable id="resu" value="#{onController.items}" var="item" >
<p:column id="colIn" >
<h:inputText id="i" value="#{item.cup}" />
<p:column>
<p:dataTable>
was tested with this:
function nexts(input) {
... | stackexchange/codereview |
OK, this feels like a question that should be easy to answer, but as with so much mixing of asp.net and jQuery, it's a bit of a nightmare.
What I want to do is be fading a div in and out at various times during the client's viewing of my asp.net page; I fade it out using jQuery's fadeTo() before triggering an UpdatePan... | stackexchange/codereview |
How can I convert [b]xxx[/b] to <strong>xxx</strong> using VB.NET Regex.Replace()?
Thanks.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.