instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm testing django right now on Max OS X Snow Leopard Server. I have compiled mog_wsgi for build-in apache/python and enabled it in apache via LoadModule wsgi_module. I have also installed django via standard python setup.py install command. After that, i have created a test django application by named webtest in ~/Doc... | stackexchange/codereview |
I'm having some trouble with databinding inside a UserControl when using an ItemsControl which has an ItemsSource. My Eventtrigger is never called.
I Think the problem is that when I call my eventtrigger in the line:
<cmd:EventToCommand Command="{Binding ElementName=layoutroot, Path=DataContext.Checked}" />
it tries ... | stackexchange/codereview |
i've removed all references to bold (gui=bold, cterm=bold, term=bold) in the color syntax file slate.vim but i still see some bolded text. for example in a python file, the keywords class, def, try, except, return, etc. are still in a bold blue font.
also how to disable bold in status messages, like "recording" or "Pre... | stackexchange/codereview |
I have been playing with objective C a little and am finding it a great language..
Coming from C# i found pointers a little hard but now i understand the concept and how to use them..
ie:
MyObject* x = [[myObject alloc] callinitializer];
which create a new object on the heap and a pointer on the stack..
but can somebo... | stackexchange/codereview |
const correctness has me somewhat confused.
What rule of thumb do you use to decide when something should be const or not?
e.g. consider this example
class MyClass
{
string ToString(); // this one?
const string& ToString(); // or this?
const string& ToString() const; // or this?
char* ToString(); // What abou... | stackexchange/codereview |
Can't figure out how to merge two lists in the following way in Haskell:
INPUT: [1,2,3,4,5] [11,12,13,14]
OUTPUT: [1,11,2,12,3,13,4,14,5]
| stackexchange/codereview |
I am building a DDD system and we have all the requirements on paper for the system already set. There is a disagreement on how we go about building our domain model that I need an opinion on.
My preference is to take the requirements and sketch out a basic domain model with the outline for the classes, their properti... | stackexchange/codereview |
Well I think the title explains for itself.
I'm trying to export a configuration object trough the wire, but it looks quite difficult, the class is not serializable and... it's sealed, so no heritage here.
As anyone did something like this before?
Regards
| stackexchange/codereview |
as a beginner, I have formulated some ideas, but wanted to ask the community about the best way to implement the following program:
It decodes 8 different types of data file. They are all different, but most are similar (contain a lot of similar fields). In addition, there are 3 generations of system which can generate... | stackexchange/codereview |
How to make this inside shadow effect with CSS?
So far I got this http://jsfiddle.net/yX26J/. How to apply shadow only left and top?
| stackexchange/codereview |
I need to log socket usage, and I wrote a LD_PRELOAD library.
The problem is when I override read() and write() than ordinary file operations are get logged too (of course).
So how can I tell ordinary file descriptors and socket descriptors apart?
| stackexchange/codereview |
I'd like to generate a classpath file from pom.xml dependencies. I need it so during tests I have the classpath of all dependencies (that are later packaged into a bundle)
maven-dependency-plugin does not suit me for two reasons:
it generates paths to files in the repository, so to use other modules they first need to... | stackexchange/codereview |
I have a program which opens a file by using a relative path (for instance '..').
Now the problem is, when I execute the program from another directory, the relative path is not relative to the program but relative to the working directory. Thus, if I start the program with '/path/to/program/myprog' it fails to find th... | stackexchange/codereview |
I am creating some sessions on successful login and I need to access them from my master page. How do I go about this?
public void showUser()
{
if (!string.IsNullOrEmpty(Session["User"].ToString()))
{
Response.Write(Session["User"].ToString());
}
else
{
Response.Write("Not Logged In"... | stackexchange/codereview |
Have you applied test driven development to purely sql scripts? if so what has been your experience. Is it worth it? What are the rewards? disadvantages ? etc.
| stackexchange/codereview |
How to manually specify an integer value bound to a particular enumeration value in Scala?
| stackexchange/codereview |
I am using VS 2k10 and have a asp.net 4 app with a sql server db behind it, and I have 50 deployments of it (50- databases, 50 web application deployments).
Is there any recommended or standard tool in the industry used for updating mass web applications and databases all at once?
| stackexchange/codereview |
HI
I am working on UITablview based project. i like to load a new view when ever a cell got click. i am using following code in didselectRowAtIndexPath delegate method.
The below coding is not showing any error but new view not get load and [self navigationController] is returning null.
inside Viewdidload function [se... | stackexchange/codereview |
I want my application to capture input focus, whenever the mouse hovers over it. How do I do it in Windows?
Basically I dont want users to explicitly click on the application, or the taskbar icon before entering any text, when the application is not in foreground.
I tried the SetForegroundWindow API in the mouse hover ... | stackexchange/codereview |
i compiled the new version of FFMPEG and the padding commands have been deprecated.
As i try to get familiar with the new -vf pad= commands, i want to ask, how can i
convert a video without changing it's aspect ratio.
I've checked numerous solutions from stackoverflow, nothing seemed to work.
Can someone, please post... | stackexchange/codereview |
I am creating a new application..I created a login page successfully..Now I need to modify the login page ..Only 3 attempts only allowed for a user ..If the user wrongly enters the password more than 3 times(within 5 min) his account must be blocked..And error message must be shown as You cant access your page ..Please... | stackexchange/codereview |
Please look into this question.
Issue with MVVM view first approach
But I'm unable to find "x:Shared" attribute.
| stackexchange/codereview |
I have another newbie question;
lets say I have a set of numbers
graph_val <- c(4,2,3,4,1,1,9)
and I need to create a frequency table of them against this scale
1 2 3 4 5 9
"Very Poor" "Poor" "Average" "Good" "Very Good" "Don't Know"
... | stackexchange/codereview |
I'm trying to render a form's fields manually so that my designer colleagues could manipulate the input elements within the HTML instead of struggling in Python source.
ie. Instead of declaring form fields like this...
{{ form.first_name }}
.. I actually do ...
<label for="id_first_name">You... | stackexchange/codereview |
I need to localize labels / column header for a ReportViewer report. From what I've read, there are two ways you can do this:
1) Create a RDLC file for each language or
2) Create one RDLC file and parse this at runtime, replacing the label/header values with the strings for the current culture.
I'm thinking #2 is go... | stackexchange/codereview |
hi i wished to randomly load a view. the views are called view1 view2 and view3 below is the code im using. can any one tell me the the code i should place in the case section to replace - (void)viewDidLoad self.view = view1; etc as this is not working thanks
- (void)viewDidLoad {
[super viewDidLoad];
NSString ... | stackexchange/codereview |
I'm writing a simple browser-based front end that should be able to launch a background task and then get progress from it. I want the browser to receive a response saying whether the task launched successfully, and then poll to determine when it is done. However, the presence of a background task seems to be stoppin... | stackexchange/codereview |
I've been pulling my hair for the last few hours trying to figure out why insertNewObjectForEntityForName is returning NSManagedObject even though I'm trying to insert an entity of my own type.
Things I have checked a thousand times:
Class name is set to the correct value in the diagram designer
Entity has many-to-man... | stackexchange/codereview |
Using a CreateUserWizard (with only one step) and a logincontrol on the same page.
But when i create a new user the Remeber me functionality dosent work (only if i log out and then log in again). I dont know if the persistant cookie is created.
Im using this code behind:
protected void CreateUserWizard1_CreatedUser(obj... | stackexchange/codereview |
I have a menu in wpf(mvvm). Menu is of three level.
Level1
Level2_1 Level2_2
Level2_1_1, Level2_1_2, Level2_1_3
How do I make intermediate menu item clickable. I mean, I want to make "Level2_1" clickable.
Example:-
America
California Kenucky I... | stackexchange/codereview |
I have some component items in tridion which are set up for a particular schema. I'd like to be able to change the schema for those items to a newer schema. The new schema retains all of the existing properties that the old one had, so there would be no data loss. In this situation it is not possible to just alter the ... | stackexchange/codereview |
I have two sets of data with the same level of grainularity, for example invoice number. Most of the data required is updated daily as we recognize the revenue for previous invoices. However, some of this data is fed through a seperate costing system once a month and is then fed to the data warehouse with additional ... | stackexchange/codereview |
I'm sure I'm missing the correct terminology here, but for this example many-to-many relationship:
A user has many books. A book is owned by many users.
What's the best way to see all books owned by both of two users?
Right now I'm just using this:
SELECT * FROM books
WHERE book_id IN
(SELECT book_id FROM user_... | stackexchange/codereview |
I have this piece of code
$('ul.fonts li', '#wizard').live('click', function(e){
$('ul.fonts li', '#wizard').removeClass('selected');
$(this).addClass('selected');
$('blockquote').css('font-family', $(this).find('a').attr("class") )
e.preventDefault();
})
I tried ti optimize this code storing the selector in a variabl... | stackexchange/codereview |
Anybody find that xcode is adding a new line to you source code when you hit the backspace key?
For example I am writing code and I make a typo and I hit back space it will the immediately duplicate the line of code the cursor is on and it will appear below, and back space will delete on each line char by char as it hi... | stackexchange/codereview |
I am trying to get data into a table with jquery. The data is in attributes and an array and I would need to go trough that array to extract the information that I require.
Using the following, I put some content into a array:
$(Stuff).find("desc").each(function(index) {
stuffArray[index]=$(this).text();
});
Here ... | stackexchange/codereview |
After further investigation on basis of previous question url encode/decode is working properly. Issue is something with Apache server (might be) which serves file download request
Specially if my file name ends with % sign, it fails.
For e.g.
Original File name:
204153_20090605_Aluminiumacetotartraat_DCB_oordruppel... | stackexchange/codereview |
I have a core location app that I'm writing leveraging the startMonitoringSignificantLocationChanges method to generate updates when appropriate but this does not work on older devices such as iPhone 3g.
I would like for the core location functionality to still work while the device is open, so I thought I could use ... | stackexchange/codereview |
I am trying to implement a method to count all nodes of a tree from the root down. Basically I count the root then add the length of each of the roots child lists.
public int size()
{
int count = 1; //count the root node
for (int i = 0; i < root.getChildren().size(); i++){
... | stackexchange/codereview |
I have a script that automates a process that needs access to a password-protected system. The system is accessed via a command-line program that accepts the user password as an argument.
I would like to prompt the user to type in their password, assign it to a shell variable, and then use that variable to construct th... | stackexchange/codereview |
They say a single image is worth 1000 words:
I'll just note that the size is set to default. (build in NetBeans)
any idea how do I fix this?
Adam.
| stackexchange/codereview |
I want the android source to check at boot time if sdcard is inserted and if yes
then override the default crypto package in the android source code with the one
in sd card, else it does nothing.
Now I have 2 questions:
1. How can i override a default package?
2. How to check the status of sdcard at boot time?
I know h... | stackexchange/codereview |
I am trying to center a DIV, with "margin:auto" . It works fine with Chrome and FF but the following code does not center the DIV with IE:
CSS
#container {
margin:auto;
width:950px;
height:50px;
background:#000;
}
HTML
<div id="container"></div>
What am I doing wrong?
Thanks,
Joel
Edit (full HTML/CSS code):
<htm... | stackexchange/codereview |
I'm trying to create WCF proxy in unmanaged C++ (No .NET framework is installed on the client).
I've found the website "http://icoder.wordpress.com/2007/07/25/consuming-a-wcf-service-with-an-unmanaged-c-client-with-credential-passing/" which teaches how to generate such a proxy.
The problem is that I've found the sprox... | stackexchange/codereview |
I am using jQuery UI autocomplete and I am relatively new to jQuery and JSON. Below is my code. I was wondering if it is possible to specify the field name and data table name inside the callback url so that the php file grabs it later. I have many input box with different names and ids which need to have autocomplete.... | stackexchange/codereview |
I used
http://sqliteadmin.orbmu2k.de/
to create my sqlite db file. I created it as a sqlite db version 3 file.
When I go to open the connection
Dim Connection As New SQLite.SQLiteConnection(DATABASE_FILE_LOCATION)
Connection.Open()
I am getting this exception on the Open() call
"File opened that is not a database fil... | stackexchange/codereview |
Sorry if this question isn't "programmery" enough. Before my time at the company they paid for a very expensive website written in asp.net and dotnetnuke. Absolutely terrible but there's very little that can be done about that now. They won't give us access to the SQL Server for some bizarre reason but they've given us... | stackexchange/codereview |
How to overcome the case sensitivity while accessing a file in unix using shell script.?
I have a file namely file.txt in the designation path and in script while accessing the same file with the name FILE.txt it throws the error as Cannot open File.
Please guide me how to access the file with case change in unix scrip... | stackexchange/codereview |
SelectedIndex_Changed event occurs when selection changes, and selection is changed or not is decided by comparing dropdowns current selectedIndex and its value in viewstate.
When we changes dropdown's selected Item using Javascript, it does not change the viewstate's value (which is previously selectedIndex). Now if ... | stackexchange/codereview |
I'm new to MFC, once I create my first app, in myApp::InitInstance() . I have
SetRegistryKey(_T("Local AppWizard-Generated Applications"));
Can I delete this and save settings to my own ini construct ?
| stackexchange/codereview |
I've defined method fadeIn for Object
Object.prototype.fadeIn = function(d, callback) { //some code here };
....
var b = documentGetElementById('b1'); // <div id="b1"></div>
b.fadeIn();
It works in FF, Opera, Chrome, but IE reports "Object doesn't support this property or method" when I try launch fadeIn. Why IE do... | stackexchange/codereview |
I'm looking for a 2d framework with such things as layers/particles/screen manager/sprite batch/parallax/etc coded in c++ out there? I'm looking for somethings that doesn't necessarily have graphics, because I want to add it on to airplay sdk. Or something I can easily rewire to do the graphics through airplay.
EDIT: ... | stackexchange/codereview |
I've spent a good few hours trying to get this regular expression to work and I'll I've got so far is one big headache!
I'm using cURL to load a page into variable $o. Now somewhere in this page is the following:
<tr valign="top">
<td>value1</td>
<td>value2</td>
<td align="right">value3</td>
</tr>
A... | stackexchange/codereview |
It looks to me like it might be possible to, in many cases, automatically perform some of the refactoring required to turn a functional and/or class style javascript source into a more prototype/non-class based oo source.
Has anyone made a serious attempt at writing a tool that does this kind of automatic refactoring?... | stackexchange/codereview |
I am writing a LinkedList in C, the below code represent my Node definition.
typedef struct {
int value;
struct Node* next;
struct Node* prev;
} Node;
I understand (or think that I do) that struct Node not the same as typedef struct Node. Granted my code compiles and runs as it's supposed to, however, I ge... | stackexchange/codereview |
I understand that certain data type object have certain buffer size. E.g. a char is 1byte.
So, when creating a self-defined class object,
How much memory is allocated to
the object a?
Is the amount of memory allocated
different if the object is created
on stack, or heap?
Is the amount of memory allocated
fixed, or can... | stackexchange/codereview |
In JPA is there an annotation to specify that boolean fields should be persisted as an integer.
I'm using OpenJPA and it's currently persisting boolean fields as bits. I'd rather use integer 1 or 0.
| stackexchange/codereview |
Basically, I have a form that generates a certain number of "types of publications" depending on "departments" input before someone is filling out this form. (Department specific publication types that are recognized.) There are a couple of fields that go with each publication type...(they are the same fields, so each ... | stackexchange/codereview |
i want the code of how to get and set the values of a field in a java program
| stackexchange/codereview |
I'm looking for a Collection type data structure to implement the following. Say I have a class like this:
class Person() {
String homeTown; // key
String sex; // key
String eyeColour; // key
String name;
long height;
// other stuff....
}
I am processing multiple Person objects. I want t... | stackexchange/codereview |
In HTML, I am adding rows dynamically in a table
I need to give different colors for alternative rows using CSS
How can I acheive this?
| stackexchange/codereview |
Actually I have executed the postgres query, assume that it has return the 10 rows. Now I am having that's statement handler ( $sth ) .
print Dumper $sth->fetchrow_arrayref;
print Dumper $sth->fetchrow_arrayref;
print Dumper $sth->fetchrow_arrayref;
print Dumper $sth->fetchrow_arrayref;
print Dumper $sth->fetchrow_ar... | stackexchange/codereview |
Not sure if I worded the title correctly, so my apologies.
I want to simply convert an integer to strings that hold the binary representation of that integer.
Example:
116 would convert to "1110100"
Is there anything built into .Net or will I need to write a small parsing algorithm?
| stackexchange/codereview |
How can I open the iTunes App Store from an UIWebView? what code (javascript?) should i use?
| stackexchange/codereview |
I'm thinking of implementing in-app purchases for my iphone app. My question is whether or not I can implement a credit system. I'd like to allow users of the app to purchase various quantities of credits. The credits would then be stored in a DB for that user's account. The user can then visit a dedicated website for ... | stackexchange/codereview |
I have this class in DNS.h
@interface DNS : NSObject <NSXMLParserDelegate, NSNetServiceDelegate> {
NSMutableArray *servsPublished;
}
@property(nonatomic, retain) NSMutableArray *servsPublished;
Then in the implementation file DNS.m there's a method where I release it and I get the exec bad access memory error. Th... | stackexchange/codereview |
I'm building a web application and I just received some basic foundation data from the client in a spreadsheet. I need to get the data into a MySQL database in a meaningful way so I can effectively query it later. What makes the most sense? Here's the particulars:
There are Departments, Classes *edit (classes are types... | stackexchange/codereview |
I would like to let my content authors upload PDFs and provide download links. Unfortunately, they get a page with a preview of the first page of the PDF instead of the PDF itself when they link to it.
How do you provide download links for attached PDFs in Zotonic?
| stackexchange/codereview |
i have a string strText with certain value on it,i need to assign '\0' or charactor at the specified position of strText.
ie strText[5]='\0'.how is it possible in c#.
| stackexchange/codereview |
if (preg_match_all ("/\[protected\]\s*(((?!\[protected\]|\[/protected\]).)+)\s*\[/protected\]/g", $text, $matches)) {
var_dump($matches);
var_dump($text);
}
The text is
<p>SDGDSFGDFGdsgdfog<br>
[protected]<br> STUFFFFFF<br>
[/protected]<br> SDGDSFGDFG... | stackexchange/codereview |
I have written this SQLite statement and I am getting syntax error on the following line:
update List SET number = (CASE WHEN number>=3 then number++ WHEN number=1 then 3 ELSE number END) WHERE listKey=3;
The error is:
SQL error: near "WHEN": syntax error
I tried various versions, adding braces at places and all, bu... | stackexchange/codereview |
Using C#/.NET for my application, I've got a series of classes in my main data model that represent "binary" (as opposed to text) content. I've got a inheritance setup like this:
Basically, the abstract class BinaryContent contains a MemoryStream that stores arbitrary binary data. That data is read from a file on disk... | stackexchange/codereview |
What does "offset" mean in the context of programming?
Does it mean in the beginning or by a distance?
What does the String.offsetByCodePoints(int index, int codePointOffset) method do? What does "unpaired surrogates" in the method documentation mean?
| stackexchange/codereview |
We have an application where users with proxy rights need to be able to see links in an application.
For example, we might have:
<s:intercept-url pattern="/resourceManager.htm" access=" ROLE_ADMIN_GROUP, ROLE_PROXY"/>
If the user has the role of proxy, but not the admin role, I need to present them with a page telli... | stackexchange/codereview |
I wana define a simple function in my program so I added this prototype in .h file:
double TimeCalculation (Ptr <Node> mynode,Ptr <Node> nb_node, Ptr <Ipv4> nbipv4, Ptr <Ipv4> myipv4 );
then i wrote this function:
double
TimeCalculation (Ptr <Node> mynode, Ptr <Node> nb_node, Ptr <Ipv4> nbipv4, Ptr <Ipv4... | stackexchange/codereview |
What is the difference between these two. I know Boxing is converting primitive values to reference. What is widening. Also what should be the sequence first boxing should be done or widening should be done?
| stackexchange/codereview |
I've stumbled across a problem way beyond my area of expertise, and I don't have a mentor to turn to for help with this.
I have a receipt printer I need to interface with through an iOS app. The printer is located on the same network as the device(s), so I can address it through supported "Line Mode commands"
What I'd ... | stackexchange/codereview |
How do i modify ant war task so when everytime it is called, instead of building whole application, it builds only new files or modified files. I tried to use update, duplicate attributes and they do not seem helpful.
| stackexchange/codereview |
I want to create a table with multiple columns, say about 100 columns, in an sqlite database. Is there a better solution than naming each column individually? I am trying the following:
conn = sqlite3.connect('trialDB')
cur = conn.cursor()
listOfVars = ("added0",)
for i in range(1,100):
newVar = ("added" + str(i),... | stackexchange/codereview |
I am having trouble getting an IQueryable list of a (subsonic) object grouped by Month and Year.
Basic view of the object...
public partial class DatabaseObject
{
[SubSonicPrimaryKey]
public int objectID { get; set; }
public string Description { get; set; }
public decimal Value { get; set; }
publ... | stackexchange/codereview |
I trying to configure an XA DB2 DataSource, xa-datasource (based on http://community.jboss.org/wiki/SetUpADB2Datasource) using com.ibm.db2.jcc.DB2XADataSource class (local-tx-datasource works using the com.ibm.db2.jcc.DB2Driver). The target server is DB2 Connect V9.7
Actual xa-datasource config:
<xa-datasource>
<jn... | stackexchange/codereview |
let's say we have simple file
<?php
echo "hello world"
I'd like to place the file in /modules/myModul/(somewhere).
Where do I have to save the file and how do i call it via the browser url?
| stackexchange/codereview |
How can I convert a java 1.4 Collection to a Scala Seq?
I am trying to pass a java-collection to a scala method:
import scala.collection.JavaConversions._
// list is a 1.4 java.util.ArrayList
// repository.getDir is Java legacy code
val list = repository.getDir(...)
perform(list)
def perform(entries: List[SVNDirEntry... | stackexchange/codereview |
I asked a question here yesterday and it was kindly answered. However, I have taken the sample code and attempted to print out the value of the current node, i.e. using getNodeValue.
Whenever I run the jsp it returns a "org.apache.jasper.JasperException: An exception occurred processing JSP page" error on "printOut = ... | stackexchange/codereview |
i want to give a name and value to the default button in UI dialog. how can i do that ? i would like to give to submit button a value and name!
$("#dialog").dialog({
bgiframe: true,
autoOpen: false,
height: 150,
width: 600,
modal: true,
buttons: {
Submit: function() {
d... | stackexchange/codereview |
is it possible to redefine the behavior of a Python List from Python, I mean, without having to write anything in the Python sourcecode?
| stackexchange/codereview |
I am using a Wampserver 2.0 for database-web development.
When i ran the following the php code which is embbeded in my html form, the server crashes meanwhile other php processes on different pages are responding effectively.
I have checked my apache error log and saw the following message:
[Fri Oct 22 11:37:04 2010]... | stackexchange/codereview |
I need something like the slider control from jQueryUI, but I don't want to use the whole framework for only one control.
I tried searching Google but I get results for image sliders rather than the type of control I'm after. Perhaps there is another name for this kind of control?
I found only this
Which is exactly wha... | stackexchange/codereview |
Is it possible to output values from a cascaded delete in SQL?
Something like:
DELETE [Families]
OUTPUT [deleted].[FamilyID] [deleted].[FamilyName], [Members].[MemberName]
FROM [Families]
LEFT JOIN [Members]
ON [Members].[FamilyID] = [Families].[FamilyID]
If there were two families with three total... | stackexchange/codereview |
Looking at the profiler I see a few differences. The second query which uses the include will in fact return data from related to the secondary table CountryCodes. This part makes sense to me. I don't however understand why this query has two joins. First it does a regular inner join between CountryCodes ands Count... | stackexchange/codereview |
Can you help me to understand why it is recommended to use:
while ((s = sem_timedwait(&sem, &ts)) == -1 && errno == EINTR)
continue; // Restart when interrupted by handler
(EINTR: The call was interrupted by a signal handler)
Instead of simply:
s = sem_timedwait(&sem, &ts);
In witch cases I have to manage EINTR ... | stackexchange/codereview |
I have generated a few network graphs in igraph. I like to use tkplot, however, after resizing the window manually and changing the layout, my machine freezes up when I try to export or even take a screenshot of the graph.
Any ideas? My machine is Windows XP Pro and has 2GB memory.
Many thanks in advance.
| stackexchange/codereview |
I want to post to an external php file and get the result. It a php that i have hosted in my server online. I want the static page in my localhost post by ajax and load the html in a div. But I'm not able to do this.
$.post("http://www.site.com/index.php", { font: "panchami", input: "hi" } );
Is there anything wrong i... | stackexchange/codereview |
Any clue on why the code bellow does not work ?
I'm trying to set the background color of a tab item when selected to red.
<Style x:Key="TabItemStyle" TargetType="{x:Type TabItem}">
<Setter Property="Background" Value="White"/>
<Style.Triggers>
<Trigger Property="IsSelected" Value="Tr... | stackexchange/codereview |
I gave Rails3 a try and to do so I installed the new gems, like RSpec2. When I went back to my old apps though, autospec stopped working for Rails 2.3.x apps:
$ AUTOFEATURE=true autospec
/usr/local/lib/site_ruby/1.8/rubygems.rb:335:in `bin_path': can't find executable autospec for rspec-2.0.1 (Gem::Exception)
from... | stackexchange/codereview |
I create .gitignore in folder with my repository near .git
project
--.git
--.gitignore
--Source
----tmp
----scr
But git doesnt see it, wouldnt ignore files in .gitignore
My .gitignore file:
*.tmp
*~
*.pdb
*.user
*.suo
Sources/tmp
What`s wrong?
Up:
I created new repositiry, add .gitignore before init commit - it work... | stackexchange/codereview |
I am used to working on C# .NET windows applications. I am interested in starting with web applications. Can you suggest some good ebooks or references for C# ASP.net to begin with for a guy like me who is comfortable with windows applications?
| stackexchange/codereview |
I am trying to create a list of all virtual directories within an IIS site. However, I have found that trying to do this varies dramatically in the older versions of IIS. In IIS 7 this is a relatively easy task via C# but I can't seem to find a good method for doing this in IIS 6 and 5.
I have tried using the Syste... | stackexchange/codereview |
I have created simple factory:
public interface ICommandFactory
{
ICommand CreateCommand(string componentName);
}
Implemented using Typed Factory feature from Windsor:
Container.AddFacility<TypedFactoryFacility>();
Container.Kernel.Register(Component.For<ICommandFactory>().AsFactory());
also i am using subresolve... | stackexchange/codereview |
I have an MVC2 application that is divided into Areas. Is it good practice for each area to have its own Content folder for Images, Styles etc that only pertain to that area?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.