text stringlengths 8 267k | meta dict |
|---|---|
Q: Adding Links to HTML-output in Powershell I have wrote a PowerShell script that catches all of the running IIS worker processes on a remote server and returns back diagnostic information (appppolname, cpu, virtual memory etc). It is then converted to HTML and displayed to the user.
$server = Read-Host Enter server n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Html Helper CakePHP Fatal error:
Call to a member function charset() on a non-object in D:\xampp\htdocs\demo\app\controllers\test_controller.php on line 10
PHP Controller Code:
<?php
class TestsController extends AppController
{
var $name="Tests";
var $helpers = array('Html');
var $uses=array(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: get a string line from bunch of text that contain specific word(s) with php I have some code generated by FCKEditor, eg. as follow :
$content = "<p>some text with some tags and so on.. [here is html tag image source with image url] another some text with some tags and so on.. </p>";
I assigned all those code into a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get new image size after changing src in IE I have an image element with a spinner gif. I later dynamically change the src of that image with jQuery, and I want to get the actual width and height of the new image. Here is my code:
function loadImage() {
$('#uploaded-image').load(function() {
var img = d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Zend Filter Encryption / Decryption adds nullbytes when decrypting I am trying to do some symmetric encryption on some data with the Zend_Filter_Encrypt function. The problem is if i encrypt some data and then later decrypt it, there are nullbytes behind the decrypted data and I have no idea why.
For instance:
Plain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL selecting records from one table and using this as input to another table to delete records I have table1 with columns:
def_id, def_name, username etc
I have another table table2 which has some association:
assoc_id,parent_id,child_id
The parent_id , child_id are actually def_id's from Table1 . They get insert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implode array that uses array_push in foreach loop My tags are showing in the inner foreach loop in the right order.
I would like to comma separate them but am not sure how.
Is there a better way to display my tags without using the second foreach loop?
$people = array();
while($row = mysqli_fetch_array($rs,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concatenate DateTimePicker in VS2010 How can I concatenate the values of two datetimepicker?
DateTimePicker1 - this is for the the DATE mm/dd/yyyy
DateTimePicker2 - this is for the the TIME hh:mm:ss
I want a value of ... mm/dd/yyy hh:mm:ss in one variable, how can I do that?
A: One easy way would be
DateTime dt =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Master Page Loading Multiple Pages I'm developing a web site that has a master page that consists of 4 different pages that will load simultaneously (using ContentPlaceHolder).
However, when I test the website on my local machine, only one page renders at a time (depending on the URL I type in).
Is there any way ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i print a list contents in a stderr statement in python Here is the scenario:
I want to be able to print the C Style statement:
print >> sys.stderr, ("%s does not exist"%m_args)
either inside the function, or in __main__
but I am getting Exception :
print >> sys.stderr, ("%m_args[1] does not exist"%m_args[1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MySql Update first entry that has X and Y else insert new record I have a chat user entry in a MySql table -
id (primary key, autoincrement) - the chat user id
user_id - the users id as it pertains to our product
room_id - the id of the room your in
If a chat operator enters the room, leaves, and then comes back -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mocking a method call generically Suppose I have a strongly typed caching interface that I want to mock. It takes objects of any kind and returns them, like this:
interface IMyCache
{
void Add( int key, object obj );
T Get<T>(int key);
}
Can I write a RhinoMocks stub that will mock any parameter type that I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: openDatabase() method throws an exception (SECURITY_ERR: DOM Exception 18) openDatabase() method throws an exception (SECURITY_ERR: DOM Exception 18) on iPad 4.3 and also on all iOS Simulators 4.x when the database size is specified greater than 5 MB.
Compiling under XCode 4.2 (Mac OS X 10.6.8) using PhoneGap 1.0.0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to give asp:Localize the localized text? My ASP.NET page has some html:
Default.aspx:
<h2><asp:Localize meta:resourcekey="lblTitle" Text="Welcome to so" runat="server"></h2>
Now i want to localize that text. So i've created a resource file Default.aspx.resx. Following the examples of Microsoft, Microsoft, Micro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Inherit a class but it's usually created with a static method? I've got a class that I would like to inherit. i.e. ExpenseForm should inherit from Spreadsheet. Spreadsheet is provided by a third party: I can't change it.
But parent class instances are usually generated with a static method:
Spreadsheet myExpenses = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Iterating through prefixes with Python I have a hierarchical descriptor string that looks like foo:bar:baz where elements in the hierarchy are delimited by :, and I would like to iterate through the hierarchy levels. Is there an easy way to do this, something easier than this:
def hierarchy(s):
segments = s.split(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Facebook Connect Debugger and site won't use Meta Tags
Possible Duplicate:
How does Facebook Sharer select Images?
I'm trying to use Facebook Comments on a Drupal website correctly. The comment box shows up and works exactly as I want it to, but when I go to facebook debugger http://developers.facebook.com/tools... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Keeping subrepos in sync on central server I keep thinking I understand subrepos and how I can make them work for my teams workflow, but clearly I don't, because every time I try to implement some basic workflow, something doesn't end up working right.
I've read pretty much everything there is to read about subrepos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring form, create elements client side usig javascript I have a spring form, with backing object that includes a LazyList - works hunky dory.
The form initally shows:
<tr><td>
<form:textarea path="myList[0]" cssClass="myClass" rows="2" cols="35"/>
</td><tr>
<tr><td>
<form:textarea path="myList[1]" cssClass="myCla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: maven tomcat7 deploy POM.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<url>http://localhost:8080/manager/html</url>
<server>myserver</server>
<path>/test</path>
<warFile>${project.build.directory}/${project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cross Join in SQL 2005 with like Below are two queries. I get correct returns in Access but NO returns in SQL. Is my syntax in the SQL version wrong? Curiously, even if I leave out the second part of the WHERE statement, the returned values don't make sense (i.e. last names = tblx.Last Name = Hull / tbly.Last Name ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending a command to screen via PHP? I was wondering how I could execute a command through PHP into a screen running on my virtual private server.
i.e.
if(submit){
do "say This is a minecraft server." in screen.
}
Thanks in advance,
A: Still unclear on exactly what you mean, but if this is what you're looking for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct way of php concatenation Hey is this the correct way to do concatenation? it does not seem to want to work for me!.
$driver1points = 0;
$driver2points = 0;
$driver3points = 0;
$driver4points = 0;
for($i = 1; $i <= 4; $++){
if(${"driver".$i} == $driverrace[... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uploading Image to a website using HttpWebRequest in WP7 how i can upload any image to a website using HttpWebrequest in WP7 Mango?? and another doubt regarding with HttpWebequest is that how i can achieve the secured version of HttpWebRequest in WP7 Mango?? Does new add-on sockets in wp7 has any role in secured dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm a .Net, C# and WPF programmer. Is Expression Blend worth it? I mean, as a normal developer, is there something that I will achieve with Expression Blend that I won't using VS? I have no idea of Expression Blend and at first sight didn't look very friendly / easy to learn.
What do you thing out there? It's worth ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: msbuild “Unable to remove directory” One of our CruiseControl.NET projects keeps intermittently failing because a msbuild task fails with
error MSB3231: Unable to remove directory "d:\Somewhere\Dir\Admin". The parameter is incorrect.
The corresponding msbuild script line is just
<RemoveDir Directories="$(Distribut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: c # regular expressions unsigned short,int,long i am having a problem with dealing with regular expressions.
What i need is to make a regular expression that checks a bunch of numbers written through the console separated with spaces and to check how many of them is:
1) unsigned short
2) unsigned int
3) unsigned ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I write a web service that returns a dynamic set of variables in .NET? My current set up is an ASMX web service that has an Item object, and returns a List<> of Items.
Item has 114 fields of various types. It is consumed by .NET web apps, as well as Java web apps (using Axis2 to generate a client proxy).
My ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Having trouble getting if statements to work in VBA My first question is whether excel VBA will recognize an if statement with two constraints, i.e.
IF Range(somecell).value > 0 AND Range(anothercell).value < 100 Then:
execute code here
Because I am having a problem with getting the code enclosed in an if state... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing a folder to list/play clips one by one I just want to know if there is an object to access a folder path which includes list of clips in javascript.
Which object I should use to list clips in a folder? Actually I can't use all objects, only provided for Ecmascript.
A: JavaScript/Ecmascript cannot see the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What does split function look like? I came across this statement :
userName = document.cookie.split("=")[1];
after reading about split statement here at w3schools. which says that syntax of split is
string.split(separator, limit). Then what does the square bracket after first parens. mean ?
If this is true what doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SVN: Synchronize branch with trunk in Eclipse? I have an SVN branch and a trunk. The trunk changes regularly and the branch doesn't.
Every now and then (let's say once per week) I want to update the local working copy of the branch with the latest changes of the trunk.
Ideally I would want to do this the same way a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: I am expecting myApp.exe runs faster than myApp.vshost.exe, but from vshost (run in VS release)
array pure 00:00:02.9634819
1200000000
Basic: 00:00:04.1682663
from standalone program (compiled release)
array pure 00:00:09.1783278 // slower, why?
1200000000
Basic: 00:00:00.5985118 // faster, as expected
So ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Console Application drag and drop "C#" I was loading an MS Word file programmatically using Interop.Microsoft.Office.Interop.Word.dll.
When the Word file is opened, I want to disable drag and drop facility for it.
How do I do that? Is it possible to achieve this in user32.dll?
A: You're probably looking for
Applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compressing multiple JavaScript files with YUIcompressor? I'm trying to compress multiple JS files using the YUI Compressor.
I think that I'm getting the syntax wrong. I want to compress all files in a directory that start with at_. However, when YUI Compressor runs, I find that YUI Compressor has placed only the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Automating a directory diff while ignoring some particular lines in files I need to compare two directories, and produce some sort of structured output (text file is fine) of the differences. That is, the output might looks something like this:
file1 exists only in directory2
file2 exists only in directory1
file3 i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to show the TFS changeset number after a check-in? Is there a way, with power tools or other extensions, to make it so that the changeset number is be displayed on an alert?
Currently it displays on the status bar, but disappears after a while, or at least make this more prominent?
A: Output from TFS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Partition Elimination I am currently testing a partitioning configuration, using actual execution plan to identify RunTimePartitionSummary/PartitionsAccessed info.
When a query is run with a literal against the partitioning column the partition elimination works fine (using = and <=). However if the query is joi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: sample SSL code server I need a little server (OBJ-C, iPad, XCode) using ssl negociations and exchanges when a client tries to connect.
Is someone knows how to do this or have a little example?
Thanks to all
A: cocoahttpserver
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7517856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strange behaviour of bash script for running parallel subprocess in bash This following script is used for running parallel subprocess in bash,which is slightly changed from Running a limited number of child processes in parallel in bash?
#!/bin/bash
set -o monitor # means: run background processes in a separate pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: RemoteViews - void method setRemoteAdapter I'm trying to implement a widget, with a layout that has a GridView. My onUpdate method inside the widget class is:
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager,
int[] appWidgetIds) {
final int N = appWidgetIds.length;
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Expandable ListView with custom objects I'm fairly new to android and am slowly adjusting to how android works.
I am in the process of creating an android application which uses a .net web service to pull back data from a sql database. I have two methods which return a json response with a list of custom objects.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the most suitable classification algorithm to classify legal document pictures? I have a set of documents such as (identifiers, driving license and passports etc) in more than one country, so i need to classify them each in its class and then i can classify any new documents -not in my set- in its class.
Doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "Stay on top" main form and modal dialogs in Delphi XE In Delphi XE Update 1, I’m getting seemingly random behavior of modal forms if the parent (main) form’s FormStyle is set to fsStayOnTop.
1) With MainFormOnTaskbar := False (the old way), everything “just works”. With the new MainFormOnTaskbar := True, modal for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Forcing child divs to use parent's style I wanted to give all of the child's div elements a background-color of parent div. But, as I see, child divs' style overwrite parent's style even though child's did not have that property. For example,
<!-- Parent's div -->
<div style="background-color:#ADADAD;">
some cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: RavenDB - When I do want a reference to another Root Aggregate I have been using DDD for a while know so I am comfortable with the idea of aggregates. At first I did have troubles wrapping my head around not using/persisting references to other root aggregates but I think I'm on board... so:
*
*Storing a root ag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Remote (free) SVN Host I'm sure this has been asked a thousand times but in my initial search I couldn't come across anything that seemed to answer my question, hence why I'm typing this :)
We have a few developers starting a new side project. Each of us are in different locations. We (I) want to use SVN to manage t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Static content in UITableView - Problems with Apples guide I have been following the guide from Apple:
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html#//apple_ref/doc/uid/TP40007451-CH7
concerning: Technique for Static Row Content.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Function str_replace do not work I have a problem with the function str_replace(). I have this code:
$headImageName = "C:\Program Files\EasyPHP-5.3.3.1\www\realitka/headImages/hImageMini4e7b5a6ea8c95Pyro.png";
die(var_dump(str_replace("C:\Program Files\EasyPHP-5.3.3.1\www\realitka/", "", $headImageName)));
And the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Enable/Disable a specific dynamically-added form-input I'm creating an HTML form, which takes some of its options from a database (php + mysql)
In the php, I'm creating a checkbox input, with a select box next to it.
I named the checkbox houseAppsSelected[] and the select customCategories[], so I'll get the values a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select those that HAVE NEVER had certain entry I have a table of services that have been provided to clients. I'm trying to make a query that selects all the clients who received a service that WEREN'T provided by a certain user.
So consider this table...
id_client | id_service | id_user
---------------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Hosted bug tracking software I'm looking for a free bug tracking software (hosted preferably, as my host doesn't allow me to use ssh, so i can't really install anything). What i want to do with it, is put a form on my website, and allow my beta testers to send in bugs (for now, only beta testers know of the site, so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: as3 swf file can't execute a php file I have an actionscript3 swf file which execute a php file using this code :
var load_php:URLLoader = new URLLoader(new URLRequest("php+txt/TIME.php"));
This php file will get the server time and write it to a text file for the swf file to read
The problem is this :
The php file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: BlackBerry: browse specific folder, with a picture view I don't find how to start Filepicker in a specific folder, with a picture view :
When I sayfp.setView(VIEW_PICTURES); and fp.setPath("file:///SDCard/Blackberry/travail/"); the view is correct, but not the path. I always go in the picture path, but with the good... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the use of Website preference in windows phone? in Website preference, if I select Mobile version instead of Desktop version. what is the use of it. is it redirect automatically to mobile version of current site or is it some thing relate to browser performance?
A: Many websites today offer a slimmed-down ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What should I configure SVN to ignore in my Delphi projects? What files should I tell Tortoise SVN to ignore when committing to a repository?
In particular I am interested in practical information such as whether to include such files as *.dproj.2007 etc that seem to appear but may not be needed.
A: Using Delphi200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: C# Structure for objects in a 2D game First, let me apologize for asking a question that may seem a bit vague (or badly formalized), but I lack experience to ask anything more specific.
I'm building an engine for playing 2D adventure games (the you-click-on-an-object-and-something-happens sort) in C# and I'm conside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Term Bubbles in Search Engine So I'll do my best to describe what I'm trying to do, but I think a picture will do more justice.
Basically I'm working on a search engine of sorts and the engine accepts comma-delimited keywords. The way I'd like it to work is after the user enters a term and puts a comma, the term ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Difficulty in opening database in BroadcastReceiver I am having difficulty opening my database in my class. I am trying to get my application to start on the phone bootup, that is only if the boolean value in the database is true, if false it will not boot the application on startup. I have the errors to the bottom
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: installing TFS, JIRA, Subversion Any guy can guide me how long it will take to install (if you never did it before):
- TFS
- JIRA
- Subversion
on a VPS server... (windows 2008 R2)?
Greetings
A: I can answer for Subversion. I would recommend you download and install a project I manage - Subversion Edge. It is free... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL to increment on change of item in a sequenced list I have a SQL server 2008 table with the folling data in it:
seq | item
1 | A
2 | B
3 | C
4 | C
5 | C
6 | B
7 | D
8 | D
9 | C
I what return a new column which is a number which increments on change of item, as follows:
seq | item | Se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Confusion with javascript array.splice() I'm really confused about this.
My understanding was that array.splice(startIndex, deleteLength, insertThing) would insert insertThing into the result of splice() at startIndex and delete deleteLength's worth of entries? ... so:
var a = [1,2,3,4,5];
var b = a.splice(1, 0, 'fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: iPhone - SQLite using TEXT primary key Does anyone know if I can use a TEXT (UUID) primary key for an SQLite iPhone database?
I am not using CoreData.
A: Yes. You can use text field as primary key:
CREATE TABLE myTable (uniqueText VARCHAR NOT NULL PRIMARY KEY, text VARCHAR)
Some insert:
INSERT INTO myTable (unique... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: pass a list to a mixin as a single argument with SASS I like to make mixins with SASS that help me make good cross-browser compatibility. I want to make a mixin that looks like this:
@mixin box-shadow($value) {
box-shadow: $value;
-webkit-box-shadow: $value;
-moz-box-shadow: $value;
}
to which I can p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Problem with java app and hosted DBs Some time ago, I started a new Java app wich function was to provide access to a remote DB, to browse, sort, filter and operate with some registers. To test it out, I was using a PostgreSQL DB located in my PC and then I finished the Java app. Everything was fine so I was about t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call to undefined method useIncludePath() i'm trying to learn symfony2. I was trying to install FOSUserBundle with those terminal commands (without any errors in a terminal):
$ git submodule add git://github.com/FriendsOfSymfony/FOSUserBundle.git vendor/bundles/FOS/UserBundle
$ git submodule update --init
But after... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Drupal Anonymous Users Hidden Fields on Webform not showing up on e-mail I'm trying to capture the url of the webform. For validated users, the code below works:
%server[SERVER_NAME]%server[REQUEST_URI]
For anonymous users, it does not.
From Post#7, I checked out this thread and tried the patch, but it did not work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Match all from the Regexp till it reachs a certain string PHP $str = 'href="http://grego.com" href="httpxoobar" href="xxx" href="ZZZZZ"';
preg_match_all('/http:\/\/(?<!href=")([\s\S]+)"/', $str,$m);
print_r($m);
I'm trying this code.
I want to create 4 matches, I want to match all the href=" that doesn't hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Oauth2 in Symfony2 I'd like to use some APIs, foursquare for example, in my Symfony2 project. The problem is that instead of the 2 great FOS bundles concerning Twitter/Facebook, I'm not finding anything on OAuth (I tried the EtcPasswdOAuthBundle but did not manage to make it work because of a missing file I guess).
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: accessing/handling wireless keboard input(key press) in my ipad application i have already done much googling on this neither i found a tutorial/way to accomplish this nor find that it could not be acheived(so that i can assist my client ,it's not possible) we have requirement to integrate a wireless keyboard in our... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ajax-MySql-Php issue (submit text from form, send via AJAX to php script, back to div) I would like to send data to a MySql DB from a form via AJAX and a PHP script. I can get it perfect using option selection in the form, but I simply cannot get it using a text submit form.
First what works:
HTML Form:
<form>
<sele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Syntaxhighlighter can't find any brushes after ajax request I'm using Syntaxhighlighter on a web page, I have made a javascript function to load all brushes using SyntaxHighlighter.autoloader(...) and apply SyntaxHighlighter.all()
I run this function once when the page gets loaded, result: the syntax highlighting ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Program hangs if thread is created in static initializer block I have come across a situation where my program hangs, looks like deadlock. But I tried figuring it out with jconsole and visualvm, but they didn't detect any deadlock. Sample code:
public class StaticInitializer {
private static int state = 10;
static... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Accessing BcdStore from Delphi I'm trying to convert this code fragment into Delphi and I got stuck on the for each objWBL in colObjects.
if not objBcdStore.EnumerateObjects( &h10200003, colObjects ) then
WScript.Echo "ERROR objBcdStore.EnumerateObjects( &h10200003 ) failed."
WScript.Quit(1)
end if
for each... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to compare 2 dataTables I have 2 datatables and I just want to know if they are the same or not. By "the same", I mean do they have exactly the same number of rows with exactly the same data in each column, or not. I'd love to write (find) a method which accepts both tables and returns a boolean.
How can I co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to exchange text in PostScript I do have the following content of PostScript code that is originally generated by the Ghostscript Printer on Windows XP.
/Euro /Times-BoldItalic /Times-BoldItalic-Copy BuildNewFont
} if
F /F1 0 /256 T /Times-BoldItalic mF
/F1S52 F1 [82.664 0 0 -82.664 0 0 ] mFS
F1S52 Ji
581 547... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .NET Entity Framework 4 - How to run custom SQL when a certain table is updated When Table1.Foo changes, I want to update a column on Table2. What would be easiest is if I could just "run" some custom SQL after the update to Table1 is committed, however there doesn't seem to be a place to do this.
It seems the "rec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: although I am using a background worker GUI still hanging... I have a GUI Where i have to import some document , but when i do using background worker, the GUI is hanging , which must not happen since I am using a background worker, why this happens? kindly find code below..
void ImportNotes_ContextMenuStripItem_Cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do onMeasure in Android returns Size including padding and margin? I am working on a Custom Component and would like to know if onMeasure called on children would return width and height of the child including padding and margin of it?
A: The sizes passed in onMeasure includes the padding, but not the margin.
So, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: From SID get user@domain not domain\user This is a bit of an obscure one: I need to get the user@domain form of a user/group, but I do NOT want the domain\user form. I encountered a problem once with long windows 2003+ names where the two are NOT the same because of the domain\user length limit, because the new for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Toggle between divs inside another div using jQuery? So I have a div that can have several divs inside of it. Something like:
<div id="news">
<span>Latest News!</span>
<div>
//News 1
</div>
<div>
//News 2
</div>
</div>
What I'm trying to do is on page load, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7517987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: on Internet Explorer's ,when textarea bind keyup or keypress the keyboard shortcuts Ctrl+Z Ctrl+Y does't work? on Internet Explorer's ,when textarea bind keyup or keypress that the keyboard shortcuts Ctrl+Z Ctrl+Y does't work!
Like this:
http://jsbin.com/ivaca
the second textarea,How to fix this bug in IE?
A: I n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The process could not execute 'sp_replcmds' on 'database_name' I got an error message in my Log Reader Agent:
The process could not execute 'sp_replcmds' on 'Database Name'.
I created another agent profile with a large query timeout and a min value to batch, but it still doesn't work.
Can someone help me?
I'm usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Subscribing Users to MailChimp using ASP.NET I've been tasked with developing a simple package to post from a newsletter signup form to MailChimp. Easy enough for me to do in PHP, but this has to be in ASP.NET, which I don't know at all.
I've found my way to PerceptiveMCAPI, gotten my API keys, my list id, and my f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Manipulating a string in javascript If I have a long string, lets say
var str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eu accumsan urna. Phasellus imperdiet elementum massa sit amet condimentum. Vivamus porttitor lobortis dignissim. Nam non tellus sapien, at pulvinar augue. Nulla metus maur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issue with std::BinaryPredicate using Solaris CC I have a problem on Solaris using the Sun Studio compiler. It seems related to libCstd.
Consider the following code :
#include <list>
static bool f(double fFreq1, double fFreq2) { return false; }
int main()
{
std::list< double > l;
l.unique(f);
}
The error me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Php email sent with issues on subject chars in Outlook only Im sending a mail using php, and the subject of the mail has accents.
Im receiving weird characters in Outlook instead the accented chars. If i see the email in a web email client i see the subject perfect.
This is the code that im using to send the email:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SqlServerCe 4.0 "Database already opened by a different user" Error I am working with a SqlServerCe 4.0 database located in an Asp.Net app's /App_Data/ folder - in this case hosted by IISExpress via WebMatrix. The database is also accessed from a Microsoft WebMatrix Extension - which runs in the WebMatrix.exe proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get file paths of MS SQL database that is stuck Restoring I distribute updates to our database in the form of backups "With Replace", but the users can install it to any location on any hard drive, which means I need to "Exec SP_HelpFile" on it before running "Restore With Move". But SP_HelpFile requires me t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IIS7 - Client side caching a .ashx file that already has no-cache data set In IIS7, I have a .ashx file from a third party which sets caching headers to be no-cache,private
I want this to be cached on the client so I have added the following code to the global.asax
void Application_EndRequest(object sender, EventAr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP value doesn't equal to what it echoes I got a value in $array[1] and I want to know what it is, so I
can compare it in other parts of my code.
So I echo out $array[1] and I get "vrij     " or "vrij "
$value = $array[1];
echo $value ; // outputs "vrij "
if($value = $array[1]){
echo "TRUE 1";
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: @Register directive in ASP.NET 2.0 I use the following directive in my aspx page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="myWebParts._Default" %>
<%@ Register Namespace="myWebParts" TagPrefix="myWebParts_tag" %>
And my page has code snippet like this:
<ZoneTempla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to perform an upsert in Mongoose looking for an embedded document? SocialProfileSchema = new mongoose.Schema
source:
type: String
enum: ['twitter','facebook']
lowercase: true
user_id: String
profile_url: String
primary:
type: Boolean
default: true
added_on:
type: String
defa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Objective-C: autoreleased object as parameter for method could the following code lead to problems?
- (void) method1 {
NSMutableArray *myArray = [[[NSMutableArray alloc] init] autorelease];
... fill the array
[someObject someMethod:myArray]; // someObject does work on that array (without retain!)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Storing data in matrix in for and if loops I have a problem in storing the data in matrix in for and if loops,
The results give me only the last value of the last iteration. I want all the
results of all iterations to be stored in a matrix be sequence.
Here is a sample of my code:
clear all
clc
%%%%%%%%%%%%%%
fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python. IOError: [Errno 13] Permission denied: when i'm copying file I have two folders: In, Out - it is not system folder on disk D: - Windows 7. Out contain "myfile.txt" I run the following command in python:
>>> shutil.copyfile( r"d:\Out\myfile.txt", r"D:\In" )
Traceback (most recent call last):
File "<pyshell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: How to make the Windows OSK open when a TextBox gets focus, instead of requiring users to tap a keyboard icon? We are working on a WPF application in .NET 4 that will be used with a touch screen. We are trying to use the built-in Windows OSK for our input, and the last remaining issue is to get the keyboard to open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to force visual studio debugger to skip specific exceptions? I have client-server (Silverlight) app.
Some server code throws exceptions that I handle on client. When I debug - Visual Studion breaks on those exceptions and I have to hit "Continue". It really slows down development.
Is there any way to skip specif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: jQuery .html() of all matched elements .html() function on class selector ($('.class').html()) applies only to the first element that matches it. I'd like to get a value of all elements with class .class.
A: You could map the html() of each element in a filtered jQuery selection to an array and then join the result... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Recursive CTE in MySql for tree structure (adjacency list) I'm just starting out with MySQL (I come from using SQL Server previously). I haven't yet started implementing anything in MySQL, just researching how to do things and what problems I might encounter.
In SQL Server I've used CTEs to successfully recurse thr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7518088",
"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.