instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
i ma trying to write a program where about the payments of employees and other staaff, I have an abstract superclass called Employee, and then the following FullTimeEmployee,PartTimeEmployee ,Orders and Salesman , are sub classes of Employee.
I have only one problem with null pointers in Salesman, where i try to calcu... | stackexchange/codereview |
can I change password char, in password-box in HTML. I want to change it to ■
| stackexchange/codereview |
I think the topic says it all. What's the difference, if any, between parallel and multicore programming? Thanks.
| stackexchange/codereview |
I have an Ant script which turns my Java application into a nice Mac Bundle using the JarBundler task. The problem is how do I now turn that into a .pkg file for distribution?
I'm looking at using the packagemaker command line tool (located in /Developer/usr/bin/packagemaker) but it has a number of drawbacks:
If I us... | stackexchange/codereview |
I am working on a project where their framework uses jQuery 1.3.2 and jQueryUI 1.7.2.
Upgrading the versions in the framework is not a possibility so i wanted to run jQuery 1.4.4 and jQueryUI 1.8.5 in parallel.
I have seen that different versions of jQuery can be used in parallel like so:
<script type="text/javascr... | stackexchange/codereview |
I'm trying to include jQuery in an ASP.NET web site that also uses DexExpress controls, but no matter how I include my script, the $ function is always anonymous and the jQuery function is undefined. I suspect the DevExpress 'plumbing' script is overriding jQuery.
Anything I should be looking at?
| stackexchange/codereview |
Fellow developers,
I'm creating a report to be seen directly by the clients, so I need to ensure maximum user-friendliness. When the user types an invalid date string the report throws a rsReportParameterTypeMismatch and displays an error messages like this:
An error occurred during local reoprt processing
Query Execut... | stackexchange/codereview |
How can we have the text "Create New Position" be vertically centered?
HTML/CSS is below.
Adding margin-top:5px to the "Create new.." div helps but it seems hacky.
<div style="margin-top:5px">
<div style="float:left">Create new position</div>
<div style="float:right"><input type="submit" id="x" value="Save"></di... | stackexchange/codereview |
What characters can be used as CSS identifiers in a CSS file?
How can special characters be escaped (to avoid conflicts)?
| stackexchange/codereview |
I have a DetailsView Control, inside as a template a TextBox.
I need to find out the value for a TextBox when Inserting data Event handler-, _ItemInserting.
The script does not work. Ant ideas?? Thanks
-------------------- WEB FORM
<asp:TemplateField HeaderText="Profile" SortExpression="ContentAuthor">
... | stackexchange/codereview |
This is a relatively convoluted problem to explain so please bear with me.
I have a main.swf which I cannot control nor recompile. It loads a skin from skin.swf which contains all the movie clips and gfx to be used within main.swf.
After main.swf being locked down it was decided that skin.swf should also be able to l... | stackexchange/codereview |
I am trying to get Smarty setup and working, so that I can install the open-source project here
http://sourceforge.net/projects/assign-calc/
After following the install instructions, I get stuck with the following error message
<b>Fatal error</b>: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error... | stackexchange/codereview |
When working with different languages, what is the proper way to sub a string out in Rails?
Example (Czech Translation):
str = "pro více informací"
replace = "<em>více</em>"
str["více"] = replace
puts str
The problem I keep running into (and this is for multiple languages, not just Czech) is the following: IndexError ... | stackexchange/codereview |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>SOP</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="left">
<%
selectdata= "Select * from dbo.sop"
set RScontest = Server.CreateObject("ADODB.Recordset")
RS... | stackexchange/codereview |
I need to initialize CastleActiveRecord in WCF service. How I can do it?
| stackexchange/codereview |
I'd just like to make sure that this is impossible. I'm coding around it, but I thought that IB would allow me to instantiate an NSArray and point it to objects in the NIB. This is impossible, right?
[I'm looking for a tiny bit more than "yep, it's impossible" so I can evaluate the answers. Obviously if someone knows h... | stackexchange/codereview |
How can I show an "empty" TDateTimePicker in Delphi 2010 (that is, hide the display of the date so the control appears empty). I know about the trick of setting the format to show the epoch, but with Delphi 2010 running on Windows 7 the string "A.D." appears in the control when I do this.
| stackexchange/codereview |
I'd like to get F# code that leads to same behavior as following C# code:
public abstract class ModelBase<TIn, TOut>
{
internal abstract Func<TIn, TOut> GetFuncInternal();
}
public class Model1 : ModelBase<Tuple<int, int>, int>
{
private int _val;
public Model1(int val)
{
_val = val;
}
internal overri... | stackexchange/codereview |
I am trying to query a table which has a column called "filename".
The actual filename is made up of "productcode-category.jpg"
If i have the product code posted to a php page, how could i then take the value and search in the filename column where it equals the product code?
It would be great if it wasnt case sensitiv... | stackexchange/codereview |
I'm developing an iOS application which (like any other) requires a certain amount of free memory to run correctly. In my case - at least 4MB, I cannot use any less than that. It's a fairly small amount, but a few times (on my device at least) I got only 2MB free and the program crashed. What do you think is the best w... | stackexchange/codereview |
I'm new to JSF.
What i want is to click on something and when i do i want to run a bean method AND send the request with GET so i can set Parameters that will show on the URL of the next page.
I tried with this navigation-rule, the method will execute and return "success_selectedUserToCard", it will forward me to-view-... | stackexchange/codereview |
if try implemnt my first MVVM in WPF app. I have old app based on winforms and I want use my logic (class) from this project.
I have Model, it consist with these classes:
public class FriendData
{
//...
}
public class PingData
{
//...
}
public class PokecAccount : INotifyPropertyChanged, IDataErrorInfo
{
//...
}
pu... | stackexchange/codereview |
I need some help with C++, please!
I'm writing a command parser for a small text-based game, and I've run into some problems. The parser is supposed to read and parse commands entered by the player.
The most obvious and straightforward solution to this could be something like this (written in pseudo-code):
command <- ... | stackexchange/codereview |
I have only put several controls into my main form in C# and I see that each control is drawn very slowly when the form loads. This is very noticeable to user and it's bothering me. I am not creating any controls on run-time, they are inside the form already. I have seen some related questions and found the following s... | stackexchange/codereview |
I have an algorithm that enhances images taken in low light and uses GPU for the computations. I need to benchmark the algorithm to see how many instructions or triangles it uses on a GPU?
Any ideas on how it could be done? Are there any performance meters that could be written for the GPU?
| stackexchange/codereview |
I've used this exact code with a slight modification of the values in another script and it worked just fine, but this time it's giving me errors. This is the line:
$result = mysql_query("INSERT INTO contacts (name, email, telephone, companyname, postcode, message, date) VALUES('" . $name . "', '" . $userEmail . "', '"... | stackexchange/codereview |
Writing a script to get SQL Server instance names from a table, then attempting to connect to each of these instances to pull back database configuration information. All database instances involved are some version of SQL Server. If the connection fails (due to a bad password, instance is down, etc.) the intention is ... | stackexchange/codereview |
There are a number of questions related to profiling a java application, but I'm wondering if these recommendations also apply to profiling a web-based (tomcat) java application?
Are there specific tools that a better than others? Or is the assumption that most java applications these days are web-based, and the exist... | stackexchange/codereview |
Ruby 1.8.7. I'm using a regex with a ^ to match a pattern at the start of the string. The problem is that if the pattern is found at the start of any line in the string it still matches. This is the behaviour I would expect if I were using the 'm' modifier but I'm not:
$ irb
irb(main):001:0> str = "hello\ngoodbye"
=> "... | stackexchange/codereview |
i'm using an example in which i can fake the session.
It's for use in a unittest of a mvc controller.
In the test i create a controller and then i do this:
FakeHttpContext httpctx = new FakeHttpContext(null,null,null,null,mSessionItems );
ControllerContext ctx2 = new ControllerContext(httpctx,new RouteData(), target)... | stackexchange/codereview |
I am using DIA SDK for enumerating types and interfaces of COM binaries(dlls/exes).
But get_guid always returns Bad Ptr(0x0000) for every Class(CoClass & Interface) used inside that component?
Any way out other by which we can get guid from pdb of co class and interface.
Regards
Usman
| stackexchange/codereview |
In my rake task if I want to know the name of the file when that file is picked up for testing then how do I do that. Reason is that some of the files produce warning. I am not sure which of my 800 tests is producing warning.
My rake task is something like this. I am using rails3.
Rake::TestTask.new(:test_hr_module) do... | stackexchange/codereview |
I'm using django-reviews (http://code.google.com/p/django-reviews/) and having trouble setting the content-type for a review. Simple example:
def check_review(request):
if request.method == 'POST':
reviewed_item = get_object_or_404(MyModel, pk=request.POST['object_pk'])
review_form = ReviewForm(... | stackexchange/codereview |
I have a string that may contain an arbitrary number of single-letters separated by spaces. I am looking for a regex (in Perl) that will remove spaces between all (unknown number) of single letters.
For example:
ab c d should become ab cd
a bcd e f gh should become a bcd ef gh
a b c should become abc
and
abc d should... | stackexchange/codereview |
I need to know what factors contribute to not being able to deploy an EJB. I have an error like this:
An error has occurred
Deploying application in domain failed;
Error loading deployment descriptors for module [blach]
Referencing error: This bundle has no bean of name [blah]
Error loading deployment descriptors for m... | stackexchange/codereview |
I read that you can resize (and transform in general) a wrapped swing component which can be obtained with SwingComponent.wrap(myComponent). I fail to see how. I see that the returned type does inherit Resizable, but how do I set min/maxHeight, h/vfill and other properties?
| stackexchange/codereview |
Just a simple question, say I have a table and one of their attributes is jobs... the job options can be from 0-20 characters (varchar(20))... is this okay or should I create a mapping table so that a = job1, b = job2, ..etc..etc, so when I insert to the database, I insert it as an 'a' instead of job 1.
| stackexchange/codereview |
I want to write a python script that takes 3 parameters. The first parameter is a string, the second is an integer, and the third is also an integer.
I want to put conditional checks at the start to ensure that the proper number of arguments are provided, and they are the right type before proceeding.
I know we can use... | stackexchange/codereview |
Possible Duplicate:
what does $$ mean in PHP?
I recently needed to make a change on a application and came across this $pageObject->createPageContent($$templateName);
The method looked like this
function createPageContent($page_content_html) {
$this->page_content = $page_content_html;
}
My question is w... | stackexchange/codereview |
I have a hardware device which is controlled via a parallel port connection to a PC running Windows XP. I am coding in Qt4 and C++ (Qt Creator) and need a way to output to the device over the parallel port. All information I have found so far references companies and websites that closed down 5 or so years ago.
Does an... | stackexchange/codereview |
Currently our DAL (Data Access Layer) queries the database and we loop through the resultant data to populate an object (one object per row) in which the final result is a List.
What is the most efficient (and quickest) way to populate the objects?
Which is the quickest way to get data out of the database and into a sp... | stackexchange/codereview |
I have an Ajax form. i am caputuring the ID of the form. and when i the ajax call is a success. i want to pass this Id form BeforeSubmit to success. so that i can append the results to a place where i want.
here is the code
function StatusComments() {
$('.status-comment').submit(function() {
$(this).ajaxSu... | stackexchange/codereview |
I am very new to Android development. I am trying to install the working environment in Windows Vista . I installed java EE with jdk 6.0, Android SDK and the eclipse. When I try to install the ADT plugin in the software updates, I am not finding any available software list. I am confused where I went wrong. Did anybody... | stackexchange/codereview |
I'm trying to inject a fragment packet and i can't.
I see that if i have one udp packet witch has been split to two Ip packets
i can't inject only the second part, my operation system (windows Xp) seems to wait for the first part before it injects the two fragmented packets.
I don't have routers in the way or somethin... | stackexchange/codereview |
JAXB maps both xsd:base64Binary and xsd:hexBinary types to byte[].
Given that I have a schema/a DOM Element representing each of these types such as:
<foo>ABCD</foo> for xsd:hexBinary and
<foo>YTM0NZomIzI2OTsmIzM0NTueYQ==</foo> for xsd:base64Binary ,
it's not clear how JAXB 2.1 handles it.
JAXB.unmarshal(new DOMSou... | stackexchange/codereview |
Is it possible in Windows to intercept the command switches passed from one applicaiton to another?
To clarify, imagine we have two binaries: a wrapper and a main executable. The executable only launches correctly if the wrapper passes the appropriate command along with the execution (e.g. program.exe /start 12345).
| stackexchange/codereview |
I have a Windows .NET standalone app. and I want to include PostgreSQL database setup with my application's Setup. Is it possible?
| stackexchange/codereview |
I have saved few data from the view to database and added it to dynamically created html table using jquery in my asp.net mvc application. The script is given below.
$(document).ready(function() {
var attributetable = [];
$("#AddAttrib").click(function(event) {
event.preventDefault();
$("#Attri... | stackexchange/codereview |
If I'm trying to retrieve dave@gmail.com, searching "dave" will work as will "dave@gmail.com".
But searching for "dave@gmail" won't work. The query takes place inside a Java servlet.
I believe that the problem may lie with the full stop splitting
How can I fix this so that "dave@gmail" will return "dave@gmail.com"? ... | stackexchange/codereview |
I have created an exe from msi using WIX.
Now the problem is the resultant exe file takes up properties/details of WIX.
How can I change the properties/details of the newly created exe file. Is it possible to change it using C#?
Can anyone help me out.
| stackexchange/codereview |
is it possible to implement a detail disclosure button on a table view cell that displays the number of items in that category or do i need to make a custom cell for that?
| stackexchange/codereview |
I came across some code the other day and I wondered if that was the best way to do it. We have a method that takes a string from some web form data a does something to an object based on the string that is passed in. Currently, it uses reflection to figure which action to take, but I wondered if a switch statement ... | stackexchange/codereview |
I'm trying to figure out a way to pixelate only part of an image but no success so far.
Currently I'm following the following this tutorial: http://www.mutinydesign.co.uk/free-scripts/live-photo-blurring-script/
Using the jQuery plugin "imgAreaSelect" so that users can select part of the picture from the UI. Then the ... | stackexchange/codereview |
is it possible to check a value in a java object with some rules in a xml schéma ?
For exemple, I have a String txt = "blablabla", and I should verify if it's ok for <xs:element name="foo" type="string32"/>, with string32 a restriction to 32 caract. length max.
Is it possible ? If it's not possible with xml schema and ... | stackexchange/codereview |
I have a regexp problem in my htaccess.
I want to redirect all parameters in $_GET['params'] except css & js (these are folders) but the $_GET['params'] is empty :(
For example if i type : mydomain.com/its/an/example
Then $_GET['params'] = /its/an/example
But if i type : mydomain.com/js/its/an/example
It must be read l... | stackexchange/codereview |
I am trying to use the following code to add a column to a table.
ALTER IGNORE TABLE `EWRcarta_history`
ADD `history_ip` int(10) unsigned NOT NULL DEFAULT '0'
I am using IGNORE because for various reasons that I don't feel like getting into, this code may be called several times. I want to add the column, but igno... | stackexchange/codereview |
With performance counter to observe the "Sessions Total", I found the # of session stays the same after users logout. Is this expected behavior in IIS7?
Here is the logout implementation:
Session.Clear();
Session.Abandon();
FormsAuthentication.SignOut();
Thanks.
| stackexchange/codereview |
what I want to do is to give the user the ability to change some (here one) property of all text boxes in my application. When the user triggers my event, every textbox in every usercontrol, panel etc. is ought to be changed.
For Example all textboxes should change to Multiline=true; (I know this doesn't make much sens... | stackexchange/codereview |
Let me just start off by saying I am very much a beginner and being self taught a lot of the stuff I do is through trial and error, so please forgive me if I seem vague or if I don't explain myself clearly.
I'm currently building an auction website with MVC. I have two tables, one for the auctions and one for bids. The... | stackexchange/codereview |
Can someone tell me what should I put in my program "head"?
Netbeans generate only this:
/**
*
* @author Wolfy
*/
Do you have any good advice?
| stackexchange/codereview |
Keyboard Enter key not working in MFC Dialog Box ?
I have one MFC Login dialog box when I enter Username and password and hit Enter key the dialog box close down while when I use mouse to click on login it login's successfully.
What I need to do for making keyboard key work in MFC ?
| stackexchange/codereview |
I have a table of 'URLs', and each of the 'URLs' may have multiple 'conversions' attached to them. I want to accumulate the numerical value of all the conversions ($), and count the amount of conversions related to each URL aswell.
At the moment I'm using a left outer join to join the url table to the conversion table,... | stackexchange/codereview |
I load an image to qt using Imagemagick and then
I have several widgets that perform various actions to an image(blur, black and white, levels etc). There is an image preview that I show to the end user every time the image is manipulated.
The problem I have is that if for example I apply some blur effects(using horizo... | stackexchange/codereview |
I've tried using jScrollPane on a <div> container of a <ul> element that I want to apply custom scrolling to.
When applying the plugin directly on the <ul> element, it works great, but jScrollPane injects HTML elements between the <ul> and its <li> child elements.
I understand that this is not valid html, so I wanted ... | stackexchange/codereview |
I'm learning Java at my university, but unfortunately only the language and not really the framework.
I'm interested in writing some Java applications in Swing. What are some projects that use a clean document layout so that I can see how one normally structures a Java application?
| stackexchange/codereview |
Good afternoon,
I am writing a simple lexer which is basically a modified version of this one. After getting each token I need to perform slight modifications and re-analyse it to re-check it's type. Also, of course, after the lexical analysis I need to re-use the whole token list to make a kind of "parsing" on it. My ... | stackexchange/codereview |
I have created a webform for client where the client information gets stored and the client can login and view the form, but when the client veiw the form it displays the submission table and then the client have to click on view in operation to display the results, i wanted to implement a function so it becomes possib... | stackexchange/codereview |
What does SQL Server Express offer that MySQL do not?
PS: I'm comapring the two free Editions (MySQL and SQL Server Express)
| stackexchange/codereview |
I'm running Visual Studio 2008 and have been told that I have all rights to create #temp tables. I have done this before, but for some reason my sql in the new application always returns 0 rows.
I have the SQL connection string stored in my Application events as
Friend sqlConnProducts as String
I create a sql string... | stackexchange/codereview |
I have a sales and expenses table with rows similar to this
SALES
invoiced_on | total | ....
---------------------------
2010-10-01 | 500.00
2010-10-09 | 700.00
...
EXPENSES
submitted_on | amount
---------------------
2010-10-01 | 100.00
2010-10-09 | 200.00
...
Ideally I would select three columns:
week
sales... | stackexchange/codereview |
I noticed that one of my projects references 3 different versions of mscorlib:
1.0.5000.0
2.0.0.0
4.0.0.0
This post about "mscorlib.dll & System.dll" helped me understand what mscorlib is for, but I'm wondering whether it's normal/necessary for an application to require multiple versions of this assembly. Perhaps t... | stackexchange/codereview |
I have a stored procedure in SQL Server which returns seven result sets. I would like to call this stored procedure from ASP.NET and populate seven GridViews on my ASP.NET page with the results. I am using a SqlDataReader to get the data, however I'm struggling with the C# code to fill the GridViews.
I have created a ... | stackexchange/codereview |
I'm not really sure what tools I should be using to create a desired outcome...
At the bottom of the screen I would like to have three buttons, something like what is at the bottom of this screen except only using text instead of icons, and only having three options, not four.
Is this a tab view? I don't need a tab v... | stackexchange/codereview |
Consider the following two queries:
select a.*, c.*
from account a
join customer c on a.customer_id = c.id
join import i on a.import_id = i.id
join import_bundle ib on i.import_bundle_id = ib.id
and
select a.*, c.*
from account a
join customer c on a.customer_id = c.id
join import i on a.import_id = i.id
join impo... | stackexchange/codereview |
irb can write command history to a file, but it only does this when your irb session ends.
I would like to write out my command history more frequently: as often as on every command (like shell history), but it doesn't have to be so often.
Is there a .irbrc setting for this? Or will I have to hack the irb source...
| stackexchange/codereview |
I have been running and debugging my android app for quite a while now. All of a sudden I many of the break point I am setting are not being hit. I know the code is executed because of log messages.
I have noticed that once the breakpoint is passed for the first time eclipse adds a little check mark next to it..
I have... | stackexchange/codereview |
I own a software development company. We develop software for other companies who brand under their name/titles. And we also have a couple self branded titles in the Accounting/ERP market. Our accounting software is roughly 60% of our business and written in C++ Builder.
Those who know, realize C++ Builder has had a... | stackexchange/codereview |
What is a good Code Highlighter / Editor for JavaScript/jQuery. It is needed embedded in a website and should be style-able and, lightweight.
| stackexchange/codereview |
I have the following project structure with two MVC 3 projects with the Razor view engine http://screencast.com/t/KzhZkgVBPg the project inside the solution folder renders an exception like this http://pastebin.com/bgHphw87
Any suggestions how to solve this or maybe another way to solve the "mounting" of the project i... | stackexchange/codereview |
In my core data model I have two entities, let's call them A and B, A holds multiple B objects (A<-->>B). allBObjects is the To-Many Relationship that holds the B objects.
As this code
[[AObject valueForKey:@"allBObjects"] count];
works, I thought that this should work too:
[[AObject valueForKey:@"allBObjects"] object... | stackexchange/codereview |
I've been reading up on security measures to prevent brute force attacks. I'm specifically concerned with querying my MySQL database through PHP.
Is there a way to add a pause in the MySQL query of a few seconds, either through PHP or MySQL? This would limit the number of brute force attempts a hacker could use.
For ... | stackexchange/codereview |
i have trigger in sqlserver on table (tabs)
Create TRIGGER Trig_TabsUp
on Tabs
For UPDATE
AS
insert into tabs_Update select * from deleted
the table tabs_update the same as tabs but the identity field in tabs is not identity in tabs_update it just int. It gives me this error
the row values updateed or deleted eith... | stackexchange/codereview |
I would like it, if after a user logs in, that it automatically redirect to their previous location, but this never seems to happen, it always redirects back to the root location. From reading the docs on devise for this it seems this functionality is supposed to just work. Am I using it somehow wrongly and/or how ca... | stackexchange/codereview |
Does anyone have any idea how to limit result set of EntityFramework permanently? I'm speaking about something like this Conditional Mapping. This is exactly what I want to achieve with one exception: I want to do this programmatically. That's because condition value will be passed to EF only on context creation. Besid... | stackexchange/codereview |
I have a bash script, a.sh , and in it I have call a python script b.py .
The python script calculates something, and I want it to return a value that will be used later in a.sh .
I know I can do
In a.sh:
var=`python b.py`
In b.py:
print x # when x is the value I want to pass
But this is not so convenient, because I ... | stackexchange/codereview |
I am trying to generate video from set of image using ffmpeg library. Using following code, I am able to generate the video on simulator but when I run it on device, it produces strange green effect in video. I followed Encoding images to video with ffmpeg url. Can anybody help me out or if can provide code snippet, wi... | stackexchange/codereview |
I have a webapplication, written in PHP (Zend Framework) and I'd like to execute a (few) script(s) every once in a while. For example once a day. I know this can be done by using crontab and cronjobs, but not all hostingproviders have these available. Therefor I'm looking for a solution without using the Cronjob.
How d... | stackexchange/codereview |
I am tracking some keywords on Twitter using the command below, I want to print just the "screen_name" property of the tweet author, could get the command above working but want remove "quotes" from author screen_name, how could I do this?
curl -N -d @tracking http://stream.twitter.com/1/statuses/filter.json -umyuser:m... | stackexchange/codereview |
I need to use an iframe to pull in a page from another site but i dont know how to show a page from siteb.com on sitea.com
any ideas
| stackexchange/codereview |
http://pastebin.ca/1996549
The pastebin link may help if my wording doesn't. I basically have a site that contains a bunch of custom sortables. Although the user can remove them no problem - they can never add them.
Any time a sortable needs to be added to the site I have to write up a set of identical parameters and t... | stackexchange/codereview |
Why does <xsl:for-each select="text()"> ignore blank spaces?
Example XML Source:
<body>
Things<note>such as people</note> <note>or animals</note>act in crazy ways.
</body>
Example XSL:
<xsl:template match="body">
<output>
<xsl:for-each select="text()">
<text>
<xsl:value-of sele... | stackexchange/codereview |
As several developers work on the javascript files , many of them ended up writing the same file names again and again
simple example can be getCookie , setCookie type of functions.
Now we are doing aggregation on javascript files , will there be any problem if have same functions twice.
Right now things are working fi... | stackexchange/codereview |
I'm using the web.config transformations on an ASP.NET site so I have .config settings for dev, test, and release environments. I need to run the source code in Visual Studio against the test database using the settings in Web.Test.config and I can't figure out how to do it. I tried changing the configuration to Test b... | stackexchange/codereview |
Is there any way where in I can map a "javascript Map" into a "Java Map"???? I mean that i have an array of key value pairs in my javascript of a page. Is there a way where in i can get this map in my spring controller using an Ajax call????? If yes, how will the function argument corresponding to this map be????
| stackexchange/codereview |
this is my question:i want to get dynamic information on the jsp page when i redirect on it but not using scriptlet ,using servlet so ultimately i want to call servlet when my jsp page is loaded so without any form action i have to do this
thanks in advance.
| stackexchange/codereview |
When working with partitions, there is often a need to delete all partitions at once.
However
DROP TABLE tablename*
Does not work. (The wildcard is not respected).
Is there an elegant (read: easy to remember) way to drop multiple tables in one command with a wildcard?
| stackexchange/codereview |
we say that a header linked list is that which consists of a special node called header node that marks the beginning of the list
but i dont understand what is really the importance of this header node.
please help me?
| stackexchange/codereview |
I am using in my project slider Class from ExtJS. Me on the onkeypress event to perform some action. Everything would have been nice if it were not for slider. He also uses the event only onkeypress. Question: how to delete this event? I have tried in terms of the .mun - it did not work. Any Ideas?
Example: http://www.... | stackexchange/codereview |
I use php default mail function to send html e-mails.
My code:
//SENDMAIL
// multiple recipients
$to = ''. $email .'' . ', '; // note the comma
$to .= 'adress@domain.com';
// subject
$subject = 'subject';
// message
$message = '
<html>
<head>
<title>Email</title>
<meta http-equiv="Content-Type" content="text/html... | stackexchange/codereview |
Using RecursiveDirectoryIterator of PHP i am able to create directory tree and can even flatten it using RecursiveIteratorIterator class , but I want to create directory tree structure which TREE component of flex understands . The following is an array structure in php which flex understands.
array('label'=>'rootDire... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.