I need to disable check-in operation for several projects in my solution. I need it to safe myself from uploading changes to read-only projects. Does this option exist for Team Explorer?
In Java regular expression, it has "\B" as a non-word boundary.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
If I have a 'char', how can I check it is a non-word boundary?
Thank you.
How can I check, if element does have any text? I have found some code, but it does not work. I need to do something like this: If element has text, write this, if not, write something else.
if (!$('.flexslider .item:first p').text().trim().length) {
var text = $(this).text();
$('.text-anim-sphone').html(text);
}
else {
$('.text-anim-sphone').html('welcome');
}
Hi all,
I'm using rmagick to manipulate image files. I use the ImageList.new on each file to get started. When I apply this method to an invalid image file I get the below error which interrupts the execution of the script:
RMagick.rb:1635:in `read': Improper image header (Magick::ImageMagickError)
Therefore I would like to be able to check whether a file is a valid image file before using this method.
Any ideas?
Thanks.
How can I check for a boolean to change state over a given period of time, and if a change is made over that time period perform a method?
Can any help please be given in Java.
Thanks.
may i know how to use javascript onChange on <input type="file"... so that when user selected files, onchange will call flash to return files size and decide what to do next
2nd. how to use javascript to exclude this check,if browser doesnt have flash feature
Hi.
Is there a way to check in Javascript if given a host it's SSL certificate is valid? (non blocking)
In my case I want to display: "you can also use https://.." if via javascript I can make a request to https://my_url without being asked to accept an untrusted certificate.
Can this be done asynchonously?
--
M.
I am trying to check the state of services when SQL Server is started. I am using xp_cmdshell and 'sc query SQLServerAgent | FIND "STATE"' for example to load the output to a global temp table. It works when SQL Server has already started but does not work when the proc is set to autoexec, via sp_procoption.
Hi
I wanna check inserted value in excel cell and if value is higher than something(for example 3000)
excel don't accept value(also throw error).
So how can I do this?
I have constructed an XML tree from an XML file. While constructing I do initWithKnd: or initWithKind: options: method.
How can I check if a node is of Element or CDATA or ay other kind while tracing the XML tree.
I have a row of IDs in a database that has been serialized.
What I'm trying to do is check those serialized IDs against a known ID to see if it should be excluded or not.
for example:
"SELECT * FROM mydb WHERE id = 4 AND checkID != 'an id in the serialized column' "
What's the best way to go about this?
im using asp.net c#.
I want to check if the current url has anything after the domain name.
e.g for the if the current url
www.example.com/
or
www.example.com
i want to set a bool to true.
if it has anything after i want to set it to false. e.g.
www.example.com/stuff
should return false.
Is there a way I can check to see if a value is NULL/Nil before assigning it to a BOOL?
For example, I have a value in a NSDictionary that can be either TRUE/FALSE/NULL
mySTUser.current_user_following = [[results objectForKey:@"current_user_following"]boolValue];
When the value is NULL I get the following error
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSNull boolValue]: unrecognized selector sent to instance
I would like to be able to handle the NULL case.
A bit of a basic question but how may I check if a anchor is in the url when I load the page?
For example www.mysite.com/mypage#show
And then in the JavaScript I can go if #show exists do this
Thanks.
Pretty basic programming question, I know PHP have a function for it, but does the iPhone OS have one?
I want to check if the current indexPath is a value in an array.
PHP Example:
<?php
$indexPath = 3;
$array = array("0", "1", "2", "3", "4");
if (in_array($indexPath, $array)) {
// Do something
}
?>
Does anybody know how to do the same thing inthe iPhone OS?
Is there a Maven plugin that allows you to check if there are newer versions of dependencies available in the repository?
Say, you are using dependency X with version 1.2. Now a new version of X is released with version 1.3. I'd like to know, based on the dependencies used in my project, which dependencies have newer versions available.
Hi, I am trying to set a cookie and also check if it is there, does anybody have any sample code for this? All I found was this, but it would be helpful if I could see an implementation example. http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookieStorage_Class/Reference/Reference.html
Could anyone please tell me how to check what number I've got from a * b? Which is I would like to know every part of this number so for example if the result from this expression would be 25 I would like to know that first digit is two and second digit is five.
Hello.
In ruby there's very common idiom to check if current file is "main" file:
if __FILE__ == $0
# do something here (usually run unit tests)
end
I'd like to do something similar in C after reading gcc documentation I've figured that it should work like this:
#if __FILE__ == __BASE_FILE__
// Do stuff
#endif
the only problem is after I try this:
$ gcc src/bitmap_index.c -std=c99 -lm && ./a.out
src/bitmap_index.c:173:1: error: token ""src/bitmap_index.c"" is not valid in preprocessor expressions
Am I using #if wrong?
As the title says.
I am looking for a way to check if a process is idle, there is the obvious running and not running but how to determine if it's not doing anything?
Thanks
Hello,
Im writing application in c++ and after try to run built (in debug mode) application on another machine I had error (The application has failed to start because its side-by-side configuration is incorect). I realised that there are missed DLLs from windows\WinSxS\
But I dont really know which folder contains what I really need and secondly I dont know how to check my compiler version in visual studio.
Thanks for help
When I connect Access 2007 to SQL Server (whether by ADO recordset or by linked table) I no longer get check box lists (of available filter values) in the datasheet column filters.
Is this feature available only with MDB/ACCDB and/or DAO?