text stringlengths 8 267k | meta dict |
|---|---|
Q: Facebook - Detect if user has liked your page? Is there any way to detect if a user has liked X page outside of facebook?
So say my URL is:
http://www.site.com/page.html
My facebook page is:
http://www.facebook.com/myfacebookpage
Is there any way to detect if the user visiting my web page has liked my facebook pag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is monodoc.ashx and why does googlebot request it? I am getting TONS of request. They all start with
/1.1/handlers/monodoc.ashx?link=
then follows what look like .NET classes. What are these and why is googlebot requesting them?
I need to turn it off so my access and error log isnt polluted.
A: Googlebot will... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run my app offline iphone sdk I'm creating an iphone web app, in this one I'm getting some string values from a web service, and its loaded into an array. And I have created another array with some sample values (strings). My app should run offline, I mean it should work in background, that is the values i'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Posting, Login in and redirecting for user Here is the scenario: when the user is clicking on a link on my webpage i want to perform a login to another site, and use the cookies to login the user to the second site.
I'm using PEAR Request2 and i'm able to get the login cookies but when i use:
setcookie($cookies['1']... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Something like Apache Zookeeper with no java? Is there some library or project out there that works like Zookeeper but has no java dependency? I'm looking at putting this on an embedded linux system, and need minimal footprint... something like a megabyte or less. I have Lua, C and C++ runtimes, and could put some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Store jquery result into a array (or something like that) to be used by another javascript Appreciate some insight given the following code:
<script type="text/javascript">
$(document).ready(function() {
var soapEnv =
"<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can i make not allow column to allow null and Allow Null column to not allow null Could any one help me to perform below task.
How can i make not allow column to allow null and Allow Null column to not allow null.
A: Use ALTER TABLE table_name ALTER COLUMN column_name datatype [NOT] NULL
Example:
CREATE TABLE #... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ExtJS Textarea - autosave contents on user input I'm an ExtJS newbie and need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. Is there a way to do it. I've currently registered a keyup listener to collect the input value as shown below:
items: [{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: percentage in jquery css Positioning Why the JQuery syntax below is not correct:
$('#Footer').css({ right: 6%, bottom: 0 });
And this one is:
$('#Footer').css('right', '6%');
$('#Footer').css('bottom', '0');
What is incorrect in the first code ?
Thanks in advance
A: 6% is not a number, so it must be sp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Stackoverflow when trying to run the Text example in the AndEngineExampleLauncher Hey Game Engine Folks,
This is a question for those who worked with AndEngine for Android.
I've a problem getting the Text example of the AndEngineExampleLauncher working!
It throws the following exception:
09-30 10:11:19.940: ERROR/An... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: 'git grep' and word boundaries on Mac OS X and BSD I run git grep "\<blah\>" regularly on my linux development server, but I just discovered that I am not able to use \< and \> on Mac (Mac OS X 10.6.8) (not able to use = it does not find anything). Is the regular expressions syntax different in Mac?
I tried using g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Blackberry JDE or Eclipse Plugin for developing Blackberry applications I use for now the Blackberry JDE for developing blackberry applications. And I am so familiar with it. I spent six months developing on this software.
I installed Blackberry plugin for ecplise last week to try it and see if it is better. Well Ec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: moving "logic" out of dataaccess layer would lead to lots of database connections I have a method in my dataaccess layer that processes a file import. Such a file can have many records in it that need to be inserted into the database.
This method already contains certain "logic or business rules" and more need to be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to prevent ActiveMQ CPP send method from blocking forever? I am developing a software that uses ActiveMQ C++ library. The problem that I have is, when I try to send a message and the network is down, the send method (method of cms::MessageProducer class) blocks forever and I need to recover the control in this c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: cancel button php form jquery These are the buttons on my form:
<input type="submit" id="form-submit" class="btn" name="save" value="verzenden" />
<input type="submit" name="cancel" class="btn" value="annuleren" />
I catch the cancel click with php like this:
if($_POST['cancel'])
{
Helper::redirect('page.php');... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: arraylist with custom objects I have a very basic question. I am trying to read values of three EditText fields and save them as one item in an arraylist using an arrayadapter. My question is how can I group the three variables I read from the EditTexts and add them as a single item in the arraylist?
A: You can cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Generate additional artifact while creating reports or in another phase? I understand that you can create only one artifact from one pom in maven.
I wrote a javadoc doclet that creates an html report of my artifact (my-rest-api). This doclet can also create stub requests and models for writing integration tests. My ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C/C++ Preprocessing Error I stumble on a compiling error:
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/3dsloader.d"-MT"src/3dsloader.d" -o "src/3dsloader.o" "../src/3dsloader.c"
In file included from ../src/3dsloader.c:42:
../src/3dsloader.h:8:9: error: macro names must be identi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Text scrolls outside of the UITextView box boundary I have a UITextView that has some text in it. The problem is that the text scrolls outside of the boundaries of the UITextView box. (The UITextView is uneditable.)
here's the code and what I have tried to resolve this issue:
- (void)viewDidLoad {
textBG.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: lightbox disappears of view from window resize in Android the lightbox is shown in the right position (top/left centered), but when users zoom; the lightobx stays in the same position (without considering the window/view has been resized/cropped),
You can test this here clicking in the blue button of the header
I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: perl Win32::OLE ExportAsFixedFormat syntax for powerpoint I have trouble using perl (strawberry) and win32::ole using powerpoint (from office2010)
to convert ppt(x) to pdf.
I can export to jpgs fine with Export function but the function ExportAsFixedFormat has a quite obscure syntax and alwawys gives me
Win32::OLE(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Weblogic ALSBConfigurationMBean initialization I'm trying to make an OSB (ESB) automated build process using Java. For that purpose I need to do the following things:
*
*Connect to weblogic - this is working //The weblogic version is 10.3.0.0
*Make a DomainRuntimeServiceMBean object using the connection - this i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Backbone.js Collection.create and overridden Model.set I have a backbone model where I have changed the set method to calculate extra attributes on every set of the model.
According to the docs this should be the way to call super in order to make sure the model is actually saved.
Backbone.Model.prototype.set.call(t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery Mobile: explicitly override the rounding of all corners jQuery Mobile automatically rounds all corners of input elements, by adding a class ui-corner-all. I noticed that if I change this class manually to ui-corner-left in Chrome inspector, then I correctly get only rounded corners on the left (top and bottom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unit Test Outcome in Silverlight Unit Test for WP7 I m executing some unit tests for my application. I would like to know what is the outcome of my testmethod. Testoutcome always gives "error" as output. I have given the code snippet
below. Please let me know how to get the result of [TestMethod] - CheckUploadPag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "for each" loop in reverse Is it possible to have "for each" loop in reverse?
Or the only way to do it is like
for(var i:int = maxnumber; i>0; i--)
{
//something
}
A: No, you'll need to use an ordinary for loop.
A: You can reverse array:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Array.h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Zend Ldap allow only if user has a certain Group What I want to achieve:
*
*there are two different group
*administration
*readonly
I want to be able to authenticate a user and assign a role depending on which group he belongs to.
What I've tried:
Given the official docs I've set up two "servers" with differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there attribute for proxing instead of serialzing for remote objects properties in .NET Remoting? I have a class for remoting (name it RemoteClass). It has property Other of class OtherClass. By default, client has a proxy of RemoteClass object and a serialized copy of OtherClass after calling property Other. I w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Query to show rows that only have one value in table I have problem in writing SQL in SQL Server. Here is the case, I have three tables named User, Client, and UserClient. Below are the sample of the table content
CLIENT
idClient | client
____________________________
1 | Client A
2 | Cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to pass data to a PartialView in my layout? I have a _layout.cshtml containing this row:
@{Html.RenderPartial("Menu");}
Now I want to pass in a model into this RenderPartial-function. This model can be read from my repository.
How and where(in code) can this be done?
Thanks!
A: RenderPartial has an overload ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use the mobileweb facebook connect API with phonegap? I'm trying to integrate Facebook into my Phonegap application that is going to be deployed for both Android and Blackberry devices. As there is only a plugin available for Android I need to go down the standard Facebook connect mobileweb route. Howeve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: CakePhp: Don't display ONE warning I've one place in my code where I free some ingres resources, and I've no way to know if the parameter is valid ingres resource.
So I would like to do it anyway(except if empty() ).
I'm try-catching it, but when this isnt a valid resource, I got the exception catched by cakePhp an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I read configuration settings from Symfony2 config.yml in twig template? In controller i can read like this
$this->container->getParameter('test');
But how get this var "test" in my twig template?
A: Yes, you can create your own Twig extension, in this class you can override getGlobals() and return an array ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: DB2: GRANT statement & access rights What rights should I give to DB user to execute REFRESH TABLE SOME_MQT; statement? Is it enough GRANT ALL ON SOME_MQT TO USER %USER_NAME ?
DB2 version: 9.5.3
A: The documentation for the REFRESH TABLE Statement seems pretty clear on that.
The privileges held by the authorizatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (MySQLNonTransientConnectionException) Hibernate3.6 + MySQL5 + c3p0 I am using JPA + hibernate 3.6.6 + MySQL5 (mysql-connector-java-5.1.6-bin.jar) with c3p0-0.9.1.jar pool implementation. My persistence.xml
<properties>
<property name="hibernate.connection.username" value="xxx"/>
<property name="hibernate.connec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a Wakelock be released automatically? I inicialize a wakelock in the onStartCommand of a service:
wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
wl.acquire();
I want the wakelock active because I need to recognize a shake event at any time, even with the screen locked.
When the service is up for a lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Git clone fails with out of memory error - "fatal: out of memory, malloc failed (tried to allocate 905574791 bytes) / fatal: index-pack failed" I'm attempting to clone a large (1.4GB) Git repository to a 32-bit Debian VM with 384MB of RAM. I'm using Git 1.7.2.5, and using the SSH protocol to clone ('git clone user@h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Azure tutorial - How to use local blob storage I am new to Windows Azure world. I do not have live Azure account. Can I still do the development work using local blob storage, SQL Azure, Fabric etc?
Can anybody share any link for Azure videos for begineer? I am looking for step by step guide.
Atul Sureka
A: To answ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Are there any performance test results for usage of likely/unlikely hints? gcc features likely/unlikely hints that help the compiler to generate machine code with better branch prediction.
Is there any data on how proper usage or failure to use those hints affects performance of real code on some real systems?
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: your thoughts on implementing a 3D globe with javascript can you guys look at this screenshot - http://d.pr/IlEl
that's the intended design. Our user can rotate the globe left/right and on the globe they'd see which people are traveling to which place.
Someone suggested to use this library:
http://mrdoob.github.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Call to a member function prepare() on a non-object error Hi i need some help with this error I keep getting. It works fine everywhere else in the script except when I try to call it within this one function.
The function I am calling is: getTotalServers
Error:
Fatal error: Call to a member function prepare() on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing column width in a combobox associated with a dataset in .net I have a ComboBox with its datasource being a dataset from a SQL Server database.
The width of its columns are relative to the width of the name of the columns. I would like to increase that width in order to see the content properly and not cuted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connect the Accessory to my JailBreak iPhone Device I am using serial programming for get connected serial cable to my iPhone
my code is as under
#include <stdio.h> /* Standard input/output definitions */
#include <string.h> /* String function definitions */
#include <unistd.h> /* UNIX standard function definiti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Nullpointer exception in Splashscreen when it access drawable I builded a splashscreen which is showen for 5 sec afterwards it goes to my main activity. In this splashscreen I have a boolen which checks if the app is opened up the first time, if yes, it puts some stuff into my database. But exactly at this point I g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: T-SQL Syntax error: Column 'dbo.Policy.CompanyId' is invalid in the select list Could someone help me figure out what's wrong with the following T-SQL syntax?
SELECT
p.CompanyId, COUNT(*) as PolicyCount, c.CompanyId, c.CompanyName
FROM
dbo.Policy p
INNER JOIN dbo.Company c ON p.CompanyId = c.CompanyId
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Xstream Implicit Map As Attributes to Root Element I am trying to find a solution to convert a map into root element attributes using XStream.
I do not think this is possible but here is what I have tried to far.
I created a custom converter and attached it to the root object, in the converter I then get access to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to change the font properties(size, color,style) of the pdf document in UIWebView CGPDFDocumentRef i am doing one eBook reader app for iphone in objective c ,i have tried 2 methods of loading pdf document using UIWebView and CGPDFDocumentRef but i am not getting how to change the font properties(size, color,styl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my if-else statement not executing correctly? I got a question why my if-else statement is not working.
I got a form with a text input, and when a user types in the size they want it should live edit the picture. I'm using the addclass and removeclass methods from jQuery. This is my script:
function slide() {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ForeignKey and form submission I have a model that is many-to-one with users. But when I submit a form based on that model, I am not correctly providing the user.
class Thing(models.Model):
"""Things."""
user = models.ForeignKey(User)
salt = models.IntegerField()
# [...]
class GenerateThingForm(Mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Appending %20 to space in BlackBerry without URLEncodedPostData
Possible Duplicate:
Country name with space not accepted in BlackBerry ObjectChoiceField
I have been researching a lot on how to append % 20 to a space. I used code from a couple of StackOverflow questions but none seem to work.
There is no way I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: good commercial memory debugging tools for C on Linux I have tried using electric fence to debug large C application on linux. It runs as a daemon and probably because of it (or some other issue that I cannot troubleshoot) electric fence is not working. Is there a good commerical tool that will help me debug memory ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I allow users to enter commas in a value that will be stored in an sql server 2005 numeric field? I have a table field whose Datatype is numeric(10, 1). This field stores the AmountPaid and the user prefers to enter the Amount Value with commas in between like 78,234,673 because that's what they're used to, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I safely hook into the message pump from a DLL? I'm trying to get messages from the process that loaded my DLL.
I've tried:
SetWindowsHookEx(WH_CALLWNDPROC, (HOOKPROC)WndProc, hInstance, 0);
Which gives me error popups about how "Program X could not be started because Y.dll is missing from your system". Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Hidden field in spring MVC I wanted to use Spring MVC hidden tag in below code. Is this possible in below code, what I have to write in my controller to do that or what I am doing is correct.
<c:forEach var="record" items="${records}">
<tr>
<td>
<form:form id="myForm" action="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: PHP/MySQL Multidemensional/Associative Arrays I have this code that fetches data from mySQL and outputs it as an array(multidimensional) like so:
$res = @mysqli_query($dbc, "SELECT id, subject, exam, marks, remarks FROM log WHERE student = '2222' AND term = 'Term2'");
$studentMarks = array();
while ($row = mysqli_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mark select fields with same value In my form I have multiple select fields.
See here http://jsfiddle.net/ZNShh/
Now I want to mark all select fields that have the same value with the color red. Can somebody help me?
Thank you very much!
A: Try - http://jsfiddle.net/ZNShh/13/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7608029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Boost Subgraph and Bundled properties I'm using bundled properties and adjacency_list and would like to use the subgraph class.
struct Vertex
{
int index;
int seed;
};
struct Edge
{
bool visted;
double weight;
};
typedef adjacency_list<listS, listS, undirectedS, Vertex, property<edge_index_t,int,Edge> > ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: find_by_slug(params[:id]) always return null I'm just using Ruby on Rails 3.1, and I want use mongoid and mongoid_slug gem to make my url readable. There is my problem:
In my photo mode iput this code: "include Mongoid::Document", "include Mongoid::Slug" and
"slug :title" ( title is one of photo's attributes)
And i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RSpec 2.6, "Expected response to be a redirect to but was a redirect to ." I wonder why all my redirection tests suddenly fail. All failures are of the sort mentioned in the subject. Normally this is an issue of mixing foo_urland foo_path in controllers and/or tests, but this isn't the case here.
The controller act... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eclipse: Error initializing endpoint java.net.BindException: Permission denied:443 I'm on Mac OS X Lion and am currently using eclipse to deploy a project with the help of JBoss.
I get the following error:
Error initializing endpoint java.net.BindException: Permission
denied:443
I understand this is a permission... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to submit asp.net form data using jquery ajax feature dear all i want to know how to submit asp.net form data using jquery ajax functionality and how im get that json data in the server side
?
A: <script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$("#<%=btnSubmit.ClientID %... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we directly run place the jar file under the local maven repository without specyfing the dependency under pom.xml file I have imported an existing Maven Project into Eclipse , this has got a lot of dependency with other jars
Please tell me can i directly run mvn install path to My jar file command , without s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Resizable: Border jumps on resize when position absolute (jsFiddle) I've got a little niggle with a project I'm working on at the moment - when I make an anchor .resizable() which is also positioned : absolute and resize from left or top handles, the elements shifts a couple of pixels.
I thought the borders w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Matplotlib, is there a way to know the list of available output format According to Matplotlib documentation, matplotlib.figure.save_figtakes an optional argument format (see matplotlib.figure documentation).
This parameters takes 'one of the file extensions supported by the active backend' (as said by the offici... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Analyzing algorithms for time complexity I am analyzing an algorithm and I just want to know if I am on the right track.
For this algorithm, I am only counting the multiplications on the line which have *** in them.
Here's the algorithm:
*
*So I am starting from the inner most line, I can see there are 2 operat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Remove the last Comma from a string (PHP / Wordpress) I am generating a list of the terms on a custom post type in Wordpress, in this code i add a comma to the end of each item to separate it in a list format, how would i either eliminate the last the comma from propagating on addition or remove the last comma on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Request failed: Context parameter '$HIDDEN1.__EVENTVALIDATION' not found in test context I'am looking for a solution to this problem :
While running my automatic web test I received a request failed and here you are the response I found :
Request failed: Context parameter '$HIDDEN1.__EVENTVALIDATION' not found in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I seed a SecureRandom? Found the following code in our code base:
public static final int DEFAULT_LENGTH = 16;
private static SecureRandom SR;
static
{
try
{
SecureRandom sd0 = new SecureRandom();
SR = new SecureRandom(sd0.generateSeed(DEFAULT_LENGTH * 2));
}
catch (Exception e){}
}
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Need To Configure TFS Build With Custom Build Script I use the below script to queue build in TFS 2010 build server. This TFSBuil.proj runs successfully if I use locally with command: MSBUILD.exe TFSBuild.proj
and get my staging folder. I am trying hard to get this to build in build server. Lastly the build ran t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Displaying button inside componentsJoinedByString i have a question that i want to put a button instead of @"/n" ie,@"uibutton"
BibleIphoneAppDelegate *appDelegate = (BibleIphoneAppDelegate *)[[UIApplication sharedApplication] delegate];
NSArray *allVerses = [appDelegate.biblearray valueForKey:@"verseNumber"];... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make pyplot faster than gnuplot I recently decided to give matplotlib.pyplot a try, while having used gnuplot for scientific data plotting for years. I started out with simply reading a data file and plot two columns, like gnuplot would do with plot 'datafile' u 1:2.
The requirements for my comfort are:
*
*Skip ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How could I log user-specific information (IP address etc) into a table?
Possible Duplicate:
How can I get the client's IP address in a PHP webservice?
I've a small site that lets anonymous users to upload images. However, this obviously has the potential to be abused. How could I track/log relevant information (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JTable Focus Movement Query? I am trying to highlight the focus movement in the JTable through this code:
if(e.getKeyCode() == (KeyEvent.VK_TAB)){
int prevRow;
int row = table.getSelectedRow();
int col = table.getSelectedColumn();
if(col == 0) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to hide an element in jsp file using javascript <li><label>Email:</label> <input type='text' name='username'
id="forgot_username" /></li>
<li><label> </label> <input type="submit"
id="forgot_btn" value="Send Reminder" class="btn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS resize and move image mask with fingers I am trying to resize and move mask on image with fingers. For moving the mask I need touch to move gesture and for resize I need to implement pinch-to-zoom gesture.
Generally I want to manipulate image mask with my fingers, not programatically.
How can I achieve this?
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print a dynamic div html element using jquery i was trying to print dynamic div html element using printElement() function but when i got problem...my code as follows
$("#btnPrint").click(function () {
if (ImgPath != '') {
sHtml = "<div id='dvPrint'><table>";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: coredata sort by number of relationship In Core Data when entities have one to many or many to many relationship, how do we sort based on number of relationship?
For example
I want to know mothers with the most children
How would I do so in objective-c
A: This sort:
NSSortDescriptor *sort = [NSSortDescriptor
so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WCF web service not performing serialization properly i have the WCF web service within my solution. service has interface which implemeted in service class. i added few new methods in interface as well as implemented in service class. i can access if i use the sevice dll reference to my asp.net mvc 3 application. b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL creating structural relationship between tables I have 2 tables, one is containing items and their properties, which are integers:
items table:
item_id, property_a, property_b, property_c
and another, single-row table, which contains allowed deviations of these properties,
also integers:
allowed deviations ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No database selected error only comes up when in a separate included php config file but works when in needed file Basically ive been trying to create a config file so it is much easier to edit the MYSQL connection info to the online database when ive completed my current website. The connection code i have works pe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting the depth buffer content quickly in OpenGL ES 2.0 I am using OpenTK, opengl ES 2.0, and want to clear the depth buffer to one loaded externally for each redraw.
What I want to achieve is to clear the screen to a prerendered image and its depth buffer for situations where the camera and the background object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JQuery How To Flip A "Card" in 3D Space Like YP.com If you go to YP.com or Yellowpages, you'll see that they apply a 3D flip to the boxes towards the bottom when you mouse-over in a newer browser.
How is this accomplished in JQuery (by animating CSS3 props?)?
Thanks!
A: This is actually a lot closer to what he was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to use one replace function to replace multiple strings in one field? In my report I need to use the built-in replace function to replace for example "a" with "b" and "c" with "d".
When I just use 2 functions like this:
Replace(Fields!field1.Value, "a", "b") & Replace(Fields!field1.Value, "c", "d")
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to shield "." char?
Possible Duplicate:
How do I get jQuery to select elements with a . (period) in their ID?
I tried to run the following code:
$('#info-mail.ru .domain-info').toggle();
example here
And #info-mail.ru as I understood interpreted as id="info-mail" and class="ru", but I have the following stru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to reload page when an ajax request returns FormsAuthentication.RedirectToLoginPage? I am a little in a trouble to find out how to redirect an ajax request to the login page when using forms authentication in asp.net mvc.
In OnAuthorize method I know that the request needs authorization. And if the cookie was de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pointer to struct & function pointers -> Seg Fault I always get a segmentation fault during execution of this test program. I can't figure out why. Maybe someone could explain it to me please, i'm sure i mixed up the pointer stuff.
#include <stdio.h>
struct xy {
int (*read)();
void (*write)(i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the value of another component in a custom validator? I use a custom validator. The difficulty is that I just need to check two fields inputText and compare them. The first field must be greater than the second field. If not, then I have to show a message with the error information. So I need to pass in m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: sed to match multiple lines, but only after a certain line has been seen I'm trying to do some very simple rss parsing with sed. Like plucking out enclosure urls for listening to the latest news.
Example:
sed -n -e 's/.*"\([^"]*\.mp3\)".*/\1/p' -e 's/.*<title>\([^<]*\)<.title>.*/\1/p'
Though, what I would like to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multiple Facebook Connect I'm building a website photo contest and it has two registration forms on the same page, one for the models and another for users who will vote.
do I have problems if I integrate facebook connect to each form?
I really need two forms because the registry for models allows to upload photos, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get available appartments Appartments table:
I want al the available appartments that are not booked.
This is my current mysql query:
(array) $db->getRecords('
SELECT i.id, i.num_persons, i.rating, i.lat, i.lng, i.street, i.number,
c.title, c.introduction, c.text, c.area, c.long_term_rental, c.beds, c.features... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: NullPointerException in ListView Hy!!
I have a listview that should be filled with data from the database
Code:
private void onCreateDBAndDBTabled() {
myDB = this.openOrCreateDatabase(MY_DB_NAME, MODE_PRIVATE, null);
myDB.execSQL("CREATE TABLE IF NOT EXISTS " + MY_DB_TABLE
+ " (_id in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: is interactive GUI-creation possible with MacRuby's macirb? I'd like to live prototype GUIs with Macruby. Like creating a window, placing some views in it, etc.. Is that possible?
A: Yes it is.
Have a look at the HotCocoa documentation: http://www.macruby.org/hotcocoa.html
A: Yes! I just figured this out myself, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery .find("body").html() == null I have an html page called test.html, here is it's content:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<title></title> </head> <body style="margin:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to fork opensource project without violating licence? I want to fork Maven NSIS plugin http://mojo.codehaus.org/nsis-maven-plugin/index.html at BitBucket. Codehous project seems to be dead. How should I behave to craete legal fork of it?
A: Unfortunately(1) doesn't claim what licence it has, but after checking ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make maven appassembler use javaw instead of java in generated scripts Is it possible to make maven appassembler plugin to generate startup scripts that use 'javaw' instead of 'java'?
A: In Appassembler 1.3 you can do it by configuring the showConsoleWindow option in the POM:
<showConsoleWindow>flase</showC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JEditorPane, HTMLEditorKit - custom action inserting custom tag I'm faithing with JEditorPane. I need simple editor. I've solved the problem with loading and modified HTML containing custom (two) tags (see my older post). It displays the document properly and I can even edit it now. I can write text, delete either c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Expire cookie set through FormAuthentication I have used MemberShipUser API on Login we are validating user and creating FormAuthentication
FormAuthentication.SetAuth(username, false);
now if user doesnot logout and close the browser directly FormAuthentication.SignOut method is not called.
due to which when we re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android: how to get the name of apk file programmatically? For some reasons, my app can be installed with different apk names. At launch, I would like to know what is the name of the apk file. Do you know how to do that ?
Thanks !
A: final PackageManager pm = getPackageManager();
String apkName = "example.apk";
Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: EventMachine::HttpRequest and Keep-alive connection I'm using the following code to run a couple of HTTP requests, but the second request (req2) always returns to errback.
Am I missing something obvious here?
request_options = {
:body => " ",
:keepalive => true,
:head => {
'content-type' => 'application/js... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Encryption/decryption of sound file Blackberry application I need a help regarding sound file encryption/decryption. I would like to encrypt a sound file while I store this and decrypt same while play this file. I read about encryption/decryption in java and lots of sample code available for this in java. but these ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7608182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.