PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,734,877 | 07/31/2012 07:07:05 | 1,182,982 | 02/01/2012 15:06:20 | 526 | 41 | Remove HTML formatting in Razor MVC 3 | I am using MVC 3 and Razor View engine.
**What I am trying to do**
I am making a blog using MVC 3, I want to remove all HTML formatting tags like `<p> <b> <i>` etc..
For which I am using the following code. (it does work)
@{
post.PostContent = post.PostContent.Replace("<p>", " ");
post.PostCon... | asp.net-mvc-3 | razor | null | null | null | null | open | Remove HTML formatting in Razor MVC 3
===
I am using MVC 3 and Razor View engine.
**What I am trying to do**
I am making a blog using MVC 3, I want to remove all HTML formatting tags like `<p> <b> <i>` etc..
For which I am using the following code. (it does work)
@{
post.PostContent = post.PostCont... | 0 |
11,734,878 | 07/31/2012 07:07:06 | 1,564,414 | 07/31/2012 00:30:54 | 1 | 0 | python "memory puzzle game" | <pre>
<code>
import random, pygame, sys
from pygame.locals import *
</code>
</pre>
I've a problem with this "memory puzzle" game.....
the script is from eBook I've got, I just about try learn the very basic..
I've try to type all of them after I double checked it and never found the typos..
... | python | null | null | null | null | null | open | python "memory puzzle game"
===
<pre>
<code>
import random, pygame, sys
from pygame.locals import *
</code>
</pre>
I've a problem with this "memory puzzle" game.....
the script is from eBook I've got, I just about try learn the very basic..
I've try to type all of them after I double checke... | 0 |
11,734,870 | 07/31/2012 07:06:28 | 1,244,529 | 03/02/2012 07:22:11 | 21 | 0 | How to use remote aidl service in android? | **I want to know ,how write service outside app.**
Means, If application is stop then service must be running in background. | android | aidl | null | null | null | null | open | How to use remote aidl service in android?
===
**I want to know ,how write service outside app.**
Means, If application is stop then service must be running in background. | 0 |
11,734,871 | 07/31/2012 07:06:43 | 1,556,649 | 07/27/2012 04:44:21 | 121 | 20 | Dojo Issue: FilteringSelect , required: "false" , not working | Dojo : FilteringSelect , required: "false" , not working
**My code structure is,**
var user_search = new FilteringSelect({
id: "user_search",
name: "user_search",
searchAttr: "displayName",
type: "text",
required: "false",
... | javascript | html | autocomplete | dojo | null | null | open | Dojo Issue: FilteringSelect , required: "false" , not working
===
Dojo : FilteringSelect , required: "false" , not working
**My code structure is,**
var user_search = new FilteringSelect({
id: "user_search",
name: "user_search",
searchAttr: "displayName",
... | 0 |
11,731,409 | 07/31/2012 00:06:32 | 1,175,338 | 01/28/2012 15:06:02 | 1 | 0 | Validation and last value of textbox on MVVM | I have such textbox declaration:
<TextBox x:Name="InputTextBox">
<Binding Path="Input" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<validators:ValidationRule
ErrorMessage="In... | c# | wpf | mvvm | null | null | null | open | Validation and last value of textbox on MVVM
===
I have such textbox declaration:
<TextBox x:Name="InputTextBox">
<Binding Path="Input" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<validators:Validation... | 0 |
11,734,880 | 07/31/2012 07:07:47 | 1,393,064 | 05/14/2012 05:52:34 | 27 | 2 | cakephp two submit buttons and redirect | trying to create a form that has two submit buttons in cakephp.
task_1 submit button when clicked creates this in the address bar '/fields/add' and sends the information added to the database.
task_2 submit button when clicked creates this in the address bar '/fields/add/add' and sends the entered information to... | forms | cakephp | submit | null | null | null | open | cakephp two submit buttons and redirect
===
trying to create a form that has two submit buttons in cakephp.
task_1 submit button when clicked creates this in the address bar '/fields/add' and sends the information added to the database.
task_2 submit button when clicked creates this in the address bar '/fields/... | 0 |
11,730,571 | 07/30/2012 22:23:24 | 1,564,244 | 07/30/2012 22:15:57 | 1 | 0 | How to i pull the info from a string and fut the info into a varable in C? | lets say i had a string that contains:<br>
{"ticker":{"high":8.976,"low":8.843,"avg":8.9095,"vol":2096.78,"last":8.845,"buy":8.946,"sell":8.843,"server_time":1343686701}}<br>
how would i take the numbers and put them into a separate variable? for example :<br>
int high = 8.976<br>
int low = 8.843<br>
ect. ect... | c | string | null | null | null | null | open | How to i pull the info from a string and fut the info into a varable in C?
===
lets say i had a string that contains:<br>
{"ticker":{"high":8.976,"low":8.843,"avg":8.9095,"vol":2096.78,"last":8.845,"buy":8.946,"sell":8.843,"server_time":1343686701}}<br>
how would i take the numbers and put them into a separate var... | 0 |
11,730,572 | 07/30/2012 22:23:25 | 404,385 | 07/28/2010 10:24:48 | 155 | 15 | Injecting a bean to use in Controllers throughout the application | I'm using spring mvc 3.1.x and jets3t.
I have a dao that i instantiate as a Singleton bean..
I managed to get it working through extending the applicationcontextloader class and adding it to the web.xml
| spring | dependency-injection | controller | practice | null | null | open | Injecting a bean to use in Controllers throughout the application
===
I'm using spring mvc 3.1.x and jets3t.
I have a dao that i instantiate as a Singleton bean..
I managed to get it working through extending the applicationcontextloader class and adding it to the web.xml
| 0 |
11,373,666 | 07/07/2012 08:59:50 | 1,031,666 | 11/05/2011 23:27:20 | 1 | 0 | how to retrieve user info in facebook developer? | how to retrieve user info in facebook developer?
To help me learn the developers side of Facebook I have made a very basic canvas app.
To be able to use the app the user has to permit the app access to their friends birthdays.
Ok, so everything is working fine.
How do I now retrieve the information the user has g... | facebook | user-permissions | null | null | null | 07/28/2012 23:52:30 | not a real question | how to retrieve user info in facebook developer?
===
how to retrieve user info in facebook developer?
To help me learn the developers side of Facebook I have made a very basic canvas app.
To be able to use the app the user has to permit the app access to their friends birthdays.
Ok, so everything is working fine.
... | 1 |
11,373,674 | 07/07/2012 09:01:44 | 1,405,021 | 05/19/2012 11:45:59 | 1 | 0 | jquery append doesn't work with CakePHP's JsHelper | I want to dinamically append some form elements using cakephp's form helper.
What am i missing?
<script type="text/javascript">
$("a#megyeAdd").click(function(){
$("div#moreCounty").append(
<?php echo $this->Form->input('ColleaguesCounty.1.county_id',array('label' => 'Megye')); ?>
... | jquery | cakephp | formhelper | null | null | null | open | jquery append doesn't work with CakePHP's JsHelper
===
I want to dinamically append some form elements using cakephp's form helper.
What am i missing?
<script type="text/javascript">
$("a#megyeAdd").click(function(){
$("div#moreCounty").append(
<?php echo $this->Form->input('Colleagu... | 0 |
11,373,321 | 07/07/2012 07:54:30 | 1,508,419 | 07/07/2012 07:47:02 | 1 | 0 | get a thread from another class | I have a java class:
public class httpd implements Runnable
{
public void createHttpdStatistics
{
httpdStatistics stats = new httpdStastics(this);
}
}
Now I would get in another class the object `stats` created inside httpd. When httpd object starts, it ex... | java | multithreading | null | null | null | null | open | get a thread from another class
===
I have a java class:
public class httpd implements Runnable
{
public void createHttpdStatistics
{
httpdStatistics stats = new httpdStastics(this);
}
}
Now I would get in another class the object `stats` created inside h... | 0 |
11,373,678 | 07/07/2012 09:02:45 | 1,278,192 | 03/19/2012 09:00:52 | 131 | 0 | down arrow in HTML | here is the code for right arrow in HTML (`»`) and it will looks like ».Like this any other html code for down arrow and up arrow? | asp.net | html | css | null | null | null | open | down arrow in HTML
===
here is the code for right arrow in HTML (`»`) and it will looks like ».Like this any other html code for down arrow and up arrow? | 0 |
11,373,679 | 07/07/2012 09:03:08 | 938,541 | 09/10/2011 19:53:37 | 38 | 3 | Session array with productids | I'm adding product ids to a session array with:
if (isset($_GET["add"]) && (int)$_GET["add"]>0)
{
$_SESSION['products'][] = $_GET["add"];
}
How would I loop the array and add a class to all the products with the ids that are in the array?
p.s. Why won't this work to remove a productid:
... | php | arrays | session | session-variables | null | null | open | Session array with productids
===
I'm adding product ids to a session array with:
if (isset($_GET["add"]) && (int)$_GET["add"]>0)
{
$_SESSION['products'][] = $_GET["add"];
}
How would I loop the array and add a class to all the products with the ids that are in the array?
p.s. Why won't thi... | 0 |
11,373,681 | 07/07/2012 09:03:28 | 742,775 | 05/07/2011 06:04:02 | 453 | 38 | Include Foreign Key Properties in DataObjects.Net | I'm recently concerned in the problems we have with Entity Framework and we may need to find a replacement. According to ORMBattle, the best candidate is DataObjects.Net, the result of my initial investigations are very promising, except one feature that we need in our structure:
Consider two classes: Order and Cust... | entity-framework | foreign-keys | dataobjects.net | null | null | null | open | Include Foreign Key Properties in DataObjects.Net
===
I'm recently concerned in the problems we have with Entity Framework and we may need to find a replacement. According to ORMBattle, the best candidate is DataObjects.Net, the result of my initial investigations are very promising, except one feature that we need in... | 0 |
11,373,686 | 07/07/2012 09:04:16 | 1,448,859 | 06/11/2012 11:43:13 | 11 | 0 | NSTableView display selected row into NSTextField | I'm a still newbie in cocoa and I've already created NSTableView with buttons to add and remove selected rows. I added NSTextField label to display the values from selected row of the two columns.
Can anyone point me into right direction how to achieve this? I guess that it should work like this:
1. get selected... | objective-c | cocoa | nstableview | null | null | null | open | NSTableView display selected row into NSTextField
===
I'm a still newbie in cocoa and I've already created NSTableView with buttons to add and remove selected rows. I added NSTextField label to display the values from selected row of the two columns.
Can anyone point me into right direction how to achieve this? I ... | 0 |
11,373,688 | 07/07/2012 09:04:40 | 1,508,477 | 07/07/2012 08:55:48 | 1 | 0 | GWT Event Service Multiple / shared sessions | I build a simple chat with GWT Event Service.
When i open the chat in two tabs of a browser, only one tab catches the event.
I think i can solve this problem by adding this line to the properties:
eventservice.connection.id.generator = de.novanic.eventservice.service.connection.id.SessionExtendedConnectionIdGen... | events | gwt | service | multiple | shared | null | open | GWT Event Service Multiple / shared sessions
===
I build a simple chat with GWT Event Service.
When i open the chat in two tabs of a browser, only one tab catches the event.
I think i can solve this problem by adding this line to the properties:
eventservice.connection.id.generator = de.novanic.eventservice.se... | 0 |
11,373,689 | 07/07/2012 09:05:02 | 1,505,962 | 07/06/2012 06:46:37 | 1 | 0 | Android JSon Array is not working with Maplocations class | I am developing a map application in android i have made maplocation class to pass latitude and longitude and using Json Array to fetch data from MYSQl to display in map.But When I run application it crashed unfortunantely here is my log cat
07-07 14:02:26.423: E/AndroidRuntime(366): FATAL EXCEPTION: main
0... | android | json | google-maps | null | null | null | open | Android JSon Array is not working with Maplocations class
===
I am developing a map application in android i have made maplocation class to pass latitude and longitude and using Json Array to fetch data from MYSQl to display in map.But When I run application it crashed unfortunantely here is my log cat
07-07 14... | 0 |
11,542,777 | 07/18/2012 13:40:28 | 1,531,782 | 07/17/2012 12:32:17 | 1 | 0 | How to automate .doc\.docx file using Pywinauto in python | I have a document "hello doc.doc" wanted to automate save/edit operation using pywinauto | python-2.7 | null | null | null | null | null | open | How to automate .doc\.docx file using Pywinauto in python
===
I have a document "hello doc.doc" wanted to automate save/edit operation using pywinauto | 0 |
11,542,597 | 07/18/2012 13:30:43 | 779,111 | 06/01/2011 09:35:01 | 1,158 | 4 | Why would I need threads for implementing a 'named pipe based on shared memory'? | While trying to implement the `Named pipe` (e.g. two **independent** unrelated processes that are using the same shared memory) I keep reading that I'd to use `pthread_atfork` and `atexit` .
I'm fully agreeing with the use of mutexes and semaphores - using them we can decide when `process A` would read/write and wh... | c | homework | operating-system | pipe | shared-memory | null | open | Why would I need threads for implementing a 'named pipe based on shared memory'?
===
While trying to implement the `Named pipe` (e.g. two **independent** unrelated processes that are using the same shared memory) I keep reading that I'd to use `pthread_atfork` and `atexit` .
I'm fully agreeing with the use of mute... | 0 |
11,542,789 | 07/18/2012 13:41:08 | 1,382,104 | 05/08/2012 12:52:20 | 121 | 0 | confusion regarding XMPP xep-0065 and xep-0096 | I am currently working on xmppframework, Requirements are to transfer the file between two iPhones. I searched for XEPs and found 0065 and 0096
XEP-0065 says:
> XMPP is designed for sending relatively small chunks of XML between
> network entities and is not designed for sending binary data. However,
> sometim... | xmpp | xmppframework | null | null | null | null | open | confusion regarding XMPP xep-0065 and xep-0096
===
I am currently working on xmppframework, Requirements are to transfer the file between two iPhones. I searched for XEPs and found 0065 and 0096
XEP-0065 says:
> XMPP is designed for sending relatively small chunks of XML between
> network entities and is not d... | 0 |
11,542,794 | 07/18/2012 13:41:25 | 1,062,331 | 11/23/2011 16:31:31 | 1 | 1 | tee and pipelines inside a bash script | i need to redirect stout and stderr in bash each to separate file.
well i completed this command:
<pre>
((/usr/bin/java -jar /opt/SEOC2/seoc2.jar 2>&1 1>&3 | tee --append /opt/SEOC2/log/err.log) 3>&1 1>&2 | tee --append /opt/SEOC2/log/app.log) >> /opt/SEOC2/log/combined.log 2>&1 &
</pre>
which works fi... | bash | script | stdout | stderr | tee | null | open | tee and pipelines inside a bash script
===
i need to redirect stout and stderr in bash each to separate file.
well i completed this command:
<pre>
((/usr/bin/java -jar /opt/SEOC2/seoc2.jar 2>&1 1>&3 | tee --append /opt/SEOC2/log/err.log) 3>&1 1>&2 | tee --append /opt/SEOC2/log/app.log) >> /opt/SEOC2/log/comb... | 0 |
11,542,780 | 07/18/2012 13:40:33 | 633,224 | 02/24/2011 22:22:15 | 422 | 2 | Read an xml file from different computer on the network? | To begin with ,i developed a web application which reads an XML file from specific location and displays the contents on editable web page of the application,which is executed perfectly when the xml file is on the same machine/computer.When i try to read the same file on different computer on the network i cannot read ... | c# | asp.net | xml | windows-xp | null | null | open | Read an xml file from different computer on the network?
===
To begin with ,i developed a web application which reads an XML file from specific location and displays the contents on editable web page of the application,which is executed perfectly when the xml file is on the same machine/computer.When i try to read the... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.