instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Is there a way to pre-populate a database table w/ a migration in Rails 3.x? I have a list of states, and I'd like to be able to pre-populate it whenever I'm setting up a build of the project.
| stackexchange/codereview |
I encountered an error in Visual Studio, Please use the /MD switch for _AFXDLL builds
so if I undefine the _AFXDLL, will my program go wrong?
| stackexchange/codereview |
I tried all php mp3 split classes that i found on the web but none of them can cut VBR encoded mp3 files or mp3 files containing artwork.
Then i tried to install mpgtx but it could not be installed somehow, i got errors on while making package with "make" command.
any suggestion ?
thanks
| stackexchange/codereview |
Im trying to connect a Flash client to BlazeDS. There has been some success with this from others using the vanilla BlazeDS setup. However I'm using the new Spring BlazeDS Integration from springsource and running aground.
The flash client actually seems to be working in that I can see the correct data in the body of ... | stackexchange/codereview |
What's the best way to save my MySQL data model and automatically apply changes to my development database server as they are made (or at least nightly)?
For example, today I'm working on my project and create this table in my database, and save the statement to SQL file to deploy to production later:
create table dog ... | stackexchange/codereview |
I am having trouble figuring out a query. I have three tables
messages
---------------
message_id
phone_num
body
received_time
subscribers
---------------
phone_num
keyword_id
keywords
---------------
keyword_id
client_id
Subscribers can belong to many keywords of different clients. I want to find recent messages ... | stackexchange/codereview |
I have a project in social engine 3.x . I have upgraded it into social engine 4.x. I want to upgrade social engine 3.x old theme into social engine 4.x theme.
| stackexchange/codereview |
Given that I have a table contains user data, like this:
userID calltime result
1 10:20 1
1 11:00 2
1 11:30 1
2 9:30 1
2 11:00 1
3 10:00 1
3 10:30 2
3 11:00 1
3 11:30 ... | stackexchange/codereview |
I'm trying to start a rails project with a postgresql database but when i try to create the db with the command:
rake db:create
I'm getting the following error message:
rake aborted!
no such file to load -- pg
I'm using mac os X so postgresql is intalled in the /Library folder. I've look around for the pg file but i co... | stackexchange/codereview |
How to unit test the following piece of code:
@Override
public void update() {
if (isStopped() || isPaused()) {
return;
}
// ...
}
This method is from an audio stream. It needs to be called regularly so the stream reads new data. If the playback is stopped or paused the stream should not advance so I return... | stackexchange/codereview |
Playing around with project ideas that I might actually use, figured I might try to write my own simple version of Bit9 Parity, in either C# or Python. My question is what is the best way to go about doing this. I've googled .Net functionality for prevent processes from executing, but I havn't really found what I'm loo... | stackexchange/codereview |
I have nested tables within a table that has the tablesorter applied to it.
It adds sort headers to the nested tables, but they don't sort the rows and a Javascript error is thrown.
I would like to have either:
the nested tables not sortable
the sorting on the nest tables actually work.
but not the status quo.
| stackexchange/codereview |
From my main.java:
Cursor c = db.getDue();
String[] columns = new String[] { "_id", "date" };
int[] to = new int[] { R.id.num, R.id.date };
SimpleCursorAdapter mAdapter = new SimpleCursorAdapter(this,
R.layout.lventer, c, columns, to);
ListView lv1 = (ListView)findViewById(R.id.List... | stackexchange/codereview |
Is there a tutorial on any of the up-to-date (Nov 2010) Facebook (new API) wrappers for Rails such as Facebooker2 or Koala?
| stackexchange/codereview |
How can I detect, which mouse button have double clicked the form i.e. Left, Right or Middle?
Updated:
I am using .NET2.0
| stackexchange/codereview |
I'm not very familiar with git but it looks like it can use filter attributes to, for example, tidy XML files before committing. The SVN manual specifically (and strongly) advises against using pre-commit hooks for this. Is there another way?
| stackexchange/codereview |
Quick question. I have a site that publishes user activities back to their wall using Open Graph API. I was wondering if I can use the "@" sign for mentioning user's friends in the message that I want to publish.
If yes, how would I go about this?
| stackexchange/codereview |
When I try to change the src attribute of embedded movie (quicktime), it strangely works locally in Firefox, but doesn't work on server in firefox, doesn't work in Safari either locally or on server, and it doesn't work in IE.
I try what was suggested below:
$(".image_thumb ul li ul li").click(function(){
var... | stackexchange/codereview |
I know HTTP keep-alive is on by default in HTTP 1.1 but I want to find a way to confirm that it is actually working.
Does anyone know of a simple way to test from a web browser (EG how to make sense of wireshark). I know I need to look for multiple HTTP requests over the same TCP connection but I don't know how to conf... | stackexchange/codereview |
I had a long form which includes multiple combo boxes and textboxes.
I am using this form for registration, also I'm using same kind of form for updating.
I finished up the registration process using INSERT query.
For updates, I had one idea. Instead of using UPDATE query, should I remove (DELETE) the record first and... | stackexchange/codereview |
I am currently developing a small AI framework ( genetic algorithms / neural networks) in C#, for a university project.
My first concern is developing a reusable framework, so I am designing everything to be pretty modular. I know I am paying off a price for this (performance), but I feel that I have more to gain than ... | stackexchange/codereview |
I know that ALT text is supposed to augment the image ... be of use to the visually impaired, etc, but I am thinking of Google Charts and want to use it as a warning ...
If the image can't be seen, for some reason, my ALT text is "Unable to create chart. Check internet connection or report program error" (cos Google C... | stackexchange/codereview |
I'm wondering if anyone knows of some tricks for rewriting the paths of web page resources, such as CSS and JS files.
Reason being; I'm working on a little CMS project in PHP, and I want to keep the different site components separated, such as templates, eg:
+- /
+- classes/
+- template.class.php
+- data... | stackexchange/codereview |
In Internet Explorer, FireFox and Opera code below makes a red floating box on the right with a right-aligned blue box hanging below it as expected but in WebKit browsers (Chrome, Safari) the blue box is left-aligned and extends beyond the visible area. Interestingly if I remove the DOCTYPE tag these browsers act norma... | stackexchange/codereview |
This seems too tricky for me to be doing this correctly.
I have a TreeMap<Double, (user-defined)Object>, of which I am taking a submap:
public static reqObj assignObj(reqObj vArg, int startDate, int endDate){
reqObj vOut=new reqObj();
if (keyAt(vArg.requestObject,startDate)>-1... | stackexchange/codereview |
I want to share my answer for question in title, which I can't find quickly.
There many topics how to disable password auth at all:
UsePam yes # it will not be used
ChallengeResponseAuthentication no
PasswordAuthentication no
kbdInteractiveAutentication no
but no topics how to enable for paticular user:
Match User myu... | stackexchange/codereview |
i'm coming into C++ from Java, and have a common design situation in which i have an element (a non-primitive) that i'd like to remove from a std::vector.
in Java, i'd write something like:
arrayList.remove(arrayList.indexOf(myClassInstance));
in C++, with a std::vector, what's the best / most performant / cleanest way... | stackexchange/codereview |
Here's a roughly minimal demonstrative example:
import wx
app = wx.App(False)
frame = wx.Frame(None)
menuBar = wx.MenuBar()
menu = wx.Menu()
menuBar.Append(menu, "&Menu")
frame.SetMenuBar(menuBar)
for name in ['foo','bar','baz']:
menuitem = menu.Append(-1,"&"+name,name)
def menuclick(e):
print(name)
... | stackexchange/codereview |
That's the best way I could think of to phrase my question, here is the scenario: I have a ListView bound to a collection of objects. Each of those objects has a property UserID which is just a reference ID to a User object. In my ListView I wish to display multiple properties from both the object and the User. To do t... | stackexchange/codereview |
I am using jquery.ui.autocomplete on multiple comboboxes on a page. In IE only, the combobox resets on loss of focus (onBlur). No amount of JS debugging can reveal the cause. Any suggestions?
| stackexchange/codereview |
We're running our application's database on dedicated box running only SQL Server 2005.
This DB server has 32 Gb of RAM... and the database file itself is only 6 Gb.
I'd like to force several of the heavily read/queried tables into the SQL Memory buffer to increase speed.
I understand that SQL server is really good ab... | stackexchange/codereview |
I know that trim removes whitespace from the beginning and end of a string, but I wanted to check if the first character of a string is a whitespace. I've tried what seems about everything, but I can't seem to get it to work.
Can someone point me in the right direction? I'd appreciate it if regular expressions were not... | stackexchange/codereview |
I have some Irrlicht code that generates a rectangular mesh given a width and height. Here is the code that generates the vertices and indices:
int iNumVertices = (width + 1) * (height + 1);
S3DVertex * vertices = new S3DVertex[iNumVertices];
memset(vertices,0,sizeof(S3DVertex) * iNumVertices);
for(int i=0;i<=height;+... | stackexchange/codereview |
Iam using local version with VS 2010 and C#
I had a png image in the Report and it displayed great at the report (ReportViewer) but at pdf after exporting it got pixelated!.. I switched it to jpg and the quality is a lot better but not as good as the report..
Iknow about the issue of dpi problem but i dont know what ... | stackexchange/codereview |
The purpose of the following code is that when the user is holding the SHIFT key down, some text will indicate that they are pressing it. It works great in Firefox, but IE does not acknowledge it.
window.onmousemove = function(e) {
e = e || window.event;
var copyLabel = document.getElementById("<%= lblC... | stackexchange/codereview |
I currently have an immutable type called Gene, that only has 2 fields:
double value;
Interval intervalOfAllowedValues;
I'll need sometimes to have a Gene switch randomly its value to some other value as long as it is still in the range defined in intervalOfAllowedValues.
I had made for this, a special method
public G... | stackexchange/codereview |
I have a computer running Windows and connected with many devices, such as a printer, an RFID reader, etc.
I want all my applications run as HTML, CSS, and JavaScript, so I need to access these devices through JavaScript. But I don't know if it is possible to add custom JavaScript API to browser (such as Internet Explo... | stackexchange/codereview |
I hava java swing project which is developed in JBuilder IDE. Now I need to transfer the project in to NetBeans. But when I do that following exception is thrown.
java.io.InvalidClassException: oracle.jdbc.rowset.OracleCachedRowSet; local class incompatible: stream classdesc serialVersionUID = 1184591038813385495, loca... | stackexchange/codereview |
I am in a single class, using 2 different methods.
In one method I have:
private void detect();
int facesFound = detector.findFaces(bitmap565, faces);
detector, bitmap565 and faces are all defined in the same method.
In another method, I would like to call the value of facesFound.
So:
private void crop(){
if (face... | stackexchange/codereview |
I've been spending my evening fighting with getting jsonReader: set up correctly in jqgrid to match the JSON output of django's serializer capabilities. I have since gotten sick of trying and decided I should just make a view to give the output jqgrid wants json to be in by default. My plan is to write a view that fo... | stackexchange/codereview |
I've done this a few different ways by now. I'd like to know if there is a good pattern for this.
A system has dynamic content. So not only is the amount of data and the data itself dynamic (count(rows)), but the number of fields is also dynamic. So a blog may have 10 fields that need to be translated, but a shopping c... | stackexchange/codereview |
(sqlserver 2008)
We have various subscribers and one publishers. We have a table which keeps track of inventory. Now, this is what happens - a user makes some changes on the subscriber to the inventory table(column BalanceQty is modified), and another user makes changes on the same table and column in Publisher. So, wh... | stackexchange/codereview |
Can we convert PDF file to XML using XSLT Transformation?
Thanks
| stackexchange/codereview |
I can specify custom log format for access_log on Nginx, but it doesn't work for error_log.
Is there anyway to achieve this?
| stackexchange/codereview |
I have the method:
public static string StartProcess(string exePathArg, string argumentsArg, int timeToWaitForProcessToExit)
{
string retMessage = "";
using (Process p = new Process())
{
p.StartInfo.FileName = exePathArg;
p.StartInfo.RedirectStandardOutput = true;
... | stackexchange/codereview |
I want to program a microcontroller (AVR) to control some leds through USB. It's just out of interest in how to build and program USB devices.
There are some AVR microcontrollers that support the USB protocol or I could implement the USB protocol in an another microcontroller myself, but I wonder what to use to write y... | stackexchange/codereview |
My instructor says they can be used interchangeably to affect the projection matrix. He argues that gluLookAt() is preferably used because of its 'relative simplicity due to its ability to define the viewing angle'. Is this true? I've seen code examples using both gluLookAt() and glFrustum() and I'm wondering why would... | stackexchange/codereview |
I use VS 2008, .net 3.5, C# and Exchange 2003 server.
I want to access inbox in Exchange and read messages and perhaps attachaments.
I'm desperately looking for some statistics (high performance) about usage of POP versus IMAP versus WebDAV Exchange-MAPI, especially in professional context.
WebDAV has more performance... | stackexchange/codereview |
I am rendering a strongly typed partial view inside dynamic page.
I got a method(xyz) inside controller which populates model .
How can i populate model and render this partial view
i tried this
<% Html.RenderPartial("partialviewname",xyz()); %>
but i am getting build error saying no reference for xyz() , i added my ... | stackexchange/codereview |
i want add the title <?php the_title(); ?> after my selector by jquery
('a img').after('<span>the title here</span>');
| stackexchange/codereview |
Hey a similar question has been asked before, but none that answers mine exactly.
I have an MVVM aplication that includes an "Options" button - click this and the options dialog opens - this is done via a command.
Once the user has saved their options, I want to tell the main shell to reload its options. What is the be... | stackexchange/codereview |
What is AggregateCatalog? What does it mean when you construct a new AggregateCatalog()? What does it mean when you add assemblies to the catalog, eg catalog.Catalogs.Add(new AssemblyCatalog(someAssembly))? Other than assemblies what can you add to the catalog? any general knowledge related to this would be helpful, to... | stackexchange/codereview |
Saw these variables in the debugger and I'm not sure what they do.
| stackexchange/codereview |
i am student of t y bsc...
i have my 1.5 month project
can any one suggest me any topics that can be also make some sort of money and easy to make a project
I want to used Vb.net and sql server ...............V S 2010 and sql server 2005
| stackexchange/codereview |
I'm a newbie android developer, I'm trying to develop an application; a background service which listens to incoming/outgoing calls/messages. I want to learn how to:
I want to end the phone calls from specific numbers
Delete the messages from Inbox/drafts/sent items
May I get some leads to achieve this?
| stackexchange/codereview |
let i have got two byte variable:
byte a= 255;
byte b= 121;
byte c= (byte) (a + b);
Console.WriteLine(c.ToString());
output:120
please explain me how this is adding values. i know that its crossing size limit of byte but don't know what exactly operation it performs in such situation because its not looking like its... | stackexchange/codereview |
I am creating a custom WYSIWYG using editable iframe.I want to add a Custom html tag <ino> to a selected text like <info>some content here</info>.I have used this code
Editor = document.getElementById('iframe_id').contentWindow.document;
var tag='info'
var range = Editor.selection.createRange();
if (range.pasteHTML)
{
... | stackexchange/codereview |
I have a group of checkboxes, one of them has a label of 'None'.
When This is ticked, I'd like the others to be disabled. If the 'None' checkbox is unchecked, then the checkboxes that were disabled, are enabled again.
I have the following code:
$(document).ready(function(){
$("#select_none").click(function()
{
$('... | stackexchange/codereview |
How do I convert the resultset of @recipe.components.find ( [# <Component ingredient_id: 1>, # <Component> ingredient_id: 2>] ) to an array such as [1,2]
<% @ingredients.each do |ingredient| %>
<div class="field">
<%= check_box_tag 'ingredients[]', ingredient.id, @recipe.components.find(:all, :select => "ingredient... | stackexchange/codereview |
With memory profiling tools, it looks like NHibnerate will cache SQL strings while execution, which occupy a large # of memory spaces.
Whether Spring.NET is able to configure the cache-related setting?
Thanks.
| stackexchange/codereview |
Here I have an image url. filename is image url
def upload(filename, content)
conn = S3Connection(aws_access_key, aws_secret_key)
b = Bucket(conn, bucket_name)
k = Key(b)
k.key = filename..split('/')[::-1][0]
k.set_metadata("Content-Type", 'images/jpeg')
k.set_contents_from_string(content)
k... | stackexchange/codereview |
I have a basic question,
How is inheritance different from association when it comes to memory layout.
class BaseClass{
private int i;
public void DoSomethinG(){}
}
class DerivedClass : BaseClass{
}
class AssocClass {
private BaseClass bClass = new BaseClass();
}
Other than access restriction to private members ,... | stackexchange/codereview |
jsFiddle
I'm trying to remove the border of a div using jQuery, but it's not working. What am I doing wrong?
HTML:
<!DOCTYPE html>
<html>
<head>
<style>
div { width: 200px; height: 150px; background-color: #f33; border: 10px solid silver;}
</style>
</head>
<body>
<div id="a1"></div>
<br>
<br>
<div id="a3"... | stackexchange/codereview |
Does anyone know how to make (nice looking) double bracket multiset notation in LaTeX, i.e something like (\binom{n}{k}) where there are two outer brackets instead of 1 as in binomial? You can see an example of what I mean in http://en.wikipedia.org/wiki/Multiset under the heading "Multiset coefficients" with the doubl... | stackexchange/codereview |
I have a Windows Phone 7 app to develop as a pet project and was going to get a phone just for testing my application. The app doesn't require calling features, so I was wondering if it would make more sense to get a Zune HD instead of the phone (trying to avoid paying monthly service fees).
In short, how close are the... | stackexchange/codereview |
Can you please give me an idea how to render custom controls in property panel of webpart? My Requirement is to add a dropdown list,TextBox and a button to add selected items in the textbox in property panel. I am able to create TextBox,DropDown List and checkbox in property panel but found no way to create buttons and... | stackexchange/codereview |
as I know, Java always invoke a method by "pass-by-value".
but I see the reference for Android's NotificationManager.notify(String, int, Notification):
Returns
the id of the notification that is associated with the string
identifier that can be used to cancel
the notification
please refer to the reference:
http:/... | stackexchange/codereview |
Is there a way to create a tomcat session manually?
I'm working on a system where a web service will give the authentication credentials and I need to authenticate the request and send the session id as the response if the credentials are correct.
I'm using Spring as my application framework and spring ws for web servi... | stackexchange/codereview |
Say you have a Core Data object called Workshop. It has a to-many relationship to a Student object.
How would I create an NSArray of the students within the Workshop?
| stackexchange/codereview |
Consider a upgrades relationship:
I need to make sure that upgrades cannot be circular. How can I do that in Alloy?
| stackexchange/codereview |
I am using preferences, and this snippet of XML always causes my application to stop unexpectly when I hit a menu settings button which is supposed to display a list of preferences. I can use CheckBoxPreference and ListPreference successfully but I cannot use DialogPreference. I cannot seem to find an example XML snipp... | stackexchange/codereview |
I have a web application using sqlalchemy (within Pylons). I need to effiently change the schema to be able to change the production version at least on a daily basis, maybe more, without losing the data.
I have played a little bit with sqlalchemy-migrate over the week-end and I would say that it gave me a bad impressi... | stackexchange/codereview |
I'm learning UNIX/LINUX shell scripting and trying to think about it appropriate usage?
The only thing that comes into mind - it'll be nice for let's say backup operations and logs management....But I'm sure it goes way beyond that...or is it?
I'm sure there are people on this server who use Shell scripting on the da... | stackexchange/codereview |
It's sad how hard it is to find a simple line of code that does this "In my opinion".
Anyhow, the problem is I have a program with activities and services "I am new to services". I can access my SQLite DataBase from activities using
TheDB class:
public TheDB(Context context) {
this.context = context;
OpenHelp... | stackexchange/codereview |
I have successfully set up a friendship self referencial association for users in my Ruby on Rails app after following Ryan Bates' railscast. I can successfully follow, unfollow, and view who is following. Now I want to pull in another element and I am not sure how to do it.
When on my current_user dashboard page I wan... | stackexchange/codereview |
How to install sql server 2000 and sql server 2005 on same server
| stackexchange/codereview |
I am trying to write a function that pulls all url's from a string and remove a potential trailing slash from the end.
function getUrls($string) {
$regex = '/https?\:\/\/[^\" ]+/i';
preg_match_all($regex, $string, $matches);
return ($matches[0]);
}
But that returns http://test.com. (trailing period) If i h... | stackexchange/codereview |
CallableStatement and PreparedStatements are precompiled. Are they done with respect to a connection? I mean, lets assume there are some 100 connection objects residing in a connection pool of an app server. There's a class that uses Callable and PreparedStatements. Lets say the method that is used for that is :
pub... | stackexchange/codereview |
Am trying to make a simple UDP application using C sharp,nothing sophisticated,connect,send some text,and receive it! but it keeps throwing this exception!
"An existing connection was forcibly closed by the remote host"!
The code :
byte[] data = new byte[1024];
IPEndPoint ipep = new IPEndPoint(IPAddress.Parse(... | stackexchange/codereview |
My father has a very poor sight and he needs a magnifier if he wants to read anything. He needs really big zoom, up to 100 times. He wanted to buy a special reader, such as this. But, unfortunately, he can't afford it, since it costs more than 2000 euros. I was thinking to try to make something myself, probably with a ... | stackexchange/codereview |
I have a Silverlight Datepicker control. I would like to constrain entry to only allow 10 characters. Currently it seems to be unlimited.
There is no maxlength property on the control. Can it be set in another way?
| stackexchange/codereview |
I am using this article to create a way for users to enter in multiple rows on a single entry form. The difference of what the author is doing and what I am doing is that I am putting my fields into a table. The problem I have is that I am not getting new rows inserted into my table. My guess is that the script isn't f... | stackexchange/codereview |
I have a variable that I need globally available throughout my app (so I've set @account in the applicationController).
However, a plugin that I have needs access to the same variable.
Note: This variable is distinct on each request.
What is the best way of creating this architecture?
| stackexchange/codereview |
Looking for python code that can take an HTML page and insert any linked CSS style definitions used by that page into it - so any externally referenced css page(s) are not needed.
Needed to make single files to insert as email attachments from existing pages used on web site. Thanks for any help.
| stackexchange/codereview |
In a web browser written in java different types of parser have been used to do the parsing and create a DOM document. In the process of rendering how the browser visualize the DOM into J-Component . Can anyone tell me about the whole process of implementing of DOM into J-Component to show the whole web-page in java ?... | stackexchange/codereview |
I have an application using NServiceBus to process messages, and while debugging I'm finding that exceptions may be thrown, and the message is lost. I've checked both the main and error queues, and the message was only attempted once.
Are there any common pitfalls that could cause this to happen?
I use NServiceBus 2.0.... | stackexchange/codereview |
I'm just wondering if anyone has had any experience in formatting the breadcrumb in Magento?
I would like to replace the link that currently displays the text 'HOME' with an image.
I thought it would be a simple case of replacing some text with a picture but it seems the 'HOME' text/link is dynamically created as this ... | stackexchange/codereview |
I am not sure why this is not working.
<asp:Label ID="lblTitle1" runat="server" Text='<%= string.Format("{0} <br /> {1}","Part 1", "Part 2") %>' ></asp:Label>
I just want to combine two resource string as text of label?
| stackexchange/codereview |
I have a ASP.net 4.0 which has to generate a PDF and docx file with the same content.
Ofcourse the conversion will take place on server so Office Automation is not an option (http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2)
Im faced with the following descision:
Use OpenXML SDK to create the docx an... | stackexchange/codereview |
I have tried tools like videosnarf that takes a pcap file as input and creates a raw .h264 file , which could be later encoded with ffmpeg , and finally can be played with vlc player. But videosnarf can only handle h264 data.
I'm not able to find a similar tool that can dump h263 data from a pcap file. I tried to deco... | stackexchange/codereview |
I did a program that reads rss news feeds. Its not working for some of the websites like (ABC News, TechCrunch, Engadget). These websites having their body length more than one lakh. I use XPATH method for parsing. Perhaps this problem due to I am new to Bada. The code which I am using for XML Parsing is
void
addfeed::... | stackexchange/codereview |
Googlebot keeps trying to call ajax methods on my website.
For example: default.aspx/GetStuffWithAjax
The problem is that this method should be impossible for google to call since im checking with javascript if the querystring has id=xxxx before calling it. There is no link anywhere with this querystring that google co... | stackexchange/codereview |
I've run into a problem attempting to authenticate from within my web services. Here is the code that fails.
private InitialDirContext callDirectory(String password,
String usernameWithoutDomain) throws NamingException
{
InitialDirContext ctx;
Hashtable<String, String> env = new Hashta... | stackexchange/codereview |
I know how to add child nodes with SimpleXml and PHP but i have a problem with the orders of those child elements.
Lets say i have this xml structure
album
gallery1
gallery2
gallery2
.
.
.
galleryN
/album
This is how it is right now when I add childs with the basic code
$galleryElement = $s... | stackexchange/codereview |
I have usercontrol called as 'DateControl1' in which i have textbox and a calenderextender(ajax).I have written a property for my usercontrol as follows:
public string DateFormat
{
get { return dateformat; }
set { dateformat = value; }
}
when i assign the format in my cs file as... | stackexchange/codereview |
I often need to debug by preventing some definition from evaluating and checking intermediate results. I accomplish this by doing initAll;clearAll[f,g,h]. I don't like it because
It forces you to put everything in a single init block
It's not flexible enough to only keep certain patterns like f[1] unevaluated
Instead... | stackexchange/codereview |
I have a web site and I'm trying to implement this:
Some users (let's call them shop owners) will put a pin (to indicate a shop) and describe what's out there. They can save as many pins as they want.
Other users (customers) will make searches for shops.
Searches will only consist of location names.
For example, if a ... | stackexchange/codereview |
I have two applications X and Y. Application X has one activity "A" that needs to run on the application Y`s process. I am trying to create an instrumentation test like bellow:
public class ATest extends SingleLaunchActivityTestCase {...}
The issue is that when I point the AndroidManifest.xml of my test application to ... | stackexchange/codereview |
I am looking an example of the following:
I have a WPF window with a listview (or in fact any object would be fine if it works better).
I have a rather complex linq query (I know the query is correct as I have tested in Linqpad).
In the query there a couple of dummy fields which I will have to fill in with a supplement... | stackexchange/codereview |
Good Day,
really need some help here, im bad at VBA.
Had created a spreadsheet and recorded a macro to record checkin of staff. However, im having difficulties checking out with the corresponding users based on the name.
Could anyone help me out over here?
Thanks. Had attached the spreadsheet for your ref.
http://www.e... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.