Hi folks,
Quick question. I want to change the color of an int based on the value being positive or negative, using css if possible.
Any ideas??
Thanks again!
I have two detected dependencies with the same name (different paths) showing up in my setup project's detected dependencies. One's the "old" one, at an old path. How can i determine which portion of my primary project is causing the "old" one to show up? I can probably do it by trial and error, but is there a quick/direct way?
Hi.
Can somebody point me to good intruductions into OOP main paradigms, like inheritance, polymorphism, incapsulation? I am looking for short article, about 2-3 pages, for very quick reading.
Thank you very much.
Hi all,
Basic array question:
$string = "The quick brown cat";
$check1 = "apple";
$check2 = "ball";
$check3 = "cat";
if ( (stripos($string, $check1) === false) ||
(stripos($string, $check2) === false) ||
(stripos($string, $check3) === false)
) {
echo "Fail";
}
How do I condense the above using an array ($check[])?
Thanks!
I am going create a new xib which is very similar to an existing one. Instead on of crate an blank new one, copy UI elements and viewcontroller IOOutlets; is there a quick way to clone a xib with corresponding new viewcontroller class?
Thanks
I'm looking to extract key pieces of information from the following website to simplify the signup process. More or less I want to build a quick import script that will grab the following:
1) Username
2) Type (Model / Photographer)
3) Age
4) Sex
5) City, State, Zip
6) Email
7) Photos
I will then take all of this data and add it to join form / push the photos through a manipulation script.
Any ideas?
I could easily be wrong, but when I see databind I think of code that is quick to develop and inflexible and often ugly, e.g, embedding <% % tags in html.
O
I want my text box controls to remember previous input and have intellisense, like web control inputs.
Is there a quick, free and easy to implement solution to this?
Hey guys quick question, I am sending a request with the jquery ajax function with a variable. After the request I want that variable updated to match the value of the sent back information, so next time the ajax function executes, it send the value of the new variable.
$.ajax({
type: "POST",
data: "countusers=" + countusers,
url: "tester.php",
dataType: 'json',
success: function(json)
{
var countusers=json.rownumber;
}
}
})
I have Perl code:
my $s = "The+quick+brown+fox+jumps+over+the+lazy+dog+that+is+my+dog";
I want to replace every + with space and dog with cat.
I have this regular expression:
$s =~ s/\+(.*)dog/ ${1}cat/g;
But, it only matches the first occurrence of + and last dog.
Using jQuery, how do you check if there is an option selected in a select menu, and if not, assign one of the options as selected.
(The select is generated with a maze of PHP functions in an app I just inherited, so this is a quick fix while I get my head around those :)
I have an existing project that I imported into subversion using TortoiseSVN. Total project size says 1.45MB. Total folder size on my machine is 9.72MB.
Create new folder, right-click, checkout 7.14MB transferred and 19.4MB on my machine.
Can anyone explain this to me? I did a quick KDiff on the folders and they're identical.
Hi everyone,
Quick question, how can I make this valid :
if($this->datos->bathrooms == "1½"){$select1 = JText::_( 'selected="selected"' );}
The ½ doesn't seem to be recognized. I tried to write it as ½ but then it looks for ½ literally, and not the ½ sign. Any ideas?
Quick one for you guys.
Say I have a function that outputs a string:
function myString()
{
echo 'Hello World';
}
How would I go about testing to see if the function outputs any data?
if(myString() ==''){
echo ''Empty function;
}
Hi Everyone:
I am wondering if there is some way to align text on the right of a photo, and keep the text in that same "box" even after the image ends using HTML and CSS. A quick "diagram" of what I am attempting to accomplish is below:
------- --------
------- --------
-Image- - Text -
------- --------
------- --------
--------
--------
Thanks for any help!
How to project an ASP Classic page with either HTTP AUTH (you must provide a username and password to OrderGroove) or a randomly generated access key that will be included as one of the parameters of the HTTP POST using the variable name access_key.
Can anybody provide asp classic code in this regard?
Quick help will be appreciated...
Hi folks,
Real quick question - what's the cleanest way of editing the characters in a string in C#?
i.e. what is cleanest C# equivalent of c++:
std::string myString = "boom";
myString[0] = "d";
I'd like to get a quick overview of available solutions (libraries, ...) that allow me to work with XML documents with namespaces on a DOM level - in GWT's client side.
Additionally, I'm looking for an XPath solution that can work on that DOM (even if it requires writing my own XPath Navigator).
XML parsing and serialization isn't necessary on the client - this can be done on the server.
I have a Python function accepting several string arguments def foo(a, b, c): and concatenating them in a string.
I want to iterate over all function arguments to check they are not None. How it can be done?
Is there a quick way to convert None to ""?
Thanks.
Hi, using iphone SDk3.0, how does one prevent the iphone from sleeping so wifi remains
on but still allow the screen to be dimmed(locked).
Disabling the idle timer is no good as that prevents screen lock and drains the battery really quick.
Thanks
Hi, another iPhone newbie question...
I have the following:
NSPersistentStoreCoordinator
NSManagedObjectContext
NSManagedObjectModel
Is it possible to run queries directly on the store (since its a sqlite DB)? I'm trying to delete all the records from a tableview, and figured a "DELETE FROM table" would be nice and quick as opposed to looping through the records and removing them manually (which i'm also struggling with).
Thanks for your time,
James
I am trying to figure out how the search tool in a web browser is being able to parse through the entire web page(assuming huge content on a page) and highlight the result as we type. Does it pre-cache the page while loading in a map or use regex to get a quick result on the fly?
I found this piece of code:
char a = 1["ABC"];
A few quick test led me to the fact it was the same than writing:
char a = "ABC"[1];
Which seems far more logical to me. So my questions:
Why is this notation valid?
Is there any reason to write something that way?