instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to do a LINQ query to a list of RelatedProducts objects. I have to group them by CategoryId so I'm using the group by clause. Unfortunatly I just realized I can't simply use 'select g.Value' at the end. The group is a IGrouping and I want to return just the RelatedProduct here. How can I do this?
Also in my ... | stackexchange/codereview |
I'm using UrlRewriter.net, mentioned on ScottGu's Blog. I've built a site around this and now I'm having problems with subdirectories. The problem is, I want to exclude a directory and all subdirectories/files within it from rewriting. The rules I have are:
<rewrite url="~/(.*)/Uploads/Images/(.+)?" to="~/Uploads/Imag... | stackexchange/codereview |
When running svn against our svn server I'm getting this error (domain name and fingerprint edited):
Error validating server certificate for 'https://svn.example.org:443':
- The certificate has expired.
- The certificate has an unknown error.
Certificate information:
- Hostname: mail.example.org
- Valid: from F... | stackexchange/codereview |
Is it better to create and dispose a context in the repository class? or is it better to create the context in the service and pass it to each repository through dependency injection?
If it is only created in the repository, the methods cannot do lazy loading (no use returning IQueryable) in the service/business layer... | stackexchange/codereview |
In my user signup form, I have a text field named twitter_username. After the form is submitted (for example, with the_real_shaq in the twitter username field), Firefox did this:
Do you want Firefox to remember the password for "the_real_shaq" on heroku.com?
Obviously I Firefox to offer to store the password for user's... | stackexchange/codereview |
I'm working on a custom forum and I notice I was doing something wrong. I was sorting threads based on the thread date. I need to organize the threads based on the date of the last post made in the thread.
I tried the following but it has issues. It lists entries multiple times.
$thread_sql = "SELECT forum_threads.thre... | stackexchange/codereview |
I'm dynamically creating a select node with option nodes inside. The code works fine in FF & IE8.
But it refuses to work in IE8 in quirks mode or ie7 compatibility mode. And it refuses to work in IE6.
The option nodes do get added to the DOM.
var PersonnelSelectorListBox,
PersonnelSelectorDiv;
function AddListItem... | stackexchange/codereview |
Can anyone explain why Nimbius treats the setOpaque() differently than other java LaF's. Its breaking my code because components that are normally transparent no longer are.
EDIT: The problem seems to only deal with JTextAreas (which is what I need) or similar components.
EDIT EDIT: This is a screen of the actual appli... | stackexchange/codereview |
I have a jQuery plugin that needs to register a click event handler:
$.fn.myPlugin = function (options) {
var settings = {
// snipped
};
$.extend(settings, options || {});
$("body").click(function () {
// Do Something
});
// Rest of the plugin
});
The problem is that multiple in... | stackexchange/codereview |
If I have a box where people put comments, and then I display that comment like this...should I escape?
{{ c.title }}
| stackexchange/codereview |
I am manually printing and drawing a document using this class but not sure how to be able to write on the document Page 1 of 10, Page 2 of 10 etc
Any ideas?
| stackexchange/codereview |
I'm not sure if this is a rails method or a ruby method but I am looking for details about what happens when you call @object.save.
| stackexchange/codereview |
Hi Everyone I am new to drupal and i am working on drupal theming i have created my own modules which have textfields and javascript validation in it. Now i am trying to create own theme for my module but i am not getting how to do can anyone pls give me a idea of how to do from basic or any links which explains in det... | stackexchange/codereview |
Has anyone encountered this warming in Xcode 3.2.4 before?
ViewController.xib:4: warning: The Address data detector type is not supported on iOS versions prior to 4.0.
| stackexchange/codereview |
I was just thrust into Linux programming (Red Hat) after several years of C++ on Win32. So I am not looking for the basics of programming. Rather I am looking to get up to speed with things unique to the Linux programming world, such as packages, etc. In other words, I need to know everything in https://www.redhat.com/... | stackexchange/codereview |
I looked through the programming guide and best practices guide and it mentioned that Global Memory access takes 400-600 cycles. I did not see much on the other memory types like texture cache, constant cache, shared memory. Registers have 0 memory latency.
I think constant cache is the same as registers if all thread... | stackexchange/codereview |
Here is some javascript/jquery code:
$('#button').click(function()
{
$.get("php/doit.php?id=<? echo $r['id']; ?>", function(html)
{
alert(html);
// $.get("php/doit.php?id=<? echo $r['id']; ?>", function(html)
// {
// alert('omg!');
// }
});
});
The s... | stackexchange/codereview |
How do I reference to all functions added to the class, after the class has been built? (Possibly as a array) and without using prototype.
I have built a class foo(), and would like to add the functionality to add new functions
that can be used later.
var f = new foo();
then
f.addfunc('bar',function(){/*code*/});
so ... | stackexchange/codereview |
Anyone know how to get the sender class/module in ruby?
caller[0] is helpful to derive the filename and linenumber sending.
But knowing the class would be helpful. Can't find it any searches?
| stackexchange/codereview |
This query fetches news articles that are tagged similarly to other news articles. Is it possible I can eliminate one of these subqueries that I'm not seeing?
SELECT id,
title,
comment_count
FROM NEWS
WHERE (franchise_id = 1 OR franchise_id = 0)
AND draft = 0
AND id != 459
AND id IN (SELECT... | stackexchange/codereview |
Does looping in C# occur at the same speed for all systems. If not, how can I control a looping speed to make the experience consistent on all platforms?
| stackexchange/codereview |
i am looking for an abstract and clean way to exchange strings between two python programs. The protocol is really simple: client/server sends a string to the server/client and it takes the corresponding action - via a handler, i suppose - and replies OR NOT to the other side with another string. Strings can be three t... | stackexchange/codereview |
What is wrong here?
Haml::Engine.new('= image_tag("golfer.png")').render
image_tag is always undefined (ActionView::Helpers in not loaded).
How can I fix that? Thx!
| stackexchange/codereview |
I am trying to build a cloud VM brokering service which can borrow computer power as VM's on-demand, from the private/public cloud computer infrastructure. I have following goals for my service.
Abstract out vendor specific API in to a library which will give flexibility to choose any of the vendors (eg. EC2, rackspac... | stackexchange/codereview |
I have a database including some tables, when I want to delete data from tables which includes an "Auto Increment" field, using this query:
delete from test.table1 ;
I got this error:
Error Code: 1030Got error -1 from storage engine
Why this happens? What should I do?
| stackexchange/codereview |
[Python 3.1]
Edit: mistake in the original code.
I need to print a table. The first row should be a header, which consists of column names separated by tabs. The following rows should contain the data (also tab-separated).
To clarify, let's say I have columns "speed", "power", "weight". I originally wrote the following... | stackexchange/codereview |
I am a PHP Developer and Recently I develop a web site using PHP and I connect to a Syabse Database using ODBC.
My database connection is ok and I can display the data in my web pages but I face a problem when arabic data is displayed as it is viewed as squares and not understanding symbols.
I can not change the Databa... | stackexchange/codereview |
ive made this code to dynamically change the second select based on what is selected on the first one. It works but it doesnt work on page load. The page where the script resides is receiving a value posted from a form on the previous page; that value is selected on the first select on page load but when that happens t... | stackexchange/codereview |
Trying to access a property from the parent page on my user control.
Here's the start of my default.asp codebehind:
Partial Class _Default
Inherits System.Web.UI.Page
Private _selectedID As String = "74251BK3232"
Public Property SelectedID() As String
Get
Return _selectedID
... | stackexchange/codereview |
I have the following code to display a textbox in a HTML webpage.
<input type="text" id="userid" name="userid" value="Please enter the user ID" />
When the page displays, the text contains the Please enter the user ID message. However, I found that the user needs to click 3 times in order to select all the text (in th... | stackexchange/codereview |
When a PAY request is initialised, and the CREATE action type is used, does the PAY API create a payment request under the user's account (ie the user see a payment request under his my account when he logs into paypal?)
Or does this create a PAY request for the API only not a actual money request?
| stackexchange/codereview |
I am developing for the Android. When I create icons in Photoshop (and convert them to PNG), they appear larger and stretched within my Android application. The emulator that I am using is medium density. Does anyone have some tips for how I can create my icons in Photoshop so that they appear normally on the Android... | stackexchange/codereview |
imagine there are 50 columns. I dont wan't any row that includes a null value. Are there any tricky way?
SQL 2005 server
| stackexchange/codereview |
I am using SQL Server 2005 SP3 Standard Edition but cannot create an indexed view (trying to create a clustered index on MeasurementDataID). I know standard edition does not use indexed views in a query unless noexpand query hint is used.
Error message -- because view reference an unknown value sum aggregate of null... | stackexchange/codereview |
I'm working on a project which compares image files. Before I start I decided to ask for external sources, like a commercial SDK or something open source.
I tried to write a sample where it compares 2 image files too measure how similar they are, and output a percentage result. But no luck, long time to execute and wea... | stackexchange/codereview |
just wrote application based QT with OCI plugin but i can't deploy it.
i did the following steps:
installed QT 4.7 SDK
Installed the OCI plugin:
set INCLUDE=%INCLUDE%;c:\oracle\oci\include
set LIB=%LIB%;c:\oracle\oci\lib\msvc
cd %QTDIR%\src\plugins\sqldrivers\oci
qmake -o Makefile oci.pro
nmake
i followed: "Building s... | stackexchange/codereview |
I'd like to ask how should I load bean (defined in application xml) in my service class in Spring application. I've tried to load it using (and simillar solutions):
public class MyService {
public void myMethod() {
ApplicationContext context = new ClassPathXmlApplicationContext("security-config.xml");
Ld... | stackexchange/codereview |
I'm using the wiktionary api to get information from the wiktionary.org..
I'm getting the data in the json format and i'm able to parse it too...
but i want to remove some portion of data from the result (in fact, i need only some data), but i dont how to remove certain content from the result..
the code i'm using is ... | stackexchange/codereview |
I come to you on bended knee, question in hand. I am relatively new to Android, so pardon any sacrilegious things I might say.
Intro: I have several layouts in the app, that all have to include a common footer. This footer has some essential buttons for returning to the home page, logging out, etc.
I managed to get ... | stackexchange/codereview |
I am trying to decrypt a hashed string using
Security::cipher($strHashedPassword, Configure::read('Security.salt'));
doesn't seem to be giving the desired result. Does anyone have any experience with this? From the docs it looks like this should work.
| stackexchange/codereview |
Hello guys
I'm creating a little website for my Javascript course. I created a page with 3 frames as above in the image.
I don't know if it is possible to do that but what I want to do is:
When the visitor clicks on "PAGE A" from the FRAME MENU, the text "TEXT TITLE" in the FRAME HEADER is changed to "WELCOME TO A", o... | stackexchange/codereview |
I have the following function which does a crude job of parsing an XML file into a dictionary.
Unfortunately, since Python dictionaries are not ordered, I am unable to cycle through the nodes as I would like.
How do I change this so it outputs an ordered dictionary which reflects the original order of the nodes when lo... | stackexchange/codereview |
I have a sequence with {"1";"a";"2";"b";"3";"c";...}.
How can I transform this seq into {("1","a");("2","b");("3","c");...}
| stackexchange/codereview |
How do I set up an xml layout where an OpenGL view is part of it? As I do now is set the OpenGL view as the only view with setContentView(). But I would like to create an xml layout that includes the OpenGL view. Lets say I want to have the OpenGL view mainly and a small TextView at the bottom.
Is this even possible... | stackexchange/codereview |
I am developing web app using ASP.NET and i am also using javascript in the gridview header as TemplateField to open a window like this,
<a href="javascript:var popup = window.open('PopUp.aspx?+Value','Popup','width=200,height=200');
What I need to do in the "PopUp.aspx" code behind is to parse "Value" from "PopUp.asp... | stackexchange/codereview |
I want to fetch contents of two separate category and insert them in two different boxes.
I have written the query like this:
$query = mysql_query(sprintf("SELECT * FROM ".DB_PREFIX."_links WHERE cat = %d LIMIT %d" , 4, 3));
But can we write 2 or more query in one query? like :"select * from blah where cat = (3, 4, 5... | stackexchange/codereview |
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRow... | stackexchange/codereview |
Is it possible to define path with optional path variables.
like the uri below:
/app/make/{make}/model/{model}/year/{year}/mileage/{mileage}/fuelType/{fuelType}/maxPrice/{maxprice}/transmission/{transmission}/engineSize/{engineSize}
URI may be composed of any 0 or more combinations of the parameters? Is there a way to ... | stackexchange/codereview |
In my web application, there are two separate lib directories:
/lib, and
/web/webroot/WEB-INF/lib.
The idea behind it is that libraries in the latter one are used by front-end code only, and the first one by both the front-end and the business logic code. There is a class loader in place which lets the business logic... | stackexchange/codereview |
I'm developing one application. In my application, send mail with attachment image using Intent. hat is working fine, but save as draft button disable in mail application, I want to enable save as draft button for every mail.
Thanks
| stackexchange/codereview |
I have about 400 MKAnnotationView´s that loads simultaneously into the MKMapView.
I understand that this isn't any good, it is a little bit slow, and I want to do it the "correct" way.
I zoom my map by a center coordinate:
MKCoordinateSpan span;
span.latitudeDelta = 0.8;
span.longitudeDelta = 0.8;
MKCoordinateRegion r... | stackexchange/codereview |
I have two threads, each with a buffer with some data. I have a function that writes to a TCP socket. (I use ffmpeg for it.) How will the data packets arrive at the server — in some crazy mixed up way, or in some other order, or will the OS (Windows, in my case) make one thread wait until the other has finished?
| stackexchange/codereview |
So I was trying to work this out but it seems that the last line (the check) doesn't allow sub queries in it. Any way to make this work Oracle?
CREATE TABLE Tank (
n_id int,
day date,
level int,
CONSTRAINT pk_w_td PRIMARY KEY (n_id,day),
CONSTRAINT fk_w_td_tan FOREIG... | stackexchange/codereview |
I am logging in remotely to a website using cURL and everything is working fine. I am posting the login information, retrieving the cookies and being redirected by the remote site. I have a few questions about how the cookies are actually functioning.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://we... | stackexchange/codereview |
I want to load an image into a PictureBox. This is the image I want to load: http://www.gravatar.com/avatar/6810d91caff032b202c50701dd3af745?d=identicon&r=PG
How do I do this?
| stackexchange/codereview |
Possible Duplicate:
Android - iphone style tabhost
I am trying to figure out how to achieve a tab bar look and feel like the one provided in the iOS for android applications? I am using the normal one but it makes my application to look old school. I would like to achieve the same visual experience as the image bel... | stackexchange/codereview |
In What's new in Silverlight 4 page at
http://msdn.microsoft.com/en-us/library/dd772166(v=VS.95).aspx#networking
under section: Client HTTP Processing >> "Basic and NTLM authentication support" is mentioned as a feature. Could someone explain this particular feature in more detail? A piece of sample code demonstrating ... | stackexchange/codereview |
I am intermediate in java. I am working with a company quite new to company, they have asked me to take session on "threading concepts in java with real example" as I don't have hands on on threading I can just prepare slides hoe threads can be implemented using Thread class or Runnable interface.
Can anybody please he... | stackexchange/codereview |
So I have found a number of tutorials/guides for running a php script as a background process, but no matter which code I use, the process still appears visible in the browser.
What I am doing is triggering a script that may take 5-10 seconds to run (relies on a third party API). I put the trigger at the very bottom of... | stackexchange/codereview |
after the unsuccessful attempt to use Scala with NetBeans (Code Completion still doesn't work). I made up my mind and decided to try Eclipse. Due to the quarrels with NetBeans the path variable was already edited and I didn't expect any problems. Well, I was wrong.
I downloaded Eclipse Classic.
I read the instruction... | stackexchange/codereview |
I need to be able to be able to call readAsset from outside of the main activity of my application. I have heard people mention needing to pass the Context around, but the language has been very vague. Can someone describe the steps necessary to add the ability to call readAsset to an existing class that is not the m... | stackexchange/codereview |
Does Castle Windsor have an equivalent to Unity's BuildUp() whereby you can decorate class properties with attributes and have the container pass in values to an existing object instance?
e.g. in Unity:
Statistics existingInstance = new Statistics();
container.BuildUp(existingInstance)
class Statistics
{
[Depe... | stackexchange/codereview |
In prior versions of IE and in Firefox, I am able to call methodFoo in JavaScript from my Java Applet running on the same page. In IE9, this no longer works. Is there some additional step, or a different way of doing this that will work for IE9?
My Java Applet contains
import netscape.javascript.JSObject;
...
private... | stackexchange/codereview |
I have a SQL Server database, i need to export all of the data into an Access mdb that users can download. What's the simplest way of doing this from C#?
I realise I could have a blank (but with schema in place) mdb, and when i want to export I could copy it, then read all the data from SQL Server into the mdb via data... | stackexchange/codereview |
I am back with a second no-brainer question, but I would like to get this straight in my head.
I have an assignment in which I am charged with providing a command to find a file named test in my home directory (one command using find, and one using grep). I understand that using find is just 'find ~/test', but using g... | stackexchange/codereview |
I made a very simple Facebook application in PHP that retrives information about the current logged user (it looks in cookies). I am interested in retrieving information from another Facebook application: deezer, deezer facebook application. Do you have any idea of how can I access this information (from deezer, e.g. t... | stackexchange/codereview |
My JSON response contains characters in decimal format such as
My Friend's Story
instead of
My Friend's Story
How do I convert them properly?
| stackexchange/codereview |
I want to make it so my pen can be a highlighter, so basically changing its opacity, but i don't know how to do this. I currently use a colordialog to allow the use to choose desired colour but this only allows me have colours which aren't transparent enough to see through it like a highlighter tool on powerpoint as an... | stackexchange/codereview |
I want to know if it is possible to post to a friend's wall using the iPhone Facebook api.
I have already links explaining how to post on user'wall but not on firend's wall
here are the links :
http://www.raywenderlich.com/tag/facebook
| stackexchange/codereview |
I am designing a monitor process. The job of the monitor process is to monitor a few set of configured processes. When the monitor process detects that a process has gone down, it needs to restart the process.
I am developing the code for my linux system. Here is how I developed a small prototype
- Fed the details(path... | stackexchange/codereview |
I have created an automation add-in with a UDF that converts a given number into a string (ex. 100 = one hundred); like a class library in Visual Studio 2010 in C#, and it works with MS Excel 2007(x86). I am having a problem when I install it on MS Excel x64. I have created the add in using this blog post.
Where and wh... | stackexchange/codereview |
Which one is the best way to write:
string* str
Or:
string *str
Is there any drawback of side effect to one of them ?
Thanks
| stackexchange/codereview |
how can i rotate text 90 degree which be supported in both FF and IE(6,7,8) ?
| stackexchange/codereview |
I am developing an application to work on Mac OSX 10.5 and later and I am using Mac running 10.6.4 with Xcode 3.2.4. The application is very simple which accepts some information from user and stores it in a file. The application working perfectly on OSX 10.6 but on OSX 10.5.8 when I double click on it to open it does ... | stackexchange/codereview |
I have the result of Get-ChildItem, and I want to iterate over these, and display their names. By default if I simply use Write-Host then I get it listed out along the row like this:
PerfLogs Program Files Program Files (x86) Python31 Temp Users Windows
However, say that I know I want it split into x columns, I ... | stackexchange/codereview |
Is there a better way for getting the field_name value from a IDataRecord only if the field_name exists in the IDataRecord, currently I'm using a try{...} catch{...} block, but this is some kind of On Error Resume next. Some alternatives?
/// <summary>
/// Returns column value from IDataRecord only if field_name exists... | stackexchange/codereview |
We're using DevExpress Xtra reports, but they don't seem to be able to meet our requirements...
I previously posted this question, to which no good answer (that I am aware of) exist, even from devexpress.
We would like to have a report that we can change the layout of (based on some property of a user), but have the un... | stackexchange/codereview |
I need to check if a database field contains a numeric value in it. Here is some pseudo code:
if {myField} is numeric
// do something
else
// do something else
I'm looking for a function that will allow me to do the check '{myField} is numeric'.
To help, here are some possible values for {myField} and what th... | stackexchange/codereview |
I dont drawer type notification.. i only want only an icon as notification..plzz help guyss
| stackexchange/codereview |
I have several key value pairs or mapping value, like
Eg: Liquid Manufacturing -> Processing+Batching+Filling+Sealing
There are several such key value pairs. These values might change frequently.
Whats the best practice? Can I save them to XML based config files? or database?
Can I have them in a config file and read i... | stackexchange/codereview |
My Model has the following field. It has to update whenever there is a change in that model.
modified_at = models.DateTimeField(auto_now=True)
and I wrote a custom action to change the status of this model in the admin interface.
this particular field works fine for all kind of updates except the mentioned custom actio... | stackexchange/codereview |
I have a Python script so far that does what I it to... Opens the CSV Defined by the user, splits the file into different Predefined "pools" and remakes them again into their own files, with proper headers. My only problem is I want to change the Pool list from a static to a variable; and having some issues.
The pool ... | stackexchange/codereview |
My code right now has O(N) insertion time, and O(1) removal time. I need to change this around. I am trying to implement O(1) insertion time and O(N) deletion time.
Legend:
nItems = number of items/objects. Initially is set 0.
queArray is my array of long integers.
Here are my two methods. Insertion method does all the... | stackexchange/codereview |
I have a listView using a custom adapter. Each row contains a button and some other Views. I want to be able to click either on the button, or on the row itself (to edit the item of the list that is clicked).
Setting an onItemClickListener in the activity won't work because of this problem
I think I have to set an onCl... | stackexchange/codereview |
Lately I saw working code-blocks like this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
And according to RFC 2396 (URI Syntax) and RFC 2616 (HTTP 1.1) these URI starting with two slashes are valid, but unfortunately the RFCs don't really explain them.
Can a... | stackexchange/codereview |
I have a large existing application with a bunch of managed-beans that are injected via JSF's ioc.
I want to start autowiring things into these beans. Currently i cannot do so because these beans are not created via spring.
What is the easiest way to solve this problem?
| stackexchange/codereview |
A fairly simple question (I hope). Given a struct in C (the layout of which is known at compile time), is there a way (via macro, or other) that I can access the byte position of a named field in the struct?
Support for unions would be a bonus. The compiler is VC++ 2008. Assume that #pragma pack(1) is used.
Cheers
| stackexchange/codereview |
I looked for how to dump and array to the console I have mostly found:
for (id name in arrayStuff)
NSLog (@"Array contents: %d", name);
I've tried different formaters %d %@ %g etc. which does print different stuff, but not the values I'm 99% sure are being entered into the object and consequently the array. Thi... | stackexchange/codereview |
I want to post all of my source code for a project on my webserver however I have a problem. All of the source code is in php and when I post it the server tries to execute it.
To try and avoid this I changed the file extension to .html however this did not work. When I post java files they just show up in plain te... | stackexchange/codereview |
About a month ago my wife and I came up with a good idea for an iPhone app, so I set about thinking of how the app would work from a users perspective and about a week ago I opened up XCode for the first time and began to develop.
Before I get too stuck into the writing of the app, I want to make sure I have some key ... | stackexchange/codereview |
Haskell here we go! Okay so here is an example of the code currently used:
data Tree a = Node (Tree a) (Tree a) | Leaf a | Empty deriving (Show)
main = do
let my_tree = Node (Node (Leaf [1,2,4,9]) (Leaf [3,5,5,8,5])) (Leaf [2,7,5,5,2])
cc my_tree
bb my_tree
aa my_tree
cc my_tree
print("Done")
Simply creating a tr... | stackexchange/codereview |
What is the recommended format for Git commit messages, if there is any?
| stackexchange/codereview |
API for recharge mobile balance on-line for INDIAN MOBILE SERVICE PROVIDER like IDEA,AIRTEL
| stackexchange/codereview |
When E_NOTICE is set to on, PHP will report undefined index for arrays. I want to suppress this error for $_GET only. Is there any way to do that other than prepend every $_GET[] with @?
| stackexchange/codereview |
I am attempting to connect to a server with a POST message asking the server to subscribe me. The server will then hold the http connection open and send back asynchronous messages to me with live statuses until I request to cancel the subscription or close the connection myself. I am having trouble reading these subse... | stackexchange/codereview |
I have to write a VBScript which will run on a Windows Server 03 (no Office, SMTP, etc. installed - like it's a fresh installation). This script should send E-Mails over an MS Exchange Server (on another server). So now I have a meeting with the head of the team managing those Servers. To prepare I'd like to know what ... | stackexchange/codereview |
Let's say I have the following two classes:
public class TestResults
{
public string TestGroup {get; set; }
public string TestName {get; set; }
public bool TestPassed {get; set; }
}
public class TestSummary
{
public string TestGroup {get; set; }
public string SummaryText {get; set; }
}
Some of the... | stackexchange/codereview |
If I have a Repository designed for obtaining my Aggregate Root (as defined by Eric Evans DDD) e.g. an Order Entity (the Root Aggregate) which would have OrderLine objects as children.
In some cases I just want to retrieve the top level object i.e. the Order without the OrderLines and on other occasions I would like t... | stackexchange/codereview |
My php script parse the user information from My MySQL data base and shows it when a get or post action Is made. As you can see the format must be ?user=Name but i want to make it like Facebook do; /Mike, its anyway to do this whitout making a folder for each user? Thanks!
| stackexchange/codereview |
When you create a new MVC project it creates a Site.master with the following markup:
<div id="menucontainer">
<ul id="menu">
<li><%: Html.ActionLink("Home", "Index", "Home")%></li>
<li><%: Html.ActionLink("About", "About", "Home")%></li>
</ul>
</div>
I would like to put code in here that will ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.