instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I want to open popup window when browser closed or closed tabs.
| stackexchange/codereview |
As the title says I want to hide a listview's scrollbar when the listview isn't scrolling and show it when scrolling. I know this can be done very easy by setting "android:fadeScrollbars" as an application style if the API is 5 or newer. But I want the feature to be available on all android devices. So I've implemented... | stackexchange/codereview |
I'm designing a self balancing tree in Haskell. As an exercise and because it is nice to have in your back hand.
Previously in C and Python I preferred Treaps and Splay Trees due to their simple balancing rules. I always disliked R/B Trees, since they seemed like more work than they were worth.
Now, due to the function... | stackexchange/codereview |
I’ve setup SQL Server 2008 Reporting Services before on a domain machine.. Now… I’m trying to setup a SQL Server 2008 R2 Express Advanced Services on a windows 7 box that s not part of domain, but rather about 5 computers all running in the same workgroup. How do you setup RS so that these people can get to the report... | stackexchange/codereview |
My iOS Web app is written in HTML and CSS. I have a text link that shows/hides a div layer. It works flawlessly but when I change the visibility of the div tag it reloads the page in safari, rther than displying the div in the webapp . Here is my code to enable the Webapp interface:
<meta name="apple-mobile-web-app-cap... | stackexchange/codereview |
What I'm wanting to do is take a URL like myurl.com/page.php?data1=x&data2=y&data3=z and get each piece of data and use it in a jQuery function. Is there any built in way to do that?
To clarify, when I navigate to (say, pasting the url into the address bar, or going to it via a bookmark) I want jQuery to do something w... | stackexchange/codereview |
With the release of AIR 2.5 for Android Flex-developers gain access various system API of the operating system. Are there any official (or unofficial) APIs Google Voice for ActionScript?
| stackexchange/codereview |
I use TextMate, and so I made a bundle recently for a language I'm working in for a class project - SPARC assembly language. I wanted to give people in my class a copy of the bundle to make their lives easier.
Since not everyone has a Mac, let alone TextMate, I'd like to find at least one (hopefully more) viable alter... | stackexchange/codereview |
I'm using the very handy JSLint tool to ensure my javascript is strict.
I have the following code that is being flagged by JSLint:
var my_obj = new Object(); // <-- JSLint states "Use the object literal notation {}."
var numKP = 1;
while (query.indexOf('&') > -1) {
keypairs[numKP] = query.substring(0,query.index... | stackexchange/codereview |
I need to pickle a scapy packet. Most of the time this works, but sometimes the pickler complains about a function object. As a rule of thumb: ARP packets pickle fine. Some UDP packets are problematic.
| stackexchange/codereview |
I have a specific css class "styled" which gives glass effect to the various divisions. The site is at http://www.rohanjain.in/. I have various html5 tags which use the glass effect from the css class defined.
Is there any way to define in the .css so that my header, footer, article tags use the class "glass" automatic... | stackexchange/codereview |
I require POS tagging for my files in the corpus.
I have successfully followed the installation instructions of SharpNlp
I am using the binary version
I created a new c# project in: E:\sharp\sharpapp
location of Models Folder is: E:\sharp\sharpapp\bin\Models
location of my SharpNlp Binary is: E:\sharp\S... | stackexchange/codereview |
I want to hide the shadow on infowindow in Google Map API V3. I try to access the Floatshadow pane but I don't know how to do it.
| stackexchange/codereview |
Caveat: I know next to nothing about server security, so assume nothing :)
We have a webapp written in PHP. A certain part of its functionality depends upon it contacting and interacting with our server.
Putting it simply, the application contacts our server using cURL and posts about 20 different fields to our page. ... | stackexchange/codereview |
Why does calloc take two arguments instead of one like malloc?
Specifically, since there is no difference between (or is there?) between the following expressions:
calloc (a, b);
calloc (b, a);
calloc (a * b, 1);
calloc (1, a * b);
why not just accept the total number of bytes to allocate? What is the rationale behind... | stackexchange/codereview |
The title is horrible but that's the best I could do. What I have is something like this:
Country Tag Weight
-----------------------
1 1 20
1 2 30
1 3 77
2 1 10
2 2 11
2 3 100
Or, in a human readable form:
Country Tag Weight
-------------... | stackexchange/codereview |
I am a bit new to templates in C++ so forgive me if this question is confusing or stupid, I just have a problem where I want to implement a clone smart pointer so I don't have to create copy constructors for each and every class that uses my underlying XML library that only seems to use object pointers and not smart po... | stackexchange/codereview |
Quick question: can I use a JavaScript library (i.e. jQuery) in developing a Mac OS X Dashboard widget?
EDIT: I know that if so, I'll need to pack a local version of the library and not use one from an online CDN.
| stackexchange/codereview |
Can anyone recommend any tools for compile and runtime analysis of C++ code? I'm being hit day after day with requests to identify where certain overloads of functions are being used in a very large code base.
My current method involves a combination of (a) text search using grep / find and (b) spoofing the include fil... | stackexchange/codereview |
I have a date string, 04-11-2010, in JavaScript I want to have a function that will convert it to 2010-11-04.
Does anyone know how I can do this?
| stackexchange/codereview |
I'd like to run Perl tests under Ant and produce XML output in a similar format to that produced by the Ant JUnit task.
I realize that the formatters TAP::Formatter::JUnit and TAP::Harness::JUnit exist, but since I have no experience in Perl I do not know where to start.
| stackexchange/codereview |
I have an image field in a gridview as this:
<asp:ImageField DataImageUrlField="PictureID"
DataImageUrlFormatString="~/UploadedImages/{0}.jpg" HeaderText="Image"
ReadOnly="True">
<ControlStyle Width="100px" />
</asp:ImageField>
I want when user click on any of the images, it should take them to an... | stackexchange/codereview |
I have the following in the mainwindow.xib
Navigation Controller
List item
Tab bar controller
tabbar
firstViewController
SecondViewController
The entrypoint
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
navController.viewControllers = [NSArr... | stackexchange/codereview |
I just upgraded to Pylons 1.0 and SqlAlchemy 0.6.5. What was a simple process of creating the DB schema no longer works.
I have a simple model:
Base = declarative_base()
class User(Base):
__tablename__ = 'user'
id = Column(Integer, primary_key=True)
user_name = Column(String)
def __init__(self, userN... | stackexchange/codereview |
Normally I try to document the issue here well enough, and duplicate some of the code, so that when the URL that I link to to demonstrate the problem no longer leads anywhere, at least the question will have enough code in it so that someone reading this much later who might have the same problem can see the example. B... | stackexchange/codereview |
I'll post the rules of the grammar in question to start.
interface_sections : main_interface bind_buttons bind_functions bind_panel_items
; /* Components of a gui program */
bind_buttons : T_BEGIN T_BIND T_BUTTONS T_SEMIC component_list
T_END T_BIND T_BUTTONS ... | stackexchange/codereview |
So I have a settings bundle in my iPhone app and my problem is that the values for the UISwitches that have default values of "enabled" are not being read from the settings bundle the first time the app is installed on a phone.
In order for the default settings to register I need to go into the iphone settings and simp... | stackexchange/codereview |
Using java awt, how to make the code draw a border for a circle. The henceforth code has performance issues, and maybe it would run faster if it just painted the outline.
g.fillOval(gameLogic.getParticleXCoor(i) - 3,
gameLogic.getParticleYCoor(i) - 3,
gameLogic.getParticleSiz... | stackexchange/codereview |
I'm working with some CSV files, with the following code:
reader = csv.reader(open(filepath, "rU"))
try:
for row in reader:
print 'Row read successfully!', row
except csv.Error, e:
sys.exit('file %s, line %d: %s' % (filename, reader.line_num, e))
And one file is throwing this error:
file my.csv, line ... | stackexchange/codereview |
I am new to game programming and graphics programming. However, I eagerly wish to learn, so I have begun building a game engine with OpenGL.
I have implemented all of the basic graphical features, and now I want to add texture support for my triangle meshes.
The only tutorials I can find for texture mapping is for a si... | stackexchange/codereview |
I use play framework !! But when I run my project it give me this
org.hibernate.exception.SQLGrammarException: could not execute query
who can help me ?
this is my model:
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.db.jpa.Model;
@Entity
@Table(name="GxkAccount")
p... | stackexchange/codereview |
I want to build an employees table using SQL SERVER 2008 , and in my table I want to have an ID for each employee .
I heared about GUID and I kind of understood that its a data type , But I couldn't use it
could you please show me the way to use it ...
by the way , lets say I want something like this :
CREATE TABLE Em... | stackexchange/codereview |
I'm interested in the language Scala and would like to test it with NetBeans Can 6.8. I've downloaded Scala 2.8.0 final und unzipped it to my hard drive. Then I installed the Scala plugin for NetBeans and created a first project. Naturally compilation failed with this message:
You must set SCALA_HOME or environment
... | stackexchange/codereview |
Hello and thanks for looking at this. I have an issue in that I need to redirect:
www.thisdomain.com/index.php
to:
www.thisdomain.com/
BUT...
this is complicated by the fact that I have two index.php files. One here:
www.thisdomain.com/index.php
and one here:
www.thisdomain.com/a_forum/a_forum_submission/index.php
So... | stackexchange/codereview |
Got some basic XML as a XML datatype within SQL 2005. One record/row looks like this
<doc>
<level1>
<level2>
<name>James</name>
<age>12</age>
</level2>
<level2>
<name>John</name>
<age>23</age>
</level2>
</level1>
</doc>
When I perform some basic T_SQL
SELECT TOP 1
Docume... | stackexchange/codereview |
What would be a good choice for a local database to use with Entity Framework for an WPF application that needs local database.
I dont want to use MSSQL Server cos that'd be an overkill and or MSSQL CE cos few days back I was using SQL CE 3.5 and had all sorts of issues of it not supporting server generated IDs.
I've ... | stackexchange/codereview |
I keep getting 400. I have no security enabled on my hudson server.
<?php
$url = "http://myhudsonserverIP/createItem?name=NEWJOB";
$post_string = file_get_contents("config.xml");
$header = "POST HTTP/1.0 \r\n";
$header .= "Content-type: text/xml \r\n";
$header .= "Content-length: ".strlen($post_string)." \r\n";
$h... | stackexchange/codereview |
I have indexed a list of words such as 'just saw','just passed','just met'.. I have a list of sentences and I want to extract only those sentences which have these keywords in it. for eg
'I just saw a movie'. but I don't want the sentences which are like ' I was in US and met Obama'. I want only those sentences which h... | stackexchange/codereview |
Since I upgraded from MVC 2 to MVC 3 RC, using TryUpdateModel causes a NullReferenceException. This problem only occurs when running my action method as part of a unit test. Running it on the actual server works as expected.
Here's a stack trace of the exception:
System.NullReferenceException: Object
reference not s... | stackexchange/codereview |
Given a list, each item of which is an (r g b) color, return a list consisting of the
maximum component in each color.
Example: given ((123 200 6) (10 30 20) (212 255 10) (0 0 39) (37 34 34)),
code should return (200 30 255 39 37)
| stackexchange/codereview |
I would like to distribute my app for free, and then sell extra features that can be added-on later. Is it possible to do this?
| stackexchange/codereview |
We have a problem with many of our website written C# ASP.NET.
The problem is that often a C# page will never fully load from the server.
The page content itself load fine but Images but more annoying Scripts (Javascript) seam to hang and never come down and depending on the content it might lock up the page on Ajax Po... | stackexchange/codereview |
Not sure whats doing here, but the binding works for the label in the data template but not the tool tip. Any help will be appreciated.
<DataTemplate DataType="Label">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<StackPanel.ToolTip>
... | stackexchange/codereview |
I'm using monit 0.4.1 in ubuntu 9.04. I tried to create a simple rake task just to start the monit service, but it turns out with rake aborted!. Here is my rake script:
namespace :monit do
desc "start monit"
task :start do
raise 'This Rake task must be run as root' unless Process.uid == 0
sh "sudo /etc/ini... | stackexchange/codereview |
I have a vb.net application that communicates with Exchange 2000 & 2003 using WebDAV, but it does not work with Exchange 2007 SP2
Test Environment and configuration
Windows 2003, AD and domain controller, Exchange 2007 SP2
With Public Folders
OWA can be accessed with a browser
https://myserver.com/public/Contacts can ... | stackexchange/codereview |
I have a string consist of integer numbers followed by "|" followed by some binary data.
Example.
321654|<some binary data here>
How do i get the numbers in front of the string in the lowest resource usage possible?
i did get the index of the symbol,
string s = "321654654|llasdkjjkwerklsdmv"
int d = s.IndexOf("|");
s... | stackexchange/codereview |
I'm trying to compile dolphin, a Nintendo emulator. I downloaded the trunk and it compiled fine but it won't link. Instead, I get this error:
Linking CXX shared library ../../../Binaries/plugins/libPlugin_VideoOGL.so
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
make[2]: *** [Binaries/plugins... | stackexchange/codereview |
Please tell me, are there limitations of maximum records per node within Basic license? For example i can store only max 10M records per Basic license? Or record count is unlimited by Basic license?
Thank you!
| stackexchange/codereview |
I have a twelve-year-old Windows program. As may be obvious to the knowledgeable, it was designed for ASCII characters, not Unicode. Most of it has been converted, but there's one spot that still needs to be changed over. There is a serious constraint on it though: the exact same ASCII byte sequence MUST be created by ... | stackexchange/codereview |
sorry in advance if I don't give enough information or if I'm unclear about anything, this is my first foray into using .bat and .config files.
I'm using a piece of academic software and am trying to add and run my own components. the system uses a config file to launch a list of components (classes) required for the ... | stackexchange/codereview |
I've recently been building a Magento theme from scratch and have encountered a problem with the checkout.xml file. It doesn't seem to be recognised by the system. The reason I say this is that I was trying to comment out the following code to remove the My Cart and Checkout links from the top menu.
<action method="add... | stackexchange/codereview |
So I am stuck with this problem of trying to find all k-elements subsets from a given N-elements set. I know what the total number of k-subsets is using the formula C(n,k)=C(n-1, k-1)+C(n-1, k) and I also have an idea how to do it in a iterative manner, but I get stuck when I try to think of a recursive solution. Can a... | stackexchange/codereview |
how to configure linked resources in Netbeans the way it is done in eclipse
| stackexchange/codereview |
How to invoke a webservice request as a XMLHttpRequest in iphone
| stackexchange/codereview |
I have a WCF service which is hosted as a Windows Service. We would like to enable a mex endpoint at the same address (but with a '/mex' suffix). I have been trying to do this (unsuccessfully) using the following configuration:
<system.serviceModel>
<services>
<service
name="MyCompany.MyService"
beha... | stackexchange/codereview |
Is it possible to initialize a static constant member in a class definition? Please see below for the code,
class foo
{
public:
foo(int p) : m_p(p){}
~foo(){}
private:
int m_p;
};
class bar
{
public:
bar(){}
~bar(){}
public:
static const foo m_foo = foo( 2 ); //is this possible?... | stackexchange/codereview |
I was currently given a couple of documents (class diagram, some collaboration diagrams and sequence diagrams) of a small game, being the task at hand rate how easy would it be to give this coding job not to one programmer, but to a team of them.
What are the fundamental points that I should look at? Here is what I've ... | stackexchange/codereview |
I'm very frustrated with my app crash in Release Mode on Windows 7.
In the main function, I removed everything:
int main(int argc, char **argv, char **envp) {
return (0);
}
But I do have a lot of directives, variables and functions defined outside of the main functions.
It only crashes in Release mode on Windows 7... | stackexchange/codereview |
How can I ComboBox/Drop Down Type User Control. I want to have a control where a TextBox is displayed by default, then when the user clicks/focuses the textbox, have a "Drop Down" appear that contains a bunch of other controls, when the textbox/usercontrol loses focus eg. user clicks elsewhere, the "Drop Down" should d... | stackexchange/codereview |
I am in the process of building a website for a DJ. Instead of reinventing the wheel, I thought I would look out there if there are any solution available. My requirements are:
Ability to have own domain name & custom design
Section for listening to DJ's song
Section for photos
Section for videos
Usual CMS functional... | stackexchange/codereview |
I'm getting the following error:
The type of one of the expressions in the join clause is incorrect. Type inference failed in the call to 'Join'.
when using the code below
var ccrCodes = (from c in db.CCRCodes
join i in items on
new { c.baan_cat_fam_code, c.baan_cat_code } equals
... | stackexchange/codereview |
This is a fairly basic question, I currently have two tables and in the second table there is a foreign key column for table A.
Table A:
id Name
----------------
1 Name1
2 Name2
Table B:
id Name Parent
-------------------------
1 John 1
What happens:
My PHP script inserts N... | stackexchange/codereview |
document.getElementsByTagName("body")
on executing the above line on omegle.com using a javascript console in mozilla i am getting an empty array why is that so ? while on viewing the page source the body tag seems to be there at its place .
| stackexchange/codereview |
using System.Web.Script.Serialization.JavaScriptSerializer
can I deserialize into an immutable object somehow?
public class Item
{
public Uri ImageUri { get;private set; }
public string Name { get; private set; }
public Uri ItemPage { get;private set; }
public decimal Retail { get;private set; }
... | stackexchange/codereview |
How do I build an https login on iOS? (Like this one: https://info.tam.ch/kks)
I only know how to solve a .htaccess.
Thank you.
| stackexchange/codereview |
the formula for calculating nth gray code is :
(n-1) XOR (floor((n-1)/2))
(Source: wikipedia)
I encoded it as:
int gray(int n)
{
n--;
return n ^ (n >> 1);
}
Can someone explain how the above formula works, or possibly its deriviation?
| stackexchange/codereview |
I have this MouseEvent function that I have totally no idea why it fired twice. Is there a way I can disable the function in a period of time? I tried disabling the button, but seems like it directly called the function and does not trigger from the button.
Addition info:When I add in more object to the array, the func... | stackexchange/codereview |
I tried to run a command by reading it from a textfile, but it failed. when i enter the exact same line it is working, tough. im suprised that it did even try to execute the move command, but got an errormessage that translates to "File or directory not found". obviously the errormessage is not telling the truth here. ... | stackexchange/codereview |
Here is the structure of my xib
uiview
--uiview
--uiwebview
I have made changes so that the uiview is transparent. What is the way to send the touch events which are delivered to touchesBegan of uiview to the touchesBegan of uiwebview ?
| stackexchange/codereview |
After publishing my XBAP application, I am missing all (or some) TextBlocks. It looks like this:
The buttons should be labeled, there should be various TextBlocks all over the main screen.
To make things more strange:
This application works perfectly
when Debugging.
Not all the texts are always missing, some are the... | stackexchange/codereview |
I am working on a project, Yes its for school. I'm having a hard time understanding how to pass the user input and store it with a array. The project is to get high and low temps for seven days and store in different arrays then compute the ave high etc. how do I collect the input and store it in a array in a different... | stackexchange/codereview |
Is there a good way of implementing a fixed-size array in .NET that does not require unsafe code?
My goal is to create a value type which represents a fixed-size array which can be embedded (included as a member) in other types - i.e. I'm specifically hoping to avoid creating an array as a seperate object to the type w... | stackexchange/codereview |
I'm trying to get my head around the concept of writing a Windows Service using ATL.
I've created a project and understand that I can override CAtlServiceModuleT functions to achieve my needs for the service.
What I'd like to do is have the service create a COM object (called Manager) that deals with the scheduling and... | stackexchange/codereview |
We have an extensive existing codebase and we've added load-balanced servers with a single master server to the equation now. There are various apps that contain models with uploaded files and images which all work fine... However, this raises the obvious problem of the rsync delay. Rsync is in the crontab and set to r... | stackexchange/codereview |
I've written code that can make a phone dial a number from a function call, that's done and dusted.
What I would like to achieve is adding a Dial button to each phone number field on the forms in Dynamics CRM. Eventually this could also create a new phone record fill in the basic details and show it to the user to ente... | stackexchange/codereview |
When I need an array for temporary use, what's the difference between these:
1:
NSMutableArray *stuff = [[NSMutableArray alloc] init];
// use the array
[stuff release];
2:
NSMutableArray *stuff = [NSMutableArray array];
// use the array
3:
NSMutableArray *stuff = [[[NSMutableArray alloc] init] autorelease];
// use th... | stackexchange/codereview |
I have a custom editor with problem markers.
The markers display correctly in the "problems" view with icon, location and text, and the problem icons display correctly in the left margin of the editor.
I would like to display the same error message text in a popup when hovering over the problem marker icon in the margi... | stackexchange/codereview |
Can you tell me how to store jsessionid in the cookie, so it can be passed to the servlet with post request? I'm using Apache HttpClient version 4.0.3.
All the solutions I've found explains how to do this with HttpClient 3.1.
I've read the tutorial and tried this, but it isn't working.
HttpPost httppost = new HttpPost(... | stackexchange/codereview |
I am using this jQuery Carousel inside a wordpress theme to show several banner images. I chose this script because I am not a solid js coder and needed pagination that is instantiated automatically. you can see an example of this problem at http://bfc.ravennainteractive.com . It shows the first image. There are thre... | stackexchange/codereview |
While Updating a Field of a Grid View (which is Varchar) the updated value turns out to be only the the first character of the TextBox. I'm not getting why is it happening so???
Also I'm using Stored Procedure to update.
Plz can any1 tell me the probable reasons of this error??
My C# Code is :
GridViewRow dg = gdtrn... | stackexchange/codereview |
I have 3 instances running of SQL Server 2008 R2 Express, to try and circumvent the 1gb limit for express editions. Instance 1 (SQLExpress) is attached to my busiest web site, servicing around 3000 concurrent online users. This database functions normally.
I am also running two other instances (SQLExpress1 and SQLExp... | stackexchange/codereview |
I am working on a script that takes a users on screen selection (when they physically highlight text in the browser) and is supposed to manipulate that text.
This is what I am trying to do.
Take the selected text, search for the selected text in an original string and then wrap the text that is found in the original st... | stackexchange/codereview |
Similar to dynamic SQL, wherein a String is executed as an SQL at runtime, can we have Java code run dynamically? Like I return a String which is a Java code and then I execute at runtime. Is this possible?
| stackexchange/codereview |
My model
<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('Identiti_Model_Akses', 'doctrine');
/**
* Identiti_Model_BaseAkses
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property string $nostaf
* @property integer $id_aplikasi
*
* @package ... | stackexchange/codereview |
I am making an online exam website where a user is taken to a page where there are multiple choice questions. I want to set it up so that once a user navigates to this exam page, he cannot navigate back. The only way he can get out of it is by clicking the submit button and then he cannot access that page again. The qu... | stackexchange/codereview |
I am trying to create a simple console based java application, which requires users to select files from their local filesystem.
The console prompts the user to select one of the available options and then switches on the input given.
public Client() throws UnknownHostException, IOException {
printuseroptions();
... | stackexchange/codereview |
So I am trying to perform this query on my database:
select
count(*)
from (select
userID
from users
where rating> 1000
except (select
userID
from users
where rating > 1000
except select sellerID from auctions));
... | stackexchange/codereview |
How do I add a column after another column within MS SQL by using SQL query?
TempTable
ID int,
Type nvarchar(20),
Active bit
NewTable
ID int,
Type nvarchar(20),
Description text,
Active bit
That is what I want, how do I do that
| stackexchange/codereview |
I Have a query where In I need to select all the distinct ID's from the table, also need to select only the min(date) so that I get records that were inserted 1st and not ID's for all dates.
Basically this is what I am looking for -
Table 1 || Table 2-
ID || ID Date
1 || 1 11/11/2010
1 || 1 10/11/2... | stackexchange/codereview |
I recently wrote a binding for a C library using SWIG. While a good deal of it was straight forward and used only basic SWIG functionality, I ran into trouble when I needed to support one function which took a C callback as an argument, which is not supported for SWIG. I solved this by writing Python-specific code to... | stackexchange/codereview |
Please Refer to this question I asked
Codeigniter Insert Multiple Rows in SQL
To restate
<tr>
<td><input type="text" name="user[0][name]" value=""></td>
<td><input type="text" name="user[0][address]" value=""><br></td>
<td><input type="text" name="user[0][age]" value=""></td>
<td><input type="text" name="user[0][email]... | stackexchange/codereview |
Eclipse wants a username and password when I install the BlackBerry JDE. I have a Blackberry account -- if I enter my account info it is rejected as wrong username and password. What account is this looking for?
| stackexchange/codereview |
Ok this may seem weird what i'm requesting to do (because i know its not the best way to do it)
This is my jquery code:
$('.save_ref').live('click',function(){
var project_ref_input=$('.project_ref_input').val();
$('.project_ref').append(project_ref_input);
});
I have a tab... | stackexchange/codereview |
I tried
<textarea rows="10" columns="2"><li>joe</li><li>jerry</li></textarea>
to see if I could put an html list in a <textarea> but it just showed as text. Is there any way to show it as a list inside the textarea?
| stackexchange/codereview |
I'm having some problems here with django admin site and inlines. I've been googling for solution for two days now but nothing.
I have two models:
class Measurement(models.Model):
user = models.ForeignKey(User)
date = models.DateTimeField(auto_now_add=True)
# etc
class Media(models.Model):
measurement = models... | stackexchange/codereview |
How can I alter this callback so that it sends matches on the keyword "test" in all cases where there is not a ">" character preceeding the keyword? And only matches on the whole word, (ie, does not match on "testing")
$theContent = preg_replace_callback("/\b('test')\b/i","doReplace", $content);
| stackexchange/codereview |
What is main difference in current JBoss (6.0 or 7.x) version for using standard data source and pooled data source.
Which one to use in which environment.
I have experience with jboss 4.2. I started using simple data source and very soon I hit problem with loosing connection during time.
I solved issue with using c... | stackexchange/codereview |
I've applied SQLCE in a project I've been working.
It works fine in Visual Studio and when I run locally (http://localhost:####) it runs perfectly.
But when I publish it at my remote host I receive the "Yellow Screen of Death" the following error message:
Failed to find or load the registered .Net Framework Data Provid... | stackexchange/codereview |
Is there a way to do this? eg, pass the name of the file to be processed, etc?
| stackexchange/codereview |
I distinctly remember from the early days of .NET that calling ToString on a StringBuilder used to provide the new string object (to be returned) with the internal char buffer used by StringBuilder. This way if you constructed a huge string using StringBuilder, calling ToString didn't have to copy it.
In doing that, th... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.