instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
What I have so far:
SELECT jobs.id
FROM jobs
LEFT JOIN employees_jobs
ON employees_jobs.job_id = jobs.id
LEFT JOIN line_items
ON line_items.job_id = employees_jobs.job_id
LEFT JOIN employee_statements
ON line_items.employee_statement_id = employee_statements.id
WHERE (
emp... | stackexchange/codereview |
I'm implementing two state element. I have two xaml's (for first state and second state). I should change state at mouse click.
I create own Control child and use xaml
<Style TargetType="l:ActionButton">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="l:ActionButton">
... | stackexchange/codereview |
I have a situation in which the same activity class is being created by the creation of tabs in a tabhost control. Subsequently, each instance of the activity will want to inform a select group of its peers of some user action. Conversely, each activity, when it's constructed/created, knows which activity[only one] to ... | stackexchange/codereview |
Here's the issue: When I press F5 to run the app, it tries to go to
http://localport/Views/Home/Index.aspx
and it gives a 404 error.
when I remove Views/Home/Index and
give it just http://localport/ -- it goes to the Index page.
I didn't change anything in the Routes in Global.ascx
What make it go to http://localport... | stackexchange/codereview |
I'm trying to print a section of a web page and there are multiple css files, and several of those files contribute to the "print" media type. Some of the plugins I've seen assume that you only have one media="print" css file and that's all it needs. I have looked at PrintArea and jsprint and am not very impressed by e... | stackexchange/codereview |
I'm trying to debug Facebook API on my local machine. After reading many websites, I realize I need to set up my ASP.NET MVC application to run on IIS instead of Visual Studio 2008 Web Server. I created the virtual directory but I'm getting this error. The program works fine under VS Web Server.
The virtual path '/View... | stackexchange/codereview |
I have this problem that my .php file is presented as clear text in the browser. I.e., the page is not transcoded in any way.
This is my html-fil with a form
<html>
<head>
</head>
<body>
<form id="myForm" action="commentNoJQ.php" method="post">
Name: <input type="text" name="name" />
Comment: <textarea na... | stackexchange/codereview |
I am trying to achieve a JQuery AJAX call to a controller action method that contains a complex object as a parameter.
I have read plenty blogs and tried several techniques learned from these. The key post on which I have constructed my best attempt code (below) is the stackoverflow post here .
I want to trigger an asy... | stackexchange/codereview |
My goal is to create a map of maps so that I can retrieve info of the outer map by its key and then access its "inner" maps by their keys.
However, when I got each inner map, the map I created originally became an Object and I cannot use key to access its value as I do with the outer map.
To learn from you experts, I... | stackexchange/codereview |
I have arbitrary .xml & .mf files that i have to add in the META-INF folder inside the ear itself. Build is done using maven2.2.1. Simply adding those files under ${basedir}/src/main/application/META-INF/ works fine, but it doesn't fit my needs. Is there another way to do such thing? I tried:
<build>
<resources>
... | stackexchange/codereview |
I'm looking for a good examples/practices on how to store and structure the data in CouchDB.
Something a bit more complex than the blog app in the definitive guide.
Let's imagine an application like Stack Overflow.
How to store the basic parts - users, questions, answers, comments, tags, votes?
Do you think it is a... | stackexchange/codereview |
I find after Mongoid 2.0, Rails 3 is require. The last Rails 2 compatible version is 1.9.2 which have many bugs.
Question is:
1. Does Mongoid will support Rails 2?
2. Where I can find Mongoid 1.9.2 source code (There is no 1.9.2 tag on github mongoid git repo). So I can fix some bugs myself.
Thanks.
| stackexchange/codereview |
1. static inline ulong zend_inline_hash_func(char *arKey, uint nKeyLength)
2. {
3. register ulong hash = 5381;
4.
5. /* variant with the hash unrolled eight times */
6. for (; nKeyLength >= 8; nKeyLength -= 8) {
7. hash = ((hash << 5) + hash) + *arKey++;
8. hash = (... | stackexchange/codereview |
I've been scratching my head over this one, so thanks in advance for any help. Much appreciated.
I've got a menu in WP 3.0.1 which I call in header.php using:
wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );
It's showing up fine on every page apart from search results. The sea... | stackexchange/codereview |
-sky switch Specifies the subject's key type, which must be signature,
exchange, or an integer that
represents a provider type. By
default, you can pass 1 for an
exchange key and 2 for a signature
key.
If I understand this correctly, then signature and exchange are two key types? In what situations is each ... | stackexchange/codereview |
I am trying to create and manage SQL Server Compact databases. The problem is that I can't change the "server type" from database engine. I tried following the directions here: link text.
| stackexchange/codereview |
I followed steps in a tutorial to learn how to use Code Igniter to build a PHP/MySQL application and upon completion the application fails with no error. I'm using TextMate rather than a full featured IDE.
How do most developers using Code Igniter debug their applications? Is there something in the framework for bu... | stackexchange/codereview |
I'm wondering if something is wrong with this SVG file since I can not view it in Firefox or Chrome: Map of Texas Highlighting Tarrant County.
| stackexchange/codereview |
I'm confused in this program how the value of x=320 ...
#include<stdio.h>
int a=5;
int main(){
int x;
x=~a+a&a+a<<a;
printf("%d",x);
return 0;
}
http://codepad.org/UBgkwdYl
hoping for quick and positive response..
| stackexchange/codereview |
how do i estimate download progress/time when the file to be downloaded lacks the content-length information? Thanks
| stackexchange/codereview |
I spend the last hour doing trial and error with this problem with no avail. We have to, using general coding guidelines (like scan.nextDouble) instead of actual numbers, find the max of a certain number of double values. The only catch is that we can only add code at a certain point. (where the ... is)
double value, v... | stackexchange/codereview |
I have a document based cocoa application with an item in the application menu hooked up to an IBAction. Clicking the item needs to perform a task that uses an IBOutlet in the main nib file which is using another class, MyDocument. Creating 2 objects of the same class, one in each nib seems to not be working. How can I... | stackexchange/codereview |
are there any way to add new column to the table with JQuery plugin DataTables?
| stackexchange/codereview |
I am happily converting to Razor. However, one irritating thing is that when creating a view, it doesn't add the sections for the selected layout (u2bka masterpages...).
Is this to be amended for RTM or is this it??
Either way, where (or to whom) do I whinge? It is an absolute pain putting in all the sections.
PS:
u2... | stackexchange/codereview |
I'm working on some VBA heavy sheets in Excel 2007. At my previous work we had a lot of sheets which were calc-ing for a long period ( valuing trades etc ) and if you opened another 2003 session completely they didn't interfere with each other.
It seems in 2007 if one Excel session is running and is working hard on ... | stackexchange/codereview |
after three days of trying I'm near giving it up..
I try to use the Google Maps API to create a map with a longer line formed by several points. Unfortunately not even uploading a XML file worked out for me (Though I successfully authorized myself with my Google account).
Can someone please give me help and post a C#/V... | stackexchange/codereview |
Just wondering what would be the best way to grab the following data and parse it.
Here's an example of some the data I want to pull.
<?xml version="1.0" encoding="UTF-8" ?>
<eveapi version="2">
<currentTime>2010-11-19 19:23:44</currentTime>
<result>
<rowset name="characters" key="characterID" column... | stackexchange/codereview |
I have this code:
public interface IEntityBase<T> where T : struct, IComparable
{
T? ID { get; set; }
}
And,
public class EntityBase<T> : IEntityBase<T> where T : struct, IComparable
{
private T? _id;
protected EntityBase(T? key)
{
this._id = key;
}
public virtual T? Id
{
... | stackexchange/codereview |
I was reading up on iPhone in the enterprise and saw something about Mobile Device Management servers. As far as I can tell, there are a few 3rd party MDM vendors, but Apple says that one could implement their own.
The iPhone Configuration Utility allows you to set up a Server URL, Check in URL, Topic, Identity, and so... | stackexchange/codereview |
The 5th rule down on this page is triggered by the URL: /vehicles/Ford/Escape/2005/ BUT it gets rewritten by the 9th rule down and I can't figure out why. I've looked up htaccess flags and L should do the trick if I understand correctly which I already have on there.
#urls carried over from previous versions of the si... | stackexchange/codereview |
I'm using a basic URL shortening script for one of my sites so that I can manage the URLs internally (and have less trailing characters on the urls). It's working well, but I'd like to be able to use Google Analytics to track the clicks.
I've found this: http://code.google.com/p/serversidegoogleanalytics/ which seems t... | stackexchange/codereview |
I get the following error from Django:
NoneType object has no attribute status_code
Here's a copy of the output from the log:
Environment:
Request Method: GET
Request URL: http://192.168.2.206:8080/institutes_admin/
Django Version: 1.1.1
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
'django.... | stackexchange/codereview |
I am using JCarousel to display pictures from the DB into JCarousel.
I am retrieving 500 pictures from the DB (for example) but i want to display only 50 pictures in jcarousel.
This is my Code to populate the JCarousel
if ($("input[id$='hid_RowCount']").val() == 1) {
jQuery('#mycarousel').jcarousel({ scroll: 7
... | stackexchange/codereview |
I have to get Directory Access permission in C#. Is there any property in C# to get Directory access type?
| stackexchange/codereview |
I am trying to log JavaScript events such as AJAX and click events using Google Analytics.
I have done some reading on Google Analytics and it seems I need to use _trackPageView and _trackEvent. I have put this is my code as a JavaScript function that I call as needed. Here is the code:
var pageTracker = _gat._getTrac... | stackexchange/codereview |
I am trying to write a script to let me start a set of terminals of specific size at a specific position on screen (for instance, four terminals spread across my screen in a grid model each active). If there is already a tool that can do this, that would be great too... Any suggestions?
| stackexchange/codereview |
I've got a web part that I'm using to add some custom controls to the New, Edit and Display forms for a SharePoint ListItem. I added a handler for SPContext.Current.FormContext.OnSaveHandler to update the item. I add my web part to the Edit and New forms using SharePoint Designer and hide (set IsVisible=False) for the ... | stackexchange/codereview |
In java, I might have an object a with a bunch of properties like getColor. I then might make a second object b (possibly of the same class) that behaves similarly to object a in the sense that it does the same thing as a unless one of it's values is specifically changed (and unchanged, too).
a = new Foo()
b = new F... | stackexchange/codereview |
I am getting this error message when I try to push my changes to a remote Hg repo.
I'm using tortoiseHg 1.1.5 with Hg 1.7
| stackexchange/codereview |
I want to display an image within an iframe on my webpage. However, the problem is that I can't get it to expand to 100% of its size.
What I want to do is the following.
Have an iframe on my webpage.
Call an image within the iframe.
Make the image expand to full-size and as a reaction, the iframe allows me to scroll.... | stackexchange/codereview |
I moved everything that I had in /opt/local (where Macports' things lived) into ~/.macports. That included my old postgres database cluster.
Then I installed postgres using Homebrew and ran the setup that it told me to (creating a new database cluster in /usr/local).
In my project, I ran rake db:drop:all and rake db:cr... | stackexchange/codereview |
Can I say that usually, in WPF, properties Template contains ContentTemplate? Or else, whats the difference?
| stackexchange/codereview |
I am using the GridUnload method to unload my original grid. Actually I want to load a grid depending on various conditions. Here I first call the GridUnload method and then call trigger on it to reload the grid with a new data. But in a browser, I get an error saying "Object doesn't support this property" at the line... | stackexchange/codereview |
I have a Java project.
I have a JFrame with a handler attached to it like so
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent evt) {
this.setEnabled(true);
}
});
But, on that frame I also have a close button (to make it more user frie... | stackexchange/codereview |
I wnat to give executable permssisons to a file using java 5 . I know that jre6 File has the api's for changing permissions. How to do it using java 5 . Any apache commons is there
| stackexchange/codereview |
OK so person on http://foobar.com uploads to http://upload.foobar.com/cgi-bin/upload.cgi
upload.cgi returns:
<script language="javascript" type="text/javascript" src="http://upload.foobar.com/jquery-1.3.2.min.js">
</script>
<script language="javascript" type="text/javascript" src="http://upload.foobar.com/uploader.js">... | stackexchange/codereview |
I'm writing a software that checks events in user's calendars and does some manipulations over them. But I would like to touch only those events which are present in synced calendars only.
I'm using Google Calendar API, but don't know how to list only synced calendars and ignore others.
Thanks
| stackexchange/codereview |
I've been reading some dotfiles (.vimrc .gvimrc) to learn some neat tricks, and I've come across this one:
if has("gui_running")
set fuoptions=maxvert,maxhorz
au GUIEnter * set fullscreen
endif
If this is already a .gvimrc (only loaded if gVim is loaded) why does it have the condition if has("gui_running")? Is... | stackexchange/codereview |
How do you resolve this Xss from Stackoverflow?
| stackexchange/codereview |
Possible Duplicate:
Convert a number range to another range, maintaining ratio
So I have a function that returns values within 0 and 255 and I need to convert these values to something between -255 and 255
So 200 would be roughly 145, 150 would be roughly 45 and so on..
I have looked at Convert a number range to ano... | stackexchange/codereview |
I'm using libnetfilter_queue for my project. From C app queue is accessible by "queue file descriptor". I have 5 queues and 5 threads to handle them. What I want to achieve is to wake thread when there is exactly 2 packets in queue. I came up with idea to use select function and array of ints indicating how many packe... | stackexchange/codereview |
NSString's initWithContentsOfURL:usedEncoding:error: method will automatically detect the correct string encoding to decode the data from the specified URL. However, this method is synchronous, and I am trying to perform the same task asynchronously using an NSURLConnection.
The problem I'm having is that when I get th... | stackexchange/codereview |
With this test page:
$page = (int) $_GET['page'] ?: '1';
echo $page;
I don't understand the output I'm getting when page is undefined:
Request Result
?page=2 2
?page=3 3
?page= 1
? error: Undefined index page
Why the error message? It's PHP 5.3; why doesn't it echo "1"?
| stackexchange/codereview |
How can I divide a list [1,2,4,1,5,7,3,4,2,3] into a list of sublists that would be split at the values that break the sequence. For example a list [1,2,4,1,5,7,3,4,2,3] should yield a list of sublists like [[1,2,4],[1,5,7],[3,4],[2,3]].
Any ideas on this or suggestions how to resolve this problem?
Thanks.
| stackexchange/codereview |
I have a stored proc that takes an input of xml value like this:
<?xml version="1.0" encoding="utf-16"?>
<RWFCriteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" reportType="Executive">
<item id="44" name="" value="" type="Project" />
<item id="45" name="" valu... | stackexchange/codereview |
I'm having a hard time wrapping my mind around something and would appreciate some reading material on this concept.
I'm writing an application that relies heavily on providing API calls via a URI scheme. example.com/company/user/123123. The aspects of taking a URI string and converting it to an action makes sense.
Bu... | stackexchange/codereview |
I'm using jquery and have an entire html page stored in var page
var page = '<html>...<div id="start">......</div><!-- start -->....</html>';
How can I extract only the section that starts with <div id="start"> all the way to after the end tag </div><!-- start --> such that my output is
<div id="start">......</div><!-... | stackexchange/codereview |
Is the ILazyComponentLoader for Castle Windsor recursive? That is, if the lazy loaded component has a dependency, will Windsor try to lazy load that dependency as well?
If not, can someone suggest a way of doing this?
If so...I can't seem to make this work...I keep getting an error after lazy loading the first compon... | stackexchange/codereview |
I'm trying to solve a data mystery here but i'm not sure whether it is my code issue or internet browser issue... it works fine in IE6 and IE8 but somehow the data appears incorrectly when it was used by customers who may not be using IE...
decimal? a = 1.0000m;
decimal? b = 0.6999m;
decimal? c = null;
string aDesc =... | stackexchange/codereview |
For my own edification, I'm trying to write this SQL functionality in a single statement without using temporary tables. For the life of me, I can't get the query to work without getting a MySQL "ERROR 1248 (42000): Every derived table must have its own alias."
Here's something akin, albeit broken, to what I want:
SEL... | stackexchange/codereview |
please clear the concept of view controller and ModelViewController
| stackexchange/codereview |
Here is my problem: I am trying to debug Apache Cassandra and understand the flow of the app. I.e. when a request is sent by the client, say put(), what methods are called and how the system is working internally.
So, here is what I am thinking:
Write a main method in the cassandra code which calls the point of entry ... | stackexchange/codereview |
I'm using this code to display severl images from the internet
ImageView iv = new ImageView;
URL url = new URL(address);
InputStream content = (InputStream)url.getContent();
Drawable d = Drawable.createFromStream(content , "src");
iv.setImageDrawable(d)
but the application became slow in running why ??
does the inte... | stackexchange/codereview |
I have to create a class that will load all the dll's from repository and check whether
they are inheriting from IMFServicePlugin interface and returns the
valid dlls.
that I have done using this...
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Windows... | stackexchange/codereview |
how to convert 64 bit decimal value into the 64 bit binary value??
what is the range of the decimal values of 64 bit????
64 bit decimal values means in floating point...
| stackexchange/codereview |
I'm building a web page that will only be used on the iPad. I have a textbox that I'm using for users to enter an email address. I know that there is a form element you can set that changes the default ipad/iPhone keyboard to show the @ symbol so you don't have to hit any special buttons to get to it but having a har... | stackexchange/codereview |
I'm about to embark on an app that will require scheduling of events for "clients" among other things. I've worked with ABAddressBook a bit on a previous project (year ago) so knew then its advantages & limitations. No experience with Event Kit.
I believe Apple says if you rely on these frameworks (and data sources) yo... | stackexchange/codereview |
OK, I think this will be fairly simple, but my numpy-fu is not quite strong enough. I've got a an array A of ints; it's tiled N times. I want a running count of the number of times each element is used.
For example, the following (I've reshaped the array to make the repetition obvious):
[0, 1, 2, 0, 0, 1, 0] \
[0, 1, 2... | stackexchange/codereview |
Say I have a collection of phone numbers:
phonenumbers.add(new phonenumber("mobile", "1234"));
phonenumbers.add(new phonenumber("home", "5678"));
If I have 2 text boxes, txtMobile and txtHome, how do I bind each phone number to the individual text boxes?
Thanks!
| stackexchange/codereview |
Based on
http://www.cplusplus.com/reference/stl/vector/vector/
explicit vector ( const Allocator& = Allocator() );
This vector constructor takes a reference parameter which has default value of Allocator(). What I learn from this function signature is that a function can take a reference parameter with default value.... | stackexchange/codereview |
Is there anyway I can change the black background color from the Spark VideoDisplay component?
Thank you.
| stackexchange/codereview |
I am currently trying to get my C# program to run on Linux. Using mono on my Linux machine, the program runs fine. So I used mkbundle and it all compiled and such correctly. But when I try to run the bundled program on any other Linux machine I get this error:
Unhandled Exception: System.TypeInitializationException: An... | stackexchange/codereview |
I am using the C# .NET SDK for MS CRM 4.0. More especially, I use the XRM interface of the SDK.
When I start my client application, the first query (e.g. get all crm systemusers) has an overhead of about 5 seconds. The overhead occurs before anything is sent via the network (observed in wireshark). That's why I guess t... | stackexchange/codereview |
I have a Note object, which has a start_date field (date, required) and an end_date field (date, optional).
How can I write a search (in Ruby 1.9.2 & Rails 3) that will find notes that meet these 2 conditions:
end_date field isn't empty
parameter input_date is in the period between (start_date + 1 day) and end_date
T... | stackexchange/codereview |
Let's say I have these two tables:
Category
Id int primary key,
Name nvarchar(50) not null,
Description ntext null,
AnotherColumn nvarchar(20) not null,
AndYetAnotherColumn nchar(10) null
Product
Id int primary key,
CategoryId int not null (references Category.Id),
Name nvarchar(20) not null
OtherStuff...
I have a Pr... | stackexchange/codereview |
In the application i am developing I need to get information from varoius sources (mysql database,facebook and in future other social networks.) and join all in the same structure,
What i am doing right now is get the data from my database and from facebook as array, then use array_merge to join both arrays and then it... | stackexchange/codereview |
I'm looking for some code that I can run in the jQuery(document).ready() function that will let me get the current focused element. Is this possible?
Cheers,
Pete
| stackexchange/codereview |
I have created a MVC application its working fine. I have created a view which have few viewdata variables. I am filling these with my database values, and they are updated in loop.
This method take 40-50 seconds to display actual page contents. So is there any other way to display the contents which we get till now an... | stackexchange/codereview |
Why was argument dependent lookup (ADL) invented? Is it just so we can write cout << stuff instead of std::operator<<(cout, stuff)? If that is the case, why wasn't ADL limited to operators instead of all functions?
Could the introduction of ADL have been prevented if C++ had had some other way to do generic output of b... | stackexchange/codereview |
I am a total beginner in WPF. I would like to bind the following DataSet containing nodes and relations to a TreeView. The dataset is:
internal static DataSet getData()
{
DataTable dt = new DataTable("data");
dt.Columns.Add("Id", typeof(int));
dt.Columns.Add("ParentId", typeof(int));
dt.Columns.Add("Nod... | stackexchange/codereview |
<div class="contacts">
<h3><a href="#">1st Link</a></h3>
<div class="contacts-details">
<div class="tel" title="telephone">
<p>9806648110</p>
<p>9806648110</p>
</div>
<div class="fax" t... | stackexchange/codereview |
Your project contains error(s), please fix them before running your application , i have this error message when running my application m with the red (x) mark on the project folder andi don't know where the error is (in which file ?? )
can you help me ??!
| stackexchange/codereview |
There is a need for selecting specified number of points on the image (actually on the part of that image). Darker parts of the image are more important.
The easiest way of doing this is by selecting them randomly. But even dropping used points usually finished with some points being located too close to others especia... | stackexchange/codereview |
The below given code of is taking infinitely long time to load in a web browser, when i click Button2,my browser keeps on loading.... and does not display the output. what can i do in my below given code to improve processing speed.
protected void Button2_Click(object sender, EventArgs e)
{
String a = DropD... | stackexchange/codereview |
Is there a more efficient way to do this, I mean other than using a global? I hate to use global variables but I just can't seem to figure out how to pass the href attribute to the function.
$(document).ready(function(){
var src
$('.thumbs li a').click(function(){
src=$(this).attr('href')
loadImage();
r... | stackexchange/codereview |
I want to be able to change an image depending on what is selected in the drop down box...
I have this JS code to change the image. Simplified of course.
<script type="text/javascript">
function changeImage()
{
var oDDL = document.all("ddlNAME");
var NAME= oDDL.options[oDDL.selec... | stackexchange/codereview |
I have the following gridview:
<asp:GridView ID="gdvReport" runat="server" AutoGenerateColumns="False" DataSourceID="sdseport">
<Columns>
<asp:BoundField DataField="Phone" HeaderText="Phone" SortExpression="Phone">
<ControlStyle Width="250px" />
</asp:BoundField>
... | stackexchange/codereview |
Coming from a VS Setup project, where it automatically adds the dependencies within each project into the resulting msi, is there a way to do that in WiX as well?
For example project A references b.dll which exists in the GAC. It seems that b.dll is not being added to the resulting msi and it then crashes when the appl... | stackexchange/codereview |
I find myself repeating this a lot:
val = x if x else y
Sometimes x goes several levels deep into a class or dictionary so it gets very long:
val = obj.elements[0].something if obj.elements[0].something else y
It looks ugly and forces me to type a lot more. Any known ways to shorten this? Perhaps a builtin like this ... | stackexchange/codereview |
I have an activity that queries from sqllite and display the output to xml
this is part of the activity
( (TextView) view.findViewById(R.id.tv_id) ).setText( listItem.getId()+"");
( (TextView) view.findViewById(R.id.tv_name) ).setText( listItem.getName() );
( (TextView) view.findViewById(R.id.tv_age) ).setText( listIte... | stackexchange/codereview |
I have a total 4 Gb ram and I had installed a Virtual box and had assigned it 1.5 Gb memory. But now my applications in windows are reporting "running out of memory". So i changed the setting in Virtual Box to use 512mb of memory. But still the Task manager in Windows shows only 2Gb of physical memory.
I have tried a c... | stackexchange/codereview |
So I have divs like this on my page:
<div class="drag"></div>
And this jquery code:
<script type="text/javascript">
//<!--
$(document).ready(function() {
$('.drag').draggable();
}); //-->
</script>
The draggable effect works well.
But I would like to find out an id of a HTML tag where the draggable div gets... | stackexchange/codereview |
I want to create a .zip file using Java(jdk, ant.jar or commons-compress).
But if the ZipEntry's name contains non-English(eg. Chinese, Japanese), it will display unreadable code in WinRAR or Windows Compress(commons-compress display correctly in WinRAR).
Who can help me!!!
| stackexchange/codereview |
I have such error: when I click navigationbar.backItemButton I'm showing UIAlertView with two buttons. When I press on any of them application terminates just with EXC_BAD_ACCESS. Method - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex don't called. How can I solve it? Thanx!
//... | stackexchange/codereview |
I'm trying to bring up the standard window for Bluetooth Settings(with Device name, Discoverability etc).
However, general approach with startActivity(intent) ends with NullPointerException pointing toBluetoothSettings.java onCreate:135.
Checking with the Android code, I've found that at line 135 they get some extras f... | stackexchange/codereview |
I'm trying to play around with Exchange in order to integrate a room booking system with it.
I've created a room mailbox and have set it so that it auto-accepts appointment requests.
When creating an appointment as a standard user I can add the room as a resource and its availability will display. If I book it then it... | stackexchange/codereview |
I narrowed down the problem:
os.environ.get('HTTP_COOKIE')
This always seems to be None when calling the Python file with that line using PHP's virtual(). Does anyone know why this is?
I'm using Python 2.7 because of how much I need the Python Imaging Library.
EDIT: Never mind, it's been fixed. It was because I'm an i... | stackexchange/codereview |
Is it possible / allowed to detect one version a user originally purchased my app? Or conversely be able to detect new purchasers?
I am switching the app from paid to free and adding ads however ideally I would be able to detect those users who've already paid for the app and not add the ads.
| stackexchange/codereview |
I have a problem with my CSS layout seen below:
#wrapper {
width: 80%;
}
#content {
float: left;
background: #FFFF00;
height: 350px;
width: 70%;
display: inline;
}
#rightcolumn {
background: #EBE3CD;
height: 350px;
width: 30%;
height: 250px;
float: left;
}
#legendcolumn {
background: #FF00FF;
height... | stackexchange/codereview |
I have the following tables:
@Entity
@Table(name = "events")
Event
--id
--name
@Entity
@Table(name = "state")
State
--id
--name
@Entity
@Table(name = "action")
Action
--id
--name
@Entity
@Table(name = "state_event_action")
StateEventAction
--id
--state_id
--event_id
--action_id... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.