instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
i have been given a task to make a resource xml file for the static content of our website so that we can look-up for the content in that xml file against a particular id and display it. For example if we have written "Welcome to xyz.com" on our home page it should be stored in the xml file like
<word>
<add Key="welc... | stackexchange/codereview |
I try to install Async CTP and it says that installation was completed successfully, but nothing installs into "My Documents" and i cant find the samples. What can be done to see the samples with libraries and try them?
| stackexchange/codereview |
I have two projects, When i select 'Build Solution' for p1, it does nothing. That is I can build projects of p1, but not the solution. The same 'Build Solution' option works fine for p2?
:( . Is there any option should i change on p1 to enable build?
| stackexchange/codereview |
I am working on an application where i am picking up images from iphone library using uiimagepicker control. I am using following code to pick up image.
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
NSLog(@"image picked:");
UIImage *image = [info o... | stackexchange/codereview |
I ended up coding (With some help) something like this yesterday:
#include <iostream>
using namespace std;
class A
{
public:
virtual void foo(){cout << "A::foo\n";}
};
class B : private A
{
private:
virtual void foo(){ cout << "B::foo\n";}
void DoSomething(SomeOtherClass& o){o.DoSomet... | stackexchange/codereview |
Controller
class PageController extends Zend_Controller_Action
{
public function editAction()
{
$this->view->attach('name' => 'crazor');
echo $this->view->render('account/info.phtml');
}
}
View
<p>Hello, <?php echo $this->name; ?></p>
This is an example of what I'm trying to accomplish. I... | stackexchange/codereview |
I just want to download an image. Then upload it to Amazon S3. But it's not working.
'builtin_function_or_method' object has no attribute 'StringIO'
Traceback (most recent call last):
File "flickrDump.py", line 16, in <module>
imgpath = s3.upload_thumbnail(thumbnail_name=tools.randomString(10), thumbnail_data=tda... | stackexchange/codereview |
I am creating a JavaScript tooltip program and wonder if it's alright to add the tooltip box (that is, a div node) as a child of the target that may be a span node or some other inline element, so the dom is as follows:
out of this:
<span onmouseover="tooltip(this).display('A \"Hello World\" program is a computer progr... | stackexchange/codereview |
I'm using hpple to parse html:
Only one question is:
<div class="Fiche">
<p>Every Sunday, our Chef proposes a buffet high in color.
<br />
<br />
A brunch either classic or on a theme for special events (Hallowe’en, autumn...). Each time, you will be surprised by new culinary suggestions. Unlimited champ... | stackexchange/codereview |
I am working with a web site analyser which will be used to analyse our own site according to the log from tomcat.
Now,we push the log from tomcat to the database (MySQL) everyday, it works well now. However I found a potential and fatal problem !
Until now we push the log to a single table in the database,but the log ... | stackexchange/codereview |
I'm seeing an odd behavior connecting to a development webserver running on my local machine.
When I connect to http://192.168.1.14 (my ip) everything loads fast (sub 200ms for a page + 20 resources, an expected result).
When I connect to http://localhost I get 5 second load times for the same page and what I see when ... | stackexchange/codereview |
I try to replace many files at once with sed using * as filename. However it tries to process directories too, and gives error and terminates. Is there a simple way to overcome this?
| stackexchange/codereview |
I am currently writing a login form on a website. It is required that the form is compact, and that the labels should be placed as placeholders/watermarks inside the email and password fields.
HTML5 introduces the placeholder attribute, but it is not very well supported. Therefore I have looked into a number of jQuery ... | stackexchange/codereview |
A similar question was posted as question:is-there-a-way-to-use-multiple-wsit-client-xml... I have two different WS-Security enabled web services using Metro client and I want to access them using a single client. I believe this will require two wsit-client.xml to be defined in the client project. Is it possible to def... | stackexchange/codereview |
I have seen a few things written about this and remember one where there was an XML file. So, there is an old URL and a new URL. If the user hits the old URL he is redirected to the new one.
The redirects can be from files that don't exist on the server eg new-jobs.php from Apache server has been moved to an IIS Server... | stackexchange/codereview |
I want to style a css list like this
[ 1 ][ 2 ]
[ 3 ][ 4 ]
[ 5 ][ 6 ]
Which is basically no problem when using float:left
But there is a problem, when [ 4 ] is heiger than 3 the following happens:
[ 1 ][ 2 ]
[ 3 ][ 4 ]
[ ]
[ 5 ][ 6 ]
But i want to behave it like this:
[ 1 ][ 2 ]
[ 3 ][ 4 ]
[ 5 ][ ]
[ 7 ][ 6 ... | stackexchange/codereview |
Learning/re-learning ajax using rails. I think rails-ajax has changed a lot in last few years so have not found a very simple 'Hello World' type ajax example (w/o resources, w/o records).
This is an attempt (below) at a simple rails ajax example based on references I could find.
It works -- however, it seems a bit cum... | stackexchange/codereview |
Recently I did one web site (www.ramtajogi.com) using asp.net mvc, linq to sql .
I have used repository pattern to get data from the database. Now everything is working fine.
But the new requirement is to record all the events (on poetry book created, on poem added or when a new comment is posted to any poem. What is t... | stackexchange/codereview |
How can this if-statement be simplified? It makes a plus sign:
https://i.stack.imgur.com/PtHO1.png
If the statement is completed, then a block is set at the x and y coordinates.
for y in range(MAP_HEIGHT):
for x in range(MAP_WIDTH):
if (x%5 == 2 or x%5 == 3 or x%5 == 4) and \
(y%5 == 2 or y%5 ==... | stackexchange/codereview |
Is there some way to get the byte length of a System.IO.Package.PackagePart? (other than reading the entire stream).
| stackexchange/codereview |
I've got a DataTemplate for a DataGridTemplateColum wich looks like this:
<toolkit:DataGridTemplateColumn x:Name="DataGridTextColumnIstVorvorjahr" IsReadOnly="True" SortMemberPath="SummeIstVorvorjahr">
<toolkit:DataGridTemplateColumn.CellTemplate >
<DataTemplate>
... | stackexchange/codereview |
Here's the setup: I have two bluetooth devices paired with a single PC. Both are SPP, intended to be used with separate virtual COM ports. One device is assigned COM9, the other is assigned COM11. If I open the COM9 port, it 'sees' the data from the COM11-paired device, even though I didn't open the COM11 port.
It look... | stackexchange/codereview |
I was wondering if there is an enum inside .NET that contains all the different media types that you can use in css?
Something like:
/// <summary>
/// List of available media types for css (comments from http://www.w3schools.com/css/css_mediatypes.asp)
/// </summary>
public enum CssMediaType
{
/// <summary>
///... | stackexchange/codereview |
hi
i have changed my code as below but the problem now is ,the recording wont stop at 2 minutes in samsung galaxy.ohters fine
Intent i = new Intent("android.media.action.VIDEO_CAPTURE");
i
.putExtra(
... | stackexchange/codereview |
I have a method that checks the signature of a request is valid.
The method returns a boolean:
_ true: valid signature
_ false: signature is not valid
I am not sure about the best name for it (maybe also because I am not an English native speaker).
I am not sure among:
_ checkSignature
_ isSignatureValid
Which one do y... | stackexchange/codereview |
With the following code in C#/Mono,
using System.Xml.Linq;
I got this error.
error CS0234: The type or namespace name `Linq' does not exist in the namespace `System.Xml'. Are you missing an assembly reference?
What assembly reference do I need to use System.Xml.Linq with mono?
dmcs /r:???? main.cs
| stackexchange/codereview |
I'm building a small experiment in php/javascript, where people have to rate the familiarity of answers to certain word definitions. When given the definition the participant has to press space to see the answer, and has to rate it on a scale of 1 to 7. Upon clicking one of the radio buttons, the next definition is sho... | stackexchange/codereview |
I have a shared library of the C++ application and I am able to call it using the test app. I want to write a Qt UI for this. I am not able to call the C++ functions directly. Only if I give name mangled function name it works.
Also if I create an object of the C++ class and call a function of the class I am getting "... | stackexchange/codereview |
I have a project with a linked source folder. This project depends on another (remote service) project, so the aidl files and the classes passed across the remote interface are in a common_src linked folder shared between the two projects. This work just fine with Eclipse builds, (one source file, two projects, change... | stackexchange/codereview |
GEvent.addListener(marker, "click", function() {
panoramaOptions = { addressControl: false,navigationControl: false };
panorama = new GStreetviewPanorama(smallNode,panoramaOptions);
GEvent.addListener(panorama, 'error', function(errorCode) {
if (errorCode == 600) {
smallNode.innerHTML = 'No Str... | stackexchange/codereview |
I am following a tutorial about Ruby on Rails, and the tutorial got updated to a new version of Rails, so I can't follow it anymore because I have an older version.
I would like to start new and uninstall Ruby on Rails and any related software on my Mac OS X 10.5.8, and follow it from ground up. If anyone would be will... | stackexchange/codereview |
I am looking to draw an equilateral triangle with rounded corners in Expression Blend, kind of like the radius of the rectangle behaves.
I am thinking along the lines of drawing a circle/arc at each end-point and clipping, but this is cumbersome.
Is there a shape that can do this or do you have any other ideas on how t... | stackexchange/codereview |
Im working on an app that needs a source list like the the ones found in Finder. So far I've gotten Core Data working with an NSOutlineView but the group headings don't look very source list like. A real source list group heading looks like and the standered on in an NSOutlineView looks like . It appears that the only... | stackexchange/codereview |
I want to be able to check the type of a UIViewController to see if it is of a certain type like this
c code
if (typeof(instance1) == customUIViewController)
{
customUIViewController test = (customViewController)instance1;
// do more stuff
}
| stackexchange/codereview |
I have a project in Git that has several submodules, and I need those submodules to be downloaded and the files available in order to use the main project, and in order for the submodules to work I need their own submodules to be available etc. So to set this up I recursively initialise the submodules using git submodu... | stackexchange/codereview |
I have a number of classes that are mapped to tables with SQLAlchemy (non-declaratively if that matters). Because I'd like the application to be unit-testable, all SQLAlchemy session interaction is isolated into a single class. Using the app goes something like this:
m = Model("mysql://localhost/mydb")
s1 = Service("so... | stackexchange/codereview |
I need to make a file not appear to another program. For instance, when another program gets the list of files in a folder, I want one particular one not to show up. I am injecting a DLL from which my code will run into the process from which I want to hide the DLL file on the filesystem. I am using Microsoft Visual C+... | stackexchange/codereview |
is there any lib viewer or converter to h files that i can download?
| stackexchange/codereview |
I'm trying to understand what the issue is:
I'm trying to import a module:
from main.models import Main
from django.contrib import admin
admin.site.register(Main)
However, when I attempt to hit the admin site, I get a django error page:
ImportError at /admin/
cannot import name Main
I noticed that it provides a dump... | stackexchange/codereview |
I am a c programmer, I dont have a good knowledge of javascript, I just want to implement a quick feature in googles app script which uses javascript. my question is I am trying to get the date and time from my google site form and on form sumbit I would like to concatenate bookingDate and timeBeg so google calendar wi... | stackexchange/codereview |
What is the easiest way for a Word macro to execute XPath expressions such as:
"string(/alpha/beta)"
"not(string(/alpha/beta)='true')"
which should return string and boolean respectively? (as opposed to an xml node or node list)
I want to avoid DLLs which won't already be present on a machine running Office 2007 or... | stackexchange/codereview |
In the code snippet below when I originally designed it, the "next number" needed to send the next incremented value throughout the execution of the application. So I made the class a singleton. However, with some recent change in requirements I needed to do a reset on the "next number". I just added a reset method to ... | stackexchange/codereview |
Vim newbie here.
When I issue the :wq Ex command, I would like to make it save and close just the active buffer, instead of saving it and then quitting from Vim.
Similarly, I would like to make the :q command to be identical to :bd in its effect.
Any suggestions how to implement this behavior?
| stackexchange/codereview |
I have to parse the JSON result but it does not work. This is what I am doing.
var pid = $("#pid").val();
var catalog = $("#catalog_name").val();
var qty = $("#qtys").val();
var params = {
productid: pid,
catalog: catalog,
ref: "Makegoodmedia",
quantity: qty,
command... | stackexchange/codereview |
Here's a simple program:
void multiply(const int* v_in, const int* w_in, int n_v, int n_w, int* w_out)
{
for(int i=0; i<n_w; i++)
{
int sum=0;
for(int j=0; j<n_v; j++)
sum += (w_in[i]*v_in[j])>>1;
w_out[i]=sum;
}
}
Presume n_v, n_w ~10^6. Clearly, there... | stackexchange/codereview |
I'm probably missing something really obvious here, but I've been going over this over and over and I'm decidedly stuck. In the code below, $8 is incremented only if $2 != $0. Now I double and triple checked and the beq instruction works (for example if I change lop to end2, it does go there).
However, for some reason,... | stackexchange/codereview |
I want to divide a self-intersecting polygon into simple polygons. I have the edges and the intersection points saved in a data structure (a connected list).
So here is an example. I have a connected list with the x,y coordinates of the edges and the intersection points of the polygon. According to the polygon in this ... | stackexchange/codereview |
If a swf located at http://example.com/test.swf makes a request to https://secure.com/webservice.xml, what happens? Adobe's documentation on cross domain policy files notes the "secure" attribute.
secure: [HTTPS and Sockets only,
optional] Specifies whether access is
granted only to HTTPS documents from
the spe... | stackexchange/codereview |
I have filled the form for Google Place API but no answer from Google...
Any idea for the time required to have this Key ?
| stackexchange/codereview |
I have this code for login validation using a Struts2 action class which calls an EJB for LDAP validation and then if (LDAP credentials) validated, querying the user database to get the rest of the user information using the JPA entity bean which also acts like a POJO. Unlike the username, userid and other user info, p... | stackexchange/codereview |
I'm some what new with ruby on rails, so I'm attempting to debug this error that I'm getting but, from my understanding, is working on the prod code.
The error:
NoMethodError in JoinController#index
undefined method `join_template' for nil:NilClass
/app/controllers/join_controller.rb:5:in `index'
Okay, so line 5 in i... | stackexchange/codereview |
I'm practicing recursion using Java and I've hit a problem. I'm trying to make a method which I'm calling "groups" which takes a number of people and how many groups there are and returns the number of different combinations there are of people and groups. Also, the ordering of people in the groups does not matter, nor... | stackexchange/codereview |
I'm wondering how does facebook change the url when I switch between pictures in a album? There is no hash-tag, just a real url.
Example:
The current url: facebook.com/photo.php?fbid=XXXXXX1 and if I click next, the url changes to facebook.com/photo.php?fbid=XXXXXX2
Does anybody know how to realize this with JavaScript... | stackexchange/codereview |
I'd like to clear the database altogether and reset the data. What's the quickest way to do that? Or, what's the command that will delete all the rows of a table (and I'll repeat that process for all tables)?
Thanks
| stackexchange/codereview |
I have an app that has a lot of api keys and setting to be managed and they are loaded using an initializer. BEcause they are different for each environment, I can't set a constant in the environment.rb file. (I tried that; didn't work.) So I started comment-and-uncomment by hand before every deployment, which is tedio... | stackexchange/codereview |
I have a button on my page, i.e:
<input type="button" id="myButton" name="myButton" class="myStyle" value="Click me" />
For some reason, the id or name didn't get rendered, therefore all my jQuery selector that selects ID are not working... Any idea why?
Thanks.
| stackexchange/codereview |
I am trying to remotely debug wcf service on IIS 6. It has been working fine until yesterday. Now breakpoints are not being hit and warning message says "No symbols have been loaded for this document". I've solved this by restarting iis and app pool, but it worked just for a few days. Now I have the same problem. I've ... | stackexchange/codereview |
What is better/preferred - Creating a method of 2 lines which accepts a web control as a parameter, operates on it and is called from 3-4 places within the same code file or writing those 2 lines at the 3-4 places and not creating the method?
P.S. The control I am referring here is a textbox.
| stackexchange/codereview |
I've wrote a custom itemrenderer for a List component (Flex 3.5) which is a VBox with a Label and a TextArea wrapped inside. All works fine so far but I want the TextArea in the first itemrenderer to receive focus so that it instantly becomes editable when tabbing onto the List. Is that possible and if how would I achi... | stackexchange/codereview |
I have a report that groups by two codes, we'll call them Parent and Child.
At the top of each page, in the Page Header, I want to print the Parent Name.
There are a number of columns in the report, and when the group breaks, I want to display the new Child name, as well as the column headers again. The report shoul... | stackexchange/codereview |
I am working on arranging the elements of a Form by placing them inside a tablelayoutpanel. Whenever I do an Add row, it goes to the bottom. For the task I have at hand, it would be convenient if this row showed up at the top.
Is this possible?
| stackexchange/codereview |
So I'm trying to page items on my index page using the paginator and custom routes. It's all through the index action, but the index action can show items sorted by newest, votes, active or views. Right now, the URL looks like this:
items/index/sort:created/direction:desc
And if you aren't on page one, it looks like... | stackexchange/codereview |
Is there a exception_notification-like gem for delayed_job?
Preferably that works with REE-1.8.7 and Rails 2.3.10.
| stackexchange/codereview |
My asp.net web app uses a master page which contains an 8k jpg of the company logo. Whenever I load a page or do a refresh, all of the non-master page html renders first, then the master page logo is shown, pushing all the html down a few lines. It's very annoying. Is there anything I can do to prevent that from hap... | stackexchange/codereview |
i'm writing an asp.net mvc 2 web application with Entity Framework 4.0. I have the views that should display items, views that are for login, etc. Should i structure the project with a repository pattern? If yes, how? Should i create an interface for basics methods like Add, Update, Delete, etc and another class that u... | stackexchange/codereview |
I am using a ScriptManager in my aspx page and when I run on the submit button within the page I am receiving a "Page cannot be null" error message. I have looked around but cannot find anything that deals with this.
I am writing in C# using VS2008 with the latest .NET framework, and the ScriptManager is for two Infra... | stackexchange/codereview |
How can I access the varStatus variable and the firstRowIndexVar variable programmatically? I couldn't find them in the request parameters. I'd even be happy just to inspect them in the debugger.
Thanks,
Eli
| stackexchange/codereview |
I am trying to understand information stored in the method table. Here is my code.
class MyClass
{
private int x = 60;
private int y = 90;
public void MethodB()
{
Console.WriteLine("MethodB");
}
public void MethodC()
{
Console.WriteLine("MethodC");
}
public void M... | stackexchange/codereview |
I am tring to clean up url for my blog's search script using RewriteRule in .htaccess
Clean searching URL: (xxx= tag name ex. apple)
http://myblog.com/news/xxx/
Regular Search URL script path:
http://myblog.com/scripts/search.cgi?blog_id=4&tag=xxx&limit=10 [L]
.htaccess
RewriteRule ^([^/]*)/$ /scripts/search.cgi?blog... | stackexchange/codereview |
I want to set the value of Thread.CurrentCulture based on some route data, but I can't find an event to hook to that fires after the routes are calculated and before the action method is called.
Any ideas?
| stackexchange/codereview |
I have a url like this: http://www.sample.com/widget/mywidget/
How can I get only the "mywidget" in the url?
| stackexchange/codereview |
Some HTML documentation I've read refers to 'enumerated attributes'. What are they?
| stackexchange/codereview |
I've just joined a new company and at the moment we're using Microsoft SourceSafe as our repository. The settings aren't ideal and it's proving to be a big pain in the neck.
I've recently used Mercurial and thought it was amazing, so I'm advocating switching to that, but it looks like the company already has a Team Fou... | stackexchange/codereview |
How do I start all the sqlserver instances that normally come up when I reboot my computer? I accidentally killed sql server instead of management studio. This happened once before and I ended up rebooting my computer.
More specifically, how do I start my named instance?
let's say the named instance is .\MyNamedInsta... | stackexchange/codereview |
I make a 3 language website, where I need to sort the comments from all the 3 languages, that they are visible on every language's pages. http://www.polinapasztircsak.com/guestbook/
I tried loading with jQuery .load method, and it works, but the problem is that it loads the separate languages in divs (I didn't know oth... | stackexchange/codereview |
I have copied the text from here:
http://code.google.com/p/mybatis/issues/detail?id=164, but we faced the same issue.
MyBatis version 3.0.1
I use MyBatis 3 as the OR mapping between the java application and sybase database.
The sql used to query data from the database is a stored procedure, it is ok for simple procedur... | stackexchange/codereview |
First of all, I'm not so close and familiar with IIS7 and using it just for redirection to a weblogic application.
The backend weblogic application which I use has a login page as a starter page. When I call the page through IIS7, it redirects my requests to weblogic and I see login page. When I try to login with corr... | stackexchange/codereview |
I really don't know where the fault is all about. Here is my code:
$(document).ready(function(){
$("#folderTree > li").live('click',function(){
var id = $(this).attr("id");
if($('#' + id).hasClass('folderClosed')){
$.ajax({
url: "libs/php/ajax/documents/treeHandler.php",
type: "P... | stackexchange/codereview |
Executing the following script via sqlcmd fails. However, executing it via ssmo or SQL Server Management Studio works.
sqlcmd -S . -d test -i input.sql
input.sql:
CREATE FUNCTION test()
RETURNS @t TABLE ("ID" INT)
AS
BEGIN
RETURN
END
Even when I put SQL Server Management Studio into sqlcmd mode, it stil... | stackexchange/codereview |
I'm facing a hard problem:
Imagine I have a map of an entire country, represented by a huge matrix of Cells. Each cell represents a 1 square meter of territory. Each Cell is represented as a double value between 0 and 1 that represents the cost of traversing the cell.
The map obviously is not fittable in memory.
I am ... | stackexchange/codereview |
I know of GNU Smalltalk's Syntax that puts the method body surounded by square-brackets after the selector like so:
add: anObject [
self tally add: anObject.
]
Are there other file based approaches?
| stackexchange/codereview |
To make a long story as short as possible (ignore this paragraph if you really just want to cut to the chase):
I'm using CuteEditor to edit very specific pages of controls. In the page viewer application these controls use HTML5 canvii to do all sorts of funky anim stuff, but in CuteEditor (where it's not practical to ... | stackexchange/codereview |
I have an application which will require a "dynamic business rules" engine. Some of the business rules changes very frequently. Some of then applies for a limited set of business accounts. For example: my customer have a process where they qualify stores, based on their size, number of the sales person, number of produ... | stackexchange/codereview |
I am using Hibernate in my JBoss war, using c3p0 for connection pooling, both configured within a hibernate.cfg.xml config file in my classpath
<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
I've seen server.log generates lines with interesting information about ... | stackexchange/codereview |
Scenario:
I have a scenario with a Presentation layer (ASP.NET), Business Logic Layer (dll) and Data Layer(dll) in the latter there is a LinqTOSQL DataContext file (dbml) which holds tables and stored proc for a particular database. The linking between projects are:
Dependencies:
Business Logic Layer has a reference fo... | stackexchange/codereview |
I have a list of events that i need to fire when a user takes an action and an event manager that fires these events.
Originally i used to fire the events explicitly in this way
EventManager.publish(new SendNotificationEvent())
Then i wanted to change that to something like
EventManager.publishSendNotificationEvent(... | stackexchange/codereview |
I'm using atomic operations on counters, and I care about performance. I know that on the 64-bit platform incrementing a long can be done in one shot, instead it requires two instructions in 32-bit platforms
I have such a code fragment
#if X64
using COUNTER_TYPE = System.Int64;
#else
using COUNTER_TYPE = System.Int32;
... | stackexchange/codereview |
G = exp(-s) * (0.8*s^2+s+2)/(s^2+s);
T = feedback(ss(G),1);
step(T)
this is example from Matlab's documentation, but it's not working, when copy and paste to program, even if I declare that 's' is syms.
| stackexchange/codereview |
I am using mongo-db for realtime analytics, I am getting 5 million
data points per day which will increase in future to 10 million at
least.
my question is:
Capped collections are circular so my data will be overwritten after
it reaches to the cap and i don't want to loose this data.
So what approach I should follow t... | stackexchange/codereview |
I want to be able to disable history.go(-1) on certain pages.
I'm wondering if there is a way to clean up the Javascript's history object. Any ideas?
history.go() seems to not be functioning too well on certain browsers such as IE. Is that true? Any solution for that?
| stackexchange/codereview |
I´m making a Server with the BoostLib, and so i am using the asio lib.
I made an Server class.
Server::Server(unsigned short port)
: m_IOService(),
m_Socket(m_IOService),
m_Endpoint(boost::asio::ip::tcp::v4(), port),
m_Acceptor(m_IOService)
{
m_Port = port;
m_Acceptor.open(m_Endpoint.protocol());
m_Accept... | stackexchange/codereview |
I'm developing my first greasemonkey script (trying to edit and add page content to a particular website) and for some reason, it refuses to work beyond one while loop.. Eg :
var anchorTag = window.document.getElementsByTagName('a');
var anchorTagNumber = window.document.getElementsByTagName('a').length;
..
..
i = 0
j ... | stackexchange/codereview |
My current project is using NHibernate 3.0b1 and the NHibernate.Linq.Query<T>() API. I'm pretty fluent in LINQ, but I have absolutely no experience with HQL or the ICriteria API. One of my queries isn't supported by the IQueryable API, so I presume I need to use one of the previous APIs -- but I have no idea where to s... | stackexchange/codereview |
I'm having trouble making sure that my form is completely filled out.
Here is the html:
<div id="username_input">
<span>User name:</span> <input id="username" onclick="changeBackground('#ffffff', this.id)" type="text" name="firstname" />
<small id="username_error_message">please input username</small>
</d... | stackexchange/codereview |
I'm trying to make a SELECT with a table which could contain more values with the same id_type like in this example:
table_intensity
id id_type value user_id creation_date
1 1 90.4 73 2010-11-06 16:27:32
2 4 1258 27 2010-1... | stackexchange/codereview |
How to copy database and all tables pks triggers etc as well as data from SQL Server Express to SQL Server 2005 ?
| stackexchange/codereview |
I wrote this to display data from a csv file. When a user selects a checkbox, I need all the data inside that row to be written to a file. I'm confused as to how to send the array data.
<form action="SAP_Conversion.php" method="POST" id="submit_to_XML">
<?
$row = 1;
$records[0] = 1;
if (($handle = fopen("upload/Ak... | stackexchange/codereview |
i want to execute script cmd in the c program so the function SYSTEM(CONST CHAR ) does it but i want to use this function with 3 different parameters writing once . can anybody help me , is there any function of that kind.
| stackexchange/codereview |
How can I access 37 signals Highrise's API with Python? Found wrappers for PHP/Ruby, but not Python. I'm writing my own now, anyone have advice on getting over the first hurdle of authentication with Python?
| stackexchange/codereview |
I recently add another menu item to an android java app and was suprised that Eclipse said that variable from the previous case:break were not local (So I've just added a suffix to get by).
I'm a bit confused as in my mind, the 1st set of case:break would not be executed at all if the 2nd option was chosen. Could some... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.