instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm working on integrating Facebook with my iPhone/iOS application and I want to know if I'm understanding the nature of the login procedure correctly.
With the old Facebook SDK ('Facebook iPhone SDK'), when we needed to request authentication permission from a user a UIWebView would be displayed with a login prompt. ... | stackexchange/codereview |
I created a branch notmaster to commit as well as push some changes. When I was finished with that branch, I merged the changes back into master, pushed them out, and then deleted the local notmaster.
$ git branch -a
* master
remotes/origin/master
remotes/origin/notmaster
Is there anyway to delete the remote notma... | stackexchange/codereview |
I am writing a web application with django on the server side. It takes ~4 seconds for server to generate a response to the user. It makes use of a weather api. My application has to make ~50 query to that api for each user request.
Server side uses urllib of python for using the weather api. I used pythons threading... | stackexchange/codereview |
I have a web server running in a JVM which uses Clojure. I want to remote connect to this JVM from a REPL, but I cannot find any "CLEAR" steps which work on how I can do this. Has anyone already done this?
Note: I can use either the standard REPL or jline
| stackexchange/codereview |
I am trying to locate a list of shorcuts so I can print it and learn a couple every day till I master not using the mouse.
I know about Eclipse Shortcut Overview but this is using emacs bindings, and I am using the default shorcuts.
I am not looking for an blogpost mentioning 10 nice shorcuts, I want a comprehensive l... | stackexchange/codereview |
Lately, I have seen a lot of questions being asked about output for some crazy yet syntactically allowed code statements like like i = ++i + 1 and i=(i,i++,i)+1;.
Frankly realistically speaking hardly anyone writes any such code in actual programing.To be frank I have never encountered any such code in my professional ... | stackexchange/codereview |
I'm looking for guidance on how to architect an elegant solution to what has become a bit of a thorny problem. Although I am using Ruby (and Rails) I think my problem is largely an architectural one, though my choice of language obviously has an impact in terms of suggestions involving libraries, etc., so the language... | stackexchange/codereview |
DSLs improve code readability and expressiveness and more importantly give a significant level of abstraction..
You can agree that regular expressions, once you have mastered them , text processing becomes easy in any programming language you will learn.
What domain specific language have you used that you feel should... | stackexchange/codereview |
Good day,
I have searched far and wide but all I can find is information about how to add various plugins to Eclipse. I don't want a plugin. I want my stinkin' jQuery!
Some things I've tried:
I download jQuery and put it in my WebContent\WEB-INF\js folder. Then in my WebContent\WEB-INF\jsps\company.jsp file, I have a s... | stackexchange/codereview |
Here is a striped down version of one of the examples in boost::program_options:
#include <boost/program_options.hpp>
namespace po = boost::program_options;
#include <iostream>
#include <iterator>
using namespace std;
int main( int argc, char *argv[ ] )
{
try {
int opt;
po::options_description d... | stackexchange/codereview |
I am working on a keypad on java that will be used to input data in two JTextField (x & y). And Once the user clicks "Enter", It should evaluate the difference of x and y. Do I have to add bunch of actionListeners for each button?? Is there an efficient way to do it.
So far on my code, I have all the buttons I need,... | stackexchange/codereview |
Which is faster in C#:to read tiny XML files or to read tiny SQL tables with small amount of data ?
I wonder if is really necessary to create a table in SQL then establish a connection just to read 10 or 11 parameters.
What would you reccomend?
| stackexchange/codereview |
I am using the 64 bit version of Visual Studio 2008 on a 64 bit version of Windows. I have a project that links to a library (OpenCV 2.1). I have compiled OpenCV from source, using the same compiler. My problem occurs in both Release and Debug mode.
In the Properties pane or my project, I have added the directory conta... | stackexchange/codereview |
I have 2 arrays like below and want to merge them together and not duplicate keys into a new array.
$array1:
Array
(
[0] => Array
(
[a] => Array
(
[p] => Array
(
[a] => 1
)
)
[a/s] => Array
... | stackexchange/codereview |
I have created an Add-In and when I go to use it in the expressions box the autocomplete doesn't work. I do see them when I click the functions 'f' button under user defined functions. I would just like the AutoComplete to work with them so I don't have to memorize their names or have to click the functions 'f' button ... | stackexchange/codereview |
what is the best way to save an image of a control?
currently i am doing this:
chart1.SaveImage(ms, ChartImageFormat.Bmp);
Bitmap bm = new Bitmap(ms);
how would i then prompt the user with a windowsavedialogue and save the BMP to a specific location?
if this is not the best way to do this please sugge... | stackexchange/codereview |
I have this regular expression to help me validate a form input.
var nrExp = /^\d{6}\-\d{4}$/;
This allows only 10 digits, where the last 4 digits are separated with a "minus sign".
012345-6789
I need to make it also allow it without the minus-sign AND with a space instead of a minus-sign:
0123456789
012345... | stackexchange/codereview |
We have a web application which listens to web service calls, constructs queries, pulls the data from database and sends the results back to the client. Since we are experiencing some performance issues, we want to cache the data on server side. The queries are complex which involve multiple joins. The database is upda... | stackexchange/codereview |
Does anyone know how you see how many downloads/purchases of your Windows Phone 7 app you've had?
The reports in the App Hub don't show me a anything!
Cheers,
Ash.
| stackexchange/codereview |
I'm learning about WPF. WPF uses device-independent pixels. But I can't really understand them. Why are they better than device-dependent pixels, if most other apps are device-dependent and WPF apps aren't? Would they stick out?
| stackexchange/codereview |
I'm trying to compile postgis 1.5.2 on Mac OS X and running Postgresql 8.4 (installed via one click installer from enterprisedb).
I've used kyngchaos's GDAL complete binary package for postgis and added this to my .bash_profile:
export PATH=/Library/Frameworks/UnixImageIO.framework/Programs:$PATH
export PATH=/Library/F... | stackexchange/codereview |
I have the following code in Objective-C for the iPhone, using NSDateFormatter:
NSDate *today = [NSDate date];
NSDateFormatter *dateFormat = [[[NSDateFormatter alloc] init]autorelease];
[dateFormat setDateFormat:@"yyyy-MM-dd"];
NSString *dateString = [dateFormat stringFromDate:today];
if ([dateString isEqual:@"2010... | stackexchange/codereview |
Do BlackBerry enterprise server APIs expose any COM interface to write applications in C++?
| stackexchange/codereview |
I know it is a common problem, I googled a lot and seems get no luck to solve my problem.
I have a @interface TestViewController:UIViewController
and in its implementation file I have a method defined:
-(void)method1 {
do something;
[self method1];//here I need to call the method itself if a statement is true and... | stackexchange/codereview |
I have a main.swf which loads a module.swf and the module.swf loads some assets.
The module.swf works standalone and also needs to work when loaded by main.swf.
But unfortunately the module.swf can't find the assets when loaded by main.swf because the assets aren't located relative to the main.swf, but are located rel... | stackexchange/codereview |
Visual Studio offers JavaScript Intellisense. It's smart enough to see that you refer to JavaScript files in your master pages (for example jQuery file) and then offers statement completion in any view of the application. However this doesn't seem to work with Razor. Is there a way to get this working with Razor?
ASPX ... | stackexchange/codereview |
I want to check, whether a file exists or not in the /assets/ folder.
How could I do it? Please help.
| stackexchange/codereview |
I need to create a custom allocator for std:: objects (particularly and initially for std::vector) but it might eventually come to use others
The reason I need to create a custom allocator is that I need to track allocated (heap & stack) resources by individual components of the application (this is an inherent feature... | stackexchange/codereview |
MySQL thinks É and E are the same and thus throw an exception saying Duplicate entry 'CLEME' for key 'PRIMARY'
MySQL is 5.1.30 and the table uses utf8-unicode-ci and the field is defined as follows:
search_key varchar(120) CHARACTER SET latin1 NOT NULL,
Is there a way to let this field know they are not the same?
Thank... | stackexchange/codereview |
I'm trying to prevent circular (or even cascading) references in my data, and it seems it's only working part of the time.
In Access 2007, I have the following table:
create table mfr (
mfr_id Autonumber,
mfr_nm Text(255),
mfr_is_alias_for_id Long Integer
)
I'm importing ... | stackexchange/codereview |
Sorry for the long introduction but before I can ask my question, I think giving the background would help understanding our problem much better.
We are using sql server 2008 for our web services as the backend and from time to time it takes too much time for responding back for the requests that supposed to run really... | stackexchange/codereview |
I feel pretty dumb at the moment, but for several days now, I have been completely confounded by the AutoPlay and AutoRun features of Windows. In essence, I have developed some software that will be deployed via optical media (e.g., CD-ROM, DVD-ROM). In a perfect world, our client wants the user to be able to simply ... | stackexchange/codereview |
I am trying to define a one to many relationship between Category and Project (a Category can have one or many Projects, a Project can have one or no Category)
public class Project : Entity {
public virtual string Title { get; set; }
public virtual Guid? CategoryId { get; set; }
public virtual Category Ca... | stackexchange/codereview |
I'm trying to make a program that will draw lines over a picturebox using mouse clicks for the locations of where the line is to be drawn from and to. This is my current code:
public partial class Form1 : Form
{
int Drawshape;
private Point p1, p2;
List<Point> p1List = new List<Point>();
List<Point> p2... | stackexchange/codereview |
I know that shared hostings don't allow svn installation.
I got question about whats the best way to copy website from repository to shared hosting.
Now:
My repository is on other VPS.
I do checkout to my computer and then copy all to shared hosting.
how i can copy data from repo to hosting with one step?
| stackexchange/codereview |
Is there a shorter way of testing the following:
if (!((a == b) && (a == c) && (a == d) && (a == e) && (a == f)))
I ended up writing a method that lets me do this
if (!AllEqual(new[] { a, b, c, d, e, f }))
That feels nicer and is a lot more readable, but I'm wondering if there is something in the framework that does ... | stackexchange/codereview |
I have UI where a user can search on optional parameters.I am writing a SP and as a testing database I am using AdventureWorks.
For some reasons I dont seem to find a way how to include
Where ModifiedDate between ''' + @Fromdate + ''' And '''+ @ToDate + '''')
in my existing SP.Can you help?
My sp looks like this
ALT... | stackexchange/codereview |
I'm working on a large project (~200 eclipse projects) which is stored on a remote subversion server. I have to do an update every day (and at least a partial update/sync before every commit). The full update takes quite some time, so I'd like to have my machine do this before I arrive at work. Is there a way to do thi... | stackexchange/codereview |
I have got a DLL in native code, and i need to call a specific function from that DLL from c# code.
Signature of the function is this:
long Validate(char *p).
please help me on this.
We are using ZP4 for Address verification. From Semaphore tutorial they have mentioned that for checking the software is expired or n... | stackexchange/codereview |
am crteating a client server application
and the client will ask the server for a certain image, and the server will send it to the client
when the client receive it , it will show it in a picturebox
so this is my code
string line = null;
line = textBox3.Text;
socket.Send(Encoding.ASCII.GetBytes... | stackexchange/codereview |
I have a TCP connection. Server just reads data from the client. Now, if the connection is lost, the client will get an error while writing the data to the pipe (broken pipe), but the server still listens on that pipe. Is there any way I can find if the connection is UP or NOT?
| stackexchange/codereview |
I need to create routing in Zend to simply copy the current live site url structure which is sadly inconsistent
What i want to do is to route subdomain as follow:
www.site.com -> static router
a.site.com & b.site.com -> category controller
c.site.com & d.site.com -> location controller
the rest sub domain -> user contr... | stackexchange/codereview |
Im trying to make the the textLabel change at 12am every 24 hours anyone help me with setting up this code?
This is the current code I am using.
h fil
NSTimer *timer;
IBOutlet UILabel *textLabel;
m file
(void)onTimer {
static int i = 0;
if ( i == 0 ) { textLabel.text = @"iphone app"; }
else if ( i == 1 ) { textLabe... | stackexchange/codereview |
I have created a .NET Windows Forms component that runs within IE via an <object /> tag and allows me to print to a thermal label printer directly from a web page using the Windows API's to bypass the driver and send raw commands.
This all works, but my customer is now asking for similar functionality from Firefox!
Wh... | stackexchange/codereview |
In django_session table session_data is stored which is first pickled using pickle module of Python and then encoded in base64 by using base64 module of Python.
I got the decoded pickled session_data.
session_data from django_session table:
gAJ9cQEoVQ9fc2Vzc2lvbl9leHBpcnlxAksAVRJfYXV0aF91c2VyX2JhY2tlbmRxA1UpZGphbmdvLmN... | stackexchange/codereview |
Please refer to Wikipedia:Strategy Pattern (C++)
class Context
{
private:
StrategyInterface * strategy_;
public:
explicit Context(StrategyInterface *strategy):strategy_(strategy)
{
}
void set_strategy(StrategyInterface *strategy)
{
strategy_ = strate... | stackexchange/codereview |
Trying to decorate an IQueryOver by using some conditional logic. Consider the following code which is a private method on an object representing a customer search.
private void addCustomerCriterion<T>(IQueryOver<T, T> query) where T : Customer
{
if (!string.IsNullOrEmpty(Name))
query = quer... | stackexchange/codereview |
I am currently using:
<input type="text" value="username" onfocus="this.value=''" name="login" id="login">
on my sign in form field on my site, which populates the form with the word "username" until the user clicks on the field, which is then cleared.
The problem is, if the user clicks on the field, types something ... | stackexchange/codereview |
Since the connection with the TFS server at my office is not stable, I often work with the codes in offline mode (here's how to work offline quickly).
The regular problem I get after the system goes online is the merging step which makes me stumble around the codes to get the codes online. I don't understand why the sa... | stackexchange/codereview |
Sender:
ObjectA A = new ObjectA();
ObjectB B = new ObjectB();
//Connection is created
socket.writeObject(B);
Receiver:
//don't know how to find to which object I should typecast the object to :(
Is there any way to send two different objects on the same Object stream?
-Pk
| stackexchange/codereview |
I use Emacs to write research papers (which include a lot of text .. duh). I always want to move from a period (.) to another period - basically, move from beginning of a sentence to the end (and vice-versa). I have not found any key map that does this (M-a, M-e, C-x C-t are not what I require). I don't have much exper... | stackexchange/codereview |
I try to pass a template variable to a tag as parameter, not sure how it works.
For instance
in template html
{{ question.author_id }}
{% monetize_slot question.author_id "questioner" %}
Here I can see the webpage show question.author_id as "2", but when I try to pass it via the tag monetize_slot, it treat it as a st... | stackexchange/codereview |
I have a schema which names all its elements and complexTypes in capital letters and so all my class names are also in caps.
Can you let me know how to capture this and name the classes in CamelCase?
Ex: Snippet of XSD :
<xs:element name="REGISTRATION_DATE">
<xs:complexType mixed="true">
<xs:attribute name... | stackexchange/codereview |
I'm having problems having C++ handle maps of functions without giving me errors. I'm making a simple Round Robin Scheduler and there are some variables like how many times each program has run etc. That I want changed at each run, so I created a deque of pointers to the functions that I will be running, and when a fun... | stackexchange/codereview |
My application uses a popup window for users to submit a Tweet through Twitter OAuth. Here's the flow:
For users not connected/auth'ed to Twitter:
1. Popup prompting to connect to Twitter.
2. Resize the popup window and redirect to Twitter auth
3. Upon success, resize window to smaller size and show Tweet popup win... | stackexchange/codereview |
Everytime I add a new Attribute to my CodeData object model I have to clear my database file out otherwise I get the following error:
2010-11-13 15:26:44.580 MyApp[67066:207] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could not locate an NSManagedObjectMode... | stackexchange/codereview |
Possible Duplicate:
What makes code legacy?
What is the definition of "legacy code"?
| stackexchange/codereview |
As you see in the snapshot, variable names are shown e.g. "email_address", "email_message" and "email_subject". Instead i want to print "Email", "Message" and "Subject".
MM_validateForm() Javascript is used for validation.
| stackexchange/codereview |
When an exception is caught in java is there a use case for casting the exception to a new type? Or is the standard
throw new DiffException(e)
The only way to do it. I apologize if I'm overlooking something but the only search results I get are for "ClassCastExceptions" Which is obviously not what I'm looking for... | stackexchange/codereview |
I'm getting an InvalidOperationException when using the following code to create a ShellTileSchedule:
ShellTileSchedule sch;
public void UpdateTile()
{
sch = new ShellTileSchedule();
sch.Recurrence = UpdateRecurrence.Interval;
sch.Interval = UpdateInterval.EveryHour;
sch.StartTime = DateTime.Now;
sc... | stackexchange/codereview |
Can someone tell me if there is way to write an SQL query to get list
of contact names from phonebook which matches its english name given
that the phone language is set to Spanish.
E.g., If I write a query to get a contacts whose last name ends with
"Dad", but for some contacts the last name "Dad" will be stored as
"p... | stackexchange/codereview |
I've made a custom model, and I want to mock it. I'm fairly new to MVC, and very new to unit testing. Most approaches I've seen create an interface for the class and then make a mock that implements the same interface. However I can't seem to get this to work when actually passing the interface into the View. Cue "simp... | stackexchange/codereview |
I have a base pom which defines repository locations for the nexus we are running behind our firewall and all of our projects inherit from this base pom. However the base exists in one of the repositories defined in the base, so you can see the circular reference problem. I'd like a maven install:install-file like comm... | stackexchange/codereview |
Running the following in a default unmodified project created in Visual Studio 2005 displays the "yes" message box in both vista and windows 7. Does anyone know why? IsProcessDPIAware is described here: http://msdn.microsoft.com/en-us/library/aa969261(VS.85).aspx.
HMODULE hUser32 = LoadLibrary(L"user32.dll");
typedef B... | stackexchange/codereview |
I have a web service that handles 500k+ unique hits a day (will be bumped up to 4m). There is a lot of log data per visitor (~5 rows/visit) to log various information about each visit (useragent, IP, location, etc). Every day at 1am I have PHP & mySQL summarize all the data in the log tables (# uniques, us uniques, ave... | stackexchange/codereview |
I've got a 3rd party component which uses the TraceSwitch functionality to allow me to output some traces of what's going on inside. Unfortunately, running the switches in verbose mode, with a TextWriterTraceListener as the consumer (outputs to file) slows down the application too much.
It isn't critical that the trace... | stackexchange/codereview |
$.get("js/getflickreasy.php", function(data)
{
$(data).find("item").each(function()
{
var title = $(this).find("title").text();
var description = $(this).find("description").text();
var thumbnail = $(description).find("img").attr("src");
}
);
}
);
In Firefox and Chrome this works fine. But in Inter... | stackexchange/codereview |
Possible Duplicate:
What does the @ symbol before a variable name mean in C#?
I have been coding in C# for about a year now, and recently i came across the following
public bool OnPreUpdate(PreUpdateEvent @event)
As you can see event has an '@' sign before it, is this just to prevent the compiler detecting it as th... | stackexchange/codereview |
Dropdwon list binding with null value in database
solution:
select job_id,job_name from jobs union select null as none ,null as none
| stackexchange/codereview |
I am trying to create a Model of a pretty special kind.
I just call it Emails. Containing fields like:
address
send_count
blocked
It is a registry of email addresses. Every record in other models that contain an email address should have a reference to a record in this model. That way I can block/ban and email ... | stackexchange/codereview |
I got a problem with the outlining of some div elements.
I got the following structure.
<div id="skillcontent">
<div id="skillname" class="inline">
<div class="skilllist">
<div><h3>[SKILL]</h3></div>
<div><h3>[SKILL]</h3></div>
</div>
</div>
<div id="skillstars" class="inline">
<div class="skill... | stackexchange/codereview |
I'm getting the hang of mustache for a project I've started during the weekend.
I'm using the PHP implementation. I have, however a couple of inquiries as I'm not used to the system.
How do you handle template inheritance, or reuse?
I know of partials, but how should I use them? I'm doing something like this, ala inclu... | stackexchange/codereview |
I'm trying to add an index to my models, but keep getting this error.
PG:Error Error:column "user_id" does
not exist :CREATE INDEX
"index_users_on_user_id" ON "users"
("user_id")
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.references :role
t.references ... | stackexchange/codereview |
I am able to write on my own wall but not on the wall of pages I am an admin for. I am using the code below (Javascript SDK):
FB.ui(
{
method: 'stream.publish',
message: 'getting educated about Facebook Connect',
attachment: {
name: 'Connect',
... | stackexchange/codereview |
I am currently building a simple application for Android using the NDK and needs to get
the coordinates from the GPS. I've searched the web, but have come up empty handed. Is there some API or such for NDK-programs to access the GPS?
| stackexchange/codereview |
The Microsoft panorama control is a common method for performing layout and navigation in Windows Phone 7 applications. In many blogs and reviews you will find screenshots that show the entire panorama control in one image instead of individual sections. Is there any way to create these automatically from the XAML code... | stackexchange/codereview |
I'm looking at this service: http://www.intuitionhq.com It's great, but it requires the user to opt in to the test. I'd like to find a service that I can just embed some javascript on the page and wherever a user clicks is recorded so I can find out what's most popular on what page. Does anyone know of something lik... | stackexchange/codereview |
When I want to send an initial request to a tracker all references I've seen says it needs to be url-encoded. If I transform the SHA-1 hash I have of the info key into a hex string, why would I need to url-encode the hash? It only contains allowed characters.
| stackexchange/codereview |
A project in DashCode can be configure to support both Safari and Safari Mobile.
I like this dual support, but on the iPad, I found that the Safari layout was much more suitable than the Safari Mobile layout.
How can I fix the project so that on the iPad the Safari layout will be used?
| stackexchange/codereview |
I want to build a mobile/tablet application whose core feature will be taking pictures with the camera , viewing pictures and receiving notifications. Also I want to target iphone, ipad and android platforms.
Titanium appcelerator piqued my interest because of its cross platform appeal. However I am concerned because I... | stackexchange/codereview |
Now I know about the Dispatcher and the DispatcherTimer and their benefits.
But I've always been under the impression that an async web-service/WCF callback (completed event handler) are automatically handled by the UI thread.
But looking at some references online such as the one linked below, it seems this is NOT the ... | stackexchange/codereview |
The exception message is "Value does not fall within the expected range". Here's the code:
private void PrintButton_Click(object sender, RoutedEventArgs e)
{
PrintDocument pd = new PrintDocument();
pd.PrintPage += (s, pa) =>
{
Viewbox vb = new Viewbox();
vb.Child = MainGrid; // M... | stackexchange/codereview |
I have a subclass of a NSWindowController. In my subclass, I have a keyDown: method.
When I press the Help Key on the keyboard, my keyDown: method is not called and I would like it to be as I need to do something custom.
Right now, when I press the help key, the cursor changes to a question mark.
Anyone know how to ove... | stackexchange/codereview |
I believe the answer to this question is "no" but I'm interested in the community opinion. A varchar or nvarchar value should automatically trim trailing whitespace, so I don't believe I should ever have to call RTRIM() on such a value. Does any expert have a reason that I would need to?
(In case the tags do not make i... | stackexchange/codereview |
I have Java 1.6 and Tomcat 5.5 installed on my system.
But Tomcat 5.5 accesses Java 1.5 and hence as the outcome I get the error Bad version number in .class file while executing java code with JSP.
How can I change the Tomcat version to Java 1.6?
UPDATE
I tried changing the JVM that the tomcat5w.exe is pointing to the... | stackexchange/codereview |
This is how I am configuring the client from code
var binding = new BasicHttpBinding(BasicHttpSecurityMode.TransportCredentialOnly);
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows;
binding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
binding... | stackexchange/codereview |
I was asked to investigate why some data is not being pulled up in a CrytalReport document. I am an absolute beginner ( as far as CrytalReports is concerned ) who just wanted to tinker with the code and see how the results change. Is this right way to fix the issue?
I was thinking that there will be some selection cri... | stackexchange/codereview |
Our client has a Desktop application (VBA and Access) that they are using for the past 10 years and it is buggy and they want to upgrade it. I want to use the latest MS technologies and plan to make this a web application using .NET 4.0, C#, SQL server and MVC running on the Intranet.
Since the application has many vi... | stackexchange/codereview |
I have a FileMaker Pro database the was create by another person when the created it years ago it was not relational. It has many contacts and each contact is assigned to a single group. I want to get a distict list of those groups from that database. So if I started with say
group 1
group 1
group 2
group 3
group 7
gro... | stackexchange/codereview |
I have a stack of vimeos on a page, I want to make them all mute though as they will be playing simultaneously.
I've got it working on only one vimeo. As it needs the unique ID for each vimeo.
But I'm not interested in doing different things to the videos. I just want to give them one rule, and obviously not have to w... | stackexchange/codereview |
Okay, so i have <table>
inside this there's <tr>´s that defines these boxes above (the lightgrey/grey/yellow..)
Now i want to make so when you hover over a box, you a deletebutton will appear.
I have done this by inside each <tr> (inside each box) there's this:
<td id="delPMicon<?php echo $id; ?>" style=... | stackexchange/codereview |
When will a program get an 'Out of memory exception'. Is it when not having enough virtual address range or because of not having enough physical memory?
As per my understanding, it should happen only when not enough virtual address is available as physical storage can be made available by paging un-used sections.
Plea... | stackexchange/codereview |
I have a visual studio 2005 solution with many projects. Yesterday I was able to open it normally. Today, when I double click on it, I get the following error message:
The selected file is a Visual Studio solution file, but was created by a newer version of Visual Studio and can not be opened.
Please help.
| stackexchange/codereview |
This might be something simple that I just keep missing but...
I can get the entity name but is there anyway to use an entity name assigned to a varible to have an Autocad command use the entity as the selected object to act on?
| stackexchange/codereview |
I use netbeans 6.9 I want to use org.codehaus.staxmate.dom package but in does not exist. How can I add this package?
| stackexchange/codereview |
First my structure:
Application
|---> dirA
|---> dirB
|---> index.html
|---> somefile.js
|---> dirC
|---> index.html
|---> somefile.js
|---> dirD
|---> index.html
|---> somefile.js
some problems here. i need to load the index.html of this different dirs in... | stackexchange/codereview |
For the first question, I have the function:
$(function() {
$('#datepicker').datepicker({
onSelect: function () {
$('#date').text($(this).val());
},
onChangeMonthYear: function () {
$('#date').text($(this).val());
}
});
});
The onSelect works, but the onChangeMonthY... | stackexchange/codereview |
i have built an interface for dragging images into a "save area" and i dont know how to access the actual html markup- such as the img src tag?
i have this
$(function(){
$('.draggable').draggable();
$('#droparea').droppable({
drop: function(ev,ui) {
//do magic
},... | stackexchange/codereview |
I have two domains that are pointing to the same directory, but I would like to redirect them (via mod_rewrite in htaccess) to some specific .html when hitting home.
Like:
if (domain == 'firstdomain')
redirect firstdomain.html
else if (domain == 'seconddomain')
redirect seconddomain.html
| stackexchange/codereview |
When I debug my program by stepping through it, it sometimes takes a long time for the step to finish. This was not happening in the beginning of the project so most likely it is due to something I have added. Could you give me pointers as to how to remedy this. I did notice one of the problems was due to the main... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.