text stringlengths 8 267k | meta dict |
|---|---|
Q: TFS Web create my own theme How can i create new design for tfs?
I am looking for any guide or tutorial.
I am looking to change layout colors etc..
so i am able to go to profile ,options, theme and select MyNewShinyTheme.
Thank you for your comments
A: This is a one-stop-shop for answering your complete question (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue calling a funciton using setTimeout Our application has an issue with tracking google analytics requests. Internal links are not tracked in firefox unless the method that is used to send the request to google is called via a setTimeout. So I had this code working but have been away for a few months to find t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trigger javascript confirm based on server side logic (ASP.NET) Is there a way to make the following code works? Basically, when I click on btnOne, If a is true, i expect it to popup the confirm box. And If i press yes, then it will execute btnTwo method. Otherwise, it will not do anything. At the moment, it doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mercurial pager extension Mercurial's pager extension doesn't use the pager for hg status, is this a bug?
Also, when using hg glog -p, the pager is used, but this doesn't conform to the guide: "If no pager is set, the pager extension uses the environment variable $PAGER. If neither pager.pager, nor $PAGER is set, no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to create Cover Flow in J2ME Is it possible to create iPhone like cover flow in J2ME (specially Nokia)?
If yes, what could be the logic to create it?
A: J2ME Polish can be configured to provide lists in a cover-flow like UI (see here).
You might also be able to persuade LWUIT to produce something like coverflow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding a list of divs with a specific class in Watir We have n-number of divs on the page with the same class name.
<div class="errors">
</div>
<div class="errors">
Foo is invalid
</div>
What we'd like to do is to check and see if any of the divs with the "error" class on them have the message "Foo is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing multiple model to controller and bind the data to viewpage how can i Pass multiple model to controller and bind the data to viewpage
i have list page in that page contains two tabs, one for active list and another one In active list.
how can i create a model and bind the data to viewpage.
how can i bind the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Color java class if I get color of text , I got :
java.awt.Color[r=234,g=152,b=28] which should correspond to orange
but when I perform the assertion : this is not working
assertEquals(Color.ORANGE.ToString(),myText.getColor());
expected :java.awt.Color[r=255,g=0,b=0] but was : java.awt.Color[r=234,g=152,b=28]
any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to improve accuracy of accelerometer and compass sensors? i am creating an augmented reality app that simply visualices a textview when the phone is facing a Point of Interest (wich gps position is stored on the phone). The textview is painted on the point of interest location in the screen.
It works ok, the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What to do when SVN Checkout stops working Today, my SVN repository on CodePlex stopped working.
Trying to do a fresh checkout, I get the following error:
Command: Checkout from https://digger.svn.codeplex.com/svn, revision HEAD, Fully recursive, Externals included
Error: PROPFIND of '/svn': 207 Multi-Status (https:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create Android apps using Delphi I have been asked to research on how to make an android app using Delphi, Now I am not sure that this can be done. I have not come across tutorials on the same. Somebody please clarify on this issue.
A: Free Pascal is now able to produce code for the Java platform - so it mig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: JSON ajax response outputed to screen Our server is located in europe.
Now and then an american based user reports a problem when he uses the $.getJSON function.
His browser just displays the json response instead of catching it and passing it to javascript.
The ajax call just looks like:
$.getJSON(url, function(js... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: developing sql application using local database I am starting an application (c#, .net) that will interact with a Microsoft SQL database. I need the ability for multiple clients to access the data concurrently so I an going to use a service based database (.mdf). Is it possible to develop the application using a loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Drop Time stamp while pulling data from oracle table to java Currently I am getting date from oracle table as string which is giving me date as well as timesstamp. Is there a way I can drop timestamp and just get the date from table. Currently in my java code Date is declare as string which pulls date and timestamp.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: declaring global variables in vb The user clicks a button, a new form is generated where the user enters his/her password? How can I keep an in-memory copy of the username?
For instance in web forms, I can just use Session ("User"). How can I replicate this with winforms?
Thanks
A: You could use a static (Shared i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# login to website and download source using WebRequest - Issue with cookies I need to login to a website a download the source code from various pages when logged in. I am able to do this quite easily when using the Windows Forms WebBrowser class, however this is not appropiate and I need to be able to do this wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SpringIntegration message size to big, how to split I have a SprintIntegration system with a JMS endpoint. The size limit for messages is 4mb. I have results which are larger then that, how do I get SI to split that up into several messages?
/A
A: In Spring Integration, you can use a Splitter to split your messages... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynatree with ASP.NET MVC Has anybody got any examples of using the Dynatree plugin with MVC? I have been wrestling with it without much progress. I have an action method which returns a JsonResult (but selects all columns in the underlying table, not sure if this is the problem) and in my initajax call , all I'm do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I set the classpath in NetBeans? Can someone tell me where and how I set the classpath in NetBeans? I would like to add a .jar file.
A: *
*Right-click your Project.
*Select Properties.
*On the left-hand side click Libraries.
*Under Compile tab - click Add Jar/Folder button.
Or
*
*Expand your Project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Open fails, fopen doesn't Whenever I use open I get the permission denied error. But when I use fopen it opens the file fine. What is wrong with my code?
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
char *filename = "dataread.txt";
rec = open(filename ,O_WRONLY | O_CREAT | O_TRUNC,mode);
if(rec == -1)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Alternatives for temporary tables in Oracle
*
*Create a temporary table inside a stored procedure, say '#Temp'.
*Insert values into 'Temp' table using a select statement, eg. Insert Into #Temp Select * from Employees.
*Now extract data from this Temp table, eg. Select * from #Temp where #Temp.Id = @id & so on.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: added new boolean field to an existing django Mongoengine model, but after can not filter for this field First my django model was like this:
class List(Document):
owner = ReferenceField('User')
name = StringField()
users = ListField(ReferenceField('User'))
created_at = DateTimeField(default=datetime... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Too many navigation controllers? I think I'm doing something ridiculously wrong with my project. I'm making a project that basically is a set of view controllers with videos on some of them, images on the others. I created a mockup, but I think I'm pushing Navigation Controller too much doing what it's not supposed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FFMPEG progress bar in java Is there a way I can get the FFMPEG progress bar like this ffmpeg-progress bar
in java or at least use the script shown in the link to work in my Java file?
A: You can use the BSD-licensed JLine library to enable advanced console features. The class jline.Terminal allows you to clear an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building a static version of Python on Ubuntu 11.04 After looking at a similar question, it appears that I am supposed to be able to build a static version of Python thusly:
./configure --disable-shared LDFLAGS="-static -static-libgcc" CPPFLAGS="-static"
However, running make configured as above eventually barfs up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: fullCalendar - addEventSource with the color option I have a function that dynamically adds events to the calendar.
function AddEventSourceDetailed(act_id) {
$('#calendar').fullCalendar('addEventSource', function (start, end, callback) {
var startTime = Math.round($('#calendar').fullCalendar('getView').... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Utility flip as a menu for mulitple controllers So I'm fairly new to xcode, and I'm still trying to figure out how all the controllers work together. I'm currently writing an app that has multiple screens, like you would organize with a tabcontroller. However, i don't actually have room on my screen for the t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Commons email example hanging on send() I'm trying to get this example for the Apache Commons email library to work. Here is my code:
SimpleEmail email = new SimpleEmail();
email.setHostName("smtp.gmail.com");
email.setSmtpPort(465);
email.setAuthenticator(new DefaultAuthenticator("username@gm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: List layout issue inside a ScrollView I have a layout problem - my ScrollView does not fill the whole screen, instead - the bottom half of the screen is not used with the scroll (my list updates dynamicly)
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which API is used for encryption of hibernation files on Windows? The following is quoted from the "Security improvements" section of this article.
"In response to our public complaint regarding the missing API for encryption of Windows hibernation files, Microsoft began providing a public API for encryption of hib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to catch create db signal from django I'm working in django project. I have 1 postgresql sql file that need to run only one time after db created. Built-in django signal not quite suit with my case. So I try to write custom django signal but I'm not sure how to start with this case. Does anyone has a good guide.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to create setup for excel addin? I have a created an excel addin application in vb.net using vs2010.The application is working fine while running from IDE. Now I want to create a setup for the application to install the same addin in other system. How can I do this? I created a setup project and added the dll of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: htaccess: Redirect from subdomain.test.com/~user77 to www.testing.com I want to redirect from a temporary URI like
http://subdomain.test.com/~user77/
to
http://www.testing.com
This is a temporary URI and points to the same webserver. All requests like
http://subdomain.test.com/~user77/index.php
http://subdomain.tes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: adding a web form aspx page to WCF project i need to build a project that has a WCF .svc service and some web pages in the same c# project. Is there any problem in doing this? if I create a project of type WCF project using Visual studio 2010, it lets me add web forms to it. Once I publish to IIS, i should be able t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Scan a specific div and show the 3 most used words Here is my markup:
<body>
<div id="headbox">
<p>Whatever...</p>
</div>
<div id="feed">
<div>
<p>I hate cats</p>
</div>
<div>
<p>I like cats</p>
</div>
<div>
<p>I like cats</p>
</div>
<div>
<p>I like cats</p>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dimension of a 1 x m Matrix? R suprises me almost every day again and again:
m <- matrix( 1:6, ncol=2 )
while( dim(m)[1] > 0 ){
print(m);
m <- m[-1,]
}
gives:
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
[,1] [,2]
[1,] 2 5
[2,] 3 6
Error in while (dim(m)[1] > 0) { : argument is o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: use controller method from model class in cakephp In my cakephp project, I use afterSave() method of a model class. In this method, I want to call another method that is located in app_controller file.
class MyModel extends AppModel {
var $name = 'MyModel';
function afterSave($created) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I use an OAuth2 service in a unattended workflow? The 'flow' for OAuth2, involves getting the user to say 'yes this is OK'. The token that comes back is temporary.
But I'm trying to create a unattended service. Will the refresh token always work? I get the feeling that it too is going expire.
A: Adrian,
This de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JSTree: Dynamically adding Node-Array as children to a Node I am using XML data plugin to load initial JSTree. Is there a way to add a whole different tree as children from XML via an Ajax call to one of the Child-Nodes?
The create_node allows to add one node at a time.
Any help would be great.
A: You can use ajax ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jqGrid pager stopped working I've been experimenting with jqGrid 4.1.2 the last couple of days, activating more and more of it's built in functionality along the way. Somewhere along the way the pager stopped working, and I cannot figure out what is wrong. When the grid loads I can see the data for the first page fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JNA arrays and Pointer I'm working on a project at the moment that requires me to receive a call in Java from a C library. Basically I call a C function that takes a function pointer, the C function then uses the function pointer as a callback. I'm using JNA to pass a Java object (I'll call it the Callback object fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Oracle SQL create duplicated rows with join I would like to create duplicated rows as an output: first I would like to have the row, and then the same row again joined with another table, like this:
table A with fieldA (and lots of others)
table B with fieldB (and lots of others)
and the output:
fieldA1 (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java, convert(cast) Serializable objects to other objects I'm using Session.save() method (in Hibernate) to persist my entity objects which returns an object of type java.io.Serializable.
The returned value is the generated primary key for the entity.
The generated primary key is of type long (or bigint).
The questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: android map refresh button/menu option? May I know how to implement button or menu option to get immediate update of user location on mapview, something like refresh button? Thank you very much!
A: You may implement android.location.LocationListener interface
This will keep track of the User's Current Location.
On ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding ViewController for MainWindow I am new to iOS programming, just to warn you!
I'm using Xcode 4.2 to build a simple app. I have followed this Tutorial to create a MainWindow.xib after creating and empty application.
I want to show a scrollView where I can scroll horizontally between 2 pages (which I have done ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jasper reports data filtering I'm working with jasper reports, supplying data through the JRMapCollectionDataSource. To be specific, each row is smth like this:
{"id"->"21552", "name"->"", "date"->"22.03.2013"}
Now I need to include to the report only those records, where id is greater than 10, for instance. What s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Binary run length encoding I have a web form, for the contents of which I would like to generate a short representation in Base64. The form, among other things, contains a list of 264 binary values, the greater part of which are going to be 0 at any single time. (They represent regions on a geographical map). Even i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Are there "tagged" collections in Java? Are there "tagged" collections in Java? To clarify, I want to essentially classify each element in the list with some sort of Object (e.g. a String) so I can reference different objects in the list by a tag that I specify, not by Object type or element contents.
EDIT: A HashMa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SlimDX Line.GLLines what it does? What is this property of calss line in slimdx?
GLLines = true / false
This is class that I'm talking about:
http://slimdx.org/docs/#T_SlimDX_Direct3D9_Line
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7598708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery datepicker - defaultDate (dynamically) from another datepicker I have two datepickers at the moment, one for a start date, and another for an end date.
When you select the first date, I'd like the default value of the second datepicker to be set to the same date. If I use the setDate it works and sets the val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extending ListView onTouchListener I don't know if I simply couldn't find the class, but I need to do something more with the TouchEvent on a ListView.
I tried creating another OnTouchListener but by setting it on the ListView all the other functionalities are gone. I tried finding the old listener and then simply r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to know where to publish if user account has more than one profile this may be simple, but I guess it isn't, and really Facebook docs are not really useful since they aren't translate to my mother language, making hard to achieve my goal.
ok, I have a script to enable my webapp to post to my feed on Facebook, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what exceptions this code may throw ? I want to know which kind of exceptions can be thrown by this code so i can catch them instead of just catching the generic exception (trying to reproduce errors to cause exception is difficult here cause it takes a lot of time to set up the request used )
JAXBContext jc = JAXBC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: ASP.NET MVC - Linq Query with Count returns anonymous type. How to display in view? So I'm writing a query as follows:
Dim assSummary = From a In db.Assignments
Join ur In db.UserRegions
On a.Origin.ID Equals ur.Region.ID
Where ur.User.ID = u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Load url with parameters via ajax in jQuery Mobile Problem
I cannot load linked pages with parameters via Ajax in jQuery mobile.
Like: http://www.sampleurl.com/tool.dll?name=first&more=parameters
Details
I'm using jQuery Mobile 1.0b3
I don't refer to in-page navigation with hashtags. I intend to load another webpage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to target .NET 4.0 under mono I have mono 2.10 installed which is said to support 4.0
i have a site running, a simple hello world that is built (i develop in on a windows box with vs 2010 and then upload to a linux box) with 3.5.
I want to put the site under 4.0.
I changed it on visual studio and on the windows ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: C# REST Client Example? Ive been looking everywhere, and nothing seems to work.
Im trying to connect to my REST (WCF) Service. It works fine in firefox using the following:
http://localhost:1337/WCF.IService.svc/rest/Services?CostCentreNo=1&Filter=1
Where rest is the endpoint address;
Services?CostCentreNo=1&Filter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reverse engeering cross domain POST requests which use Ext.Ajax.request I'm working with a script which seems to use Ext.Ajax.request (with ExtJS 3) to send cross-domain requests - some of them POST requests. Considerations are being made to move away from ExtJS3 (perhaps move away from ExtJS in general) but a quick... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Pipe console.writeLine() messages to a text file I wonder what the best approach is in implementing a logger which essentially eats all Console.WriteLine() messages and spits out a text file of all these messages.
I know I could use a StringBuilder and populate it with all the messages by doing .AppendLine wherever ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Disable javascript's domain restrictions in FF 7.0 I am developing a small html + JS app for my own use and being ability to access IFrame's content or opened windows' contect with Javascript would greatly improve my productivity.
Is it possible to disable the cross domain restrictions imposed by Firefox 7.0, so tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android views, intents and layout problems This is my first question, but I've been reading a lot of posts in here trying to get this right. But I just can't figure it out! So I'm hoping for assistance!
I'm working on a Android application from where I enter a searchphrase in a autocomplete field. From here I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Column mapping with Abstract class (TPT with existing tables) I am developing against existing DB, having problem mapping my abstract class to my table as TPT., which raised an error saying "invalid column name "ID"".
Simple class as follows
public abstract class Member
{
[DisplayName("ID")]
public string I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Manipulating Dynamic object on C# I have a C# class that inherits from DynamicObject and using serialization is creating me an instance for a given xml.
My issue: Now i have to generate one dynamic object from two equal (with same structure) xml files selecting some type of elements from the second xml only.
Do you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access global Sinatra configs inside custom Liquid template tags? I'm trying to create a custom Liquid template tag like this:
class ScriptLoader < Liquid::Tag
def initialize(tag_name, filename, tokens)
super
@file = filename
end
def render(context)
settings.cdn_url << 's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run a build script So I have this build script I need to "run" or "install"? It's a .proj file. The directions are to run this script using MSBuild. How would I do this?
Thanks!
A: Open a Visual Studio Command Prompt.
msbuild <filename>
<filename> is the path to the file.
A: Run using multiple concurrent processe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change the URL in the address bar using jQuery I have written the following to do AJAX requests in my app:
$(document).ready(function () {
$('ul#ui-ajax-tabs li:first').addClass('selected');
$('#ui-ajax-tabs li a').click(function (e) {
e.preventDefault();
$("#ui-ajax-tabs li").removeClass(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handling Exceptions in Tasks and Parallel loops. (Threading - TPL) I want to know if you think this is a good way to handle exceptions thrown by Parallel Loops (Parallel.ForEach and/or Parallel.For) inside Tasks.
I think it isn't so bad, but your opinion can be usefull to me! Hope you can throw some light on me!
(I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Oracle SQL Return all records within days of date I am hoping that somebody can help me out with this question.
The following SQL returns just the records in a given table that are specifically 20 days from current.
Last_Mod_Date = TO_DATE(SYSDATE - 20)
Using similar theory can somebody help me determine how to retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c++ const symbols inflating linked file In C++ is legal to put a const in the header file, usually the C way would be to put the extern declaration in the header and the definition in just one compilation unit, but in C++, the former technique leads to an increased binary since the symbols are not removed while link... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is passenger not finding my rails root I have a rails application that i need to be in a subdirectory of an existing application
I am trying to deploy this rails application to a sub directory using the help of this link Here is my application here and as you can see i am getting this error (The directory "/sr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to send a file from an applet to an gwt server? I'm trying to send a file from an applet to my server GWT. In another application, JSF, I would open an HTTP connection with my servlet.
How do I make whit an GWT server? I tried to insert my servlet in web.xml but it seems to be ignored.
I need to use a RemoteSer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java - connect parent and child IDs and make the full path directories I have been given an answer in question:
Create folders from folder id and parent id in java
It was very useful but I do not understand the last part of the answer:
"Finally, just grab the folder with id 0 and start building your Files on the dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: jQuery validate textarea:filled i have the following form fields...
<textarea name="anchors[]" id="anchors1" cols="45" rows="5" class="linkbox"></textarea>
<textarea name="anchors[]" id="anchors2" cols="45" rows="5" class="linkbox"></textarea>
<textarea name="urls[]" id="urls1" cols="45" rows="5" class="linkbox"></t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to handle text wrapping in CSS?
Possible Duplicate:
Auto-size dynamic text to fill fixed size container
Please take a look at this:
The text "parenthood" is one word, yet it falls on 2 lines because there isn't enough space for it to fit in the containing div. Before adding this property to the div:
word-wra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jquery .outerHeight() after .append() Im trying to run .outerHeight() function on element that i just appended to html via .append()
$("#someid").append("<ul id='#otherid'><li>something</li></ul>");
var h = $("#otherid").outerHeight();
After this "h" has wrong value. I think that it is caused by "append" not applyi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Filtering Encoded XSS in Classic ASP ok. I am dealing with a Classic ASP app written on VBScript. I am trying to filter possible XSS that might come via encoded Query string.
I have a simple XSS elimination function in place [getUserInput]. This looks for special charactors like < > / ' .... and replaces them with b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: .Net Code Signing - Can I use an AD Certificate? I am working on an internal project which uses a bunch of OLEDB Providers some of them has a UI. The biggest challenge is that I need to request uiAccess=true in the manifest which only is possible on windows if the code is digitally signed. This application is only u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using Java 7 SDK features in Java 6 I am interested in using some of the NIO2 features in the Java 7 SDK if available (specifically, the file system watchers), however I do not want to compile my classes for Java 7 and exclude Java 6 runtimes. Mostly because I want retain compatibility with Mac OS X, and also becaus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is there a similar object to session with windows form I'm a little new to windows forms. I would like a way to persist data across my windows form application. I am using a static dictionary that I setup in my program.cs file. I do not wat to pass this data manually from form to form in the constructor.
Thank you.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Am I missing something, when filtering this observable collection? I have a routine which parses data from an xml feed.
...
matches.Add(_item);
}
And shortly after this I want to only include the items which match my where clause
if (this.MatchType == FixtureType.Played)
{
matches = matches.ToList().Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting DJANGO_SETTINGS_MODULE under virtualenv? I want the environment variable DJANGO_SETTINGS_MODULE to change depending on what I say for workon. It seemed to me that I want to set it in .virtualenvs/postmkvirtualenv but my trial had no effect.
ftpmaint@millstone:~$ cat ~/.virtualenvs/postmkvirtualenv
#!/bin/ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Add to favorites function? I have this problem understanding how to save data in order to have an "add to favorites" function to my app.
The app has an UITableView and the data is stored in a Plist. From there
it goes into a DetailView containing an UIImageView and an UITextView.
I want to be able to bookmark the i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: About shortcut/feature in xcode 4 Hi guys (and probably girls).
I'm newcomer to xcode land. TextMate have a feature to jump to specific file. For example if I press cmd+t a window appears and there I can type the name of file I'm looking for (this feature search only files in current projecet).
When I hit enter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Totally unable to find jp.sourceforge.pdt_tools.formatter I would like to add a PHP formatter to my Eclipse Helios (3.6 SR2) installation, but I'm not able to find any place to download a jp.sourceforge.pdt_tools.formatter (any version which can added to the Helios SR2)...
I searched 1 hour on google, on torrent sit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to delete from the 64 bit registry under XP? I'm making an application, and i need to write some stuff in the registry, and later edit them if neccessary. I'm writing to the 64 bit registry using KEY_WOW64_64KEY. I created my Key Software\MyApp and here some other values 5 or 6. My problem is the following. I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to know the time remaining for the alarm to go off or the elapsed time since alarm started from API Assume I set alarm to off after 8 hours from now using AlarmManager. I exit the App and open it back. Now I want to know the time remaining for the alarm to go off or the elapsed time since alarm starte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to loop through a map and assign the value to an array in C++? I have a map<id,age>,; how to get the age of each <id,age> pair, and assign the age to a C-style array in C++?
what is the efficient way to do it? I mean how to fill the C-style array in the same order as map?
A: If you decide to stick with the fix... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GWT RPC Failure Call I am getting this error -
[WARN] 404 - POST /gwtmaps/mapService (127.0.0.1) 1404 bytes
Request headers
Host: 127.0.0.1:8888
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Acce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Silverlight: disable automatic first-row selection after DataGrid binding I have a Silverlight DataGrid, a DataPager and a PagedCollectionView.
After the PagedCollection view is bound to the DataGrid, the first row of the DataGrid is selected.
This behaviour does not happen, if i am using an ObservableCollection. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: DBD::mysql::st fetchrow_array failed: fetch() without execute() fetchrow_hashref working fine, but when i use fetchrow_array getting following Error.
#!/usr/bin/perl
use warnings;
use DBI;
$DB_name = 'database';
$DB_user = 'root';
$DB_pwd = '';
my $dsn = 'dbi:mysql:avm:localhost:3306';
$dbh = DBI->conne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Precisely measure execution time of code in thread (C#) I'm trying to measure the execution time of some bits of code as accurately as possible on a number of threads, taking context switching and thread downtime into account. The application is implemented in C# (VS 2008). Example:
public void ThreadFunc ()
{
/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How can I handle Node.js dependencies in a project on git with NPM? I've run into this scenario quite a few times and still haven't found the answer. I'm starting a new Node.js project, and this project will be dependent on some other libraries. For sake of argument, let's say that some are purely JS libraries tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: HttpDelete request with JSON payload in Android I need to call a web service to delete data, and I need to do it using HttpDelete. The service takes a JSON object as parameter.
I have done HttpPost before, using SetEntity, but this is not available with HttpDelete.
It's a call like http://url/DELETE/service and some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: java.lang.RuntimeException: java.net.UnknownHostException: Host is unresolved: I am having a problem while parsing XML file,i used newsRSS parser as a reference.but i am getting this error in the real device.how to display an error message like alert for the user and let him stay on the app without crashing?
this is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when attempting to open .xib in XCodeInterfaceBuilder I downloaded the Red Laser MonoTouch sample and ran the project in MonoDevelop, I had to first update the solution file so that it would load up in MonoDevelop.
When I try to view one of the .xib files in the Xcode Interface builder I get the error:
Error ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct Singleton Pattern Objective C (iOS)? I found some information in the net to create a singleton class using GCD. Thats cool because it's thread-safe with very low overhead. Sadly I could not find complete solutions but only snippets of the sharedInstance method. So I made my own class using the trial and erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: return responseText from jQuery.get() I tried to do something like this :
var msg = $.get("my_script.php");
I thought msg would be set to the text returned by my_script.php,i.e. the responseText of the jqXHR object.
It apparently doesn't work like that as msg is always set to "[object XMLHttpRequest]"
Is there a qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Alternative of php's explode/implode-functions in c# are there a similar functions to explode/implode in the .net-framework?
or do i have to code it by myself?
A: There are two methods that correspond to PHP's explode and implode methods.
The PHP explode's equivalent is String.Split.
The PHP implode's equivalent is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Coldfusion TemplateClassLoader hold on to class loader instances? I have a "OutOfMemoryError: PermGen space" error on my CF 8 server.
In my app 1000 templates were loaded into the same local variable (for testing purpose), so once the next one is loaded, the prior one should be available for GC - but this does not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alternative of VMRuntime.getRuntime().setMinimumHeapSize in Gingerbread I know there's a VMRuntime.getRuntime().setMinimumHeapSize in Android 2.1/2.2 for developer to adjust the starting heap size of the application, and it is one of the most effective solution sfor solving the OutOfMemory error during BitmapFactory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7598835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.