This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selenium.VerifyElementPresent("css=..."); // Specify your CSS selector here. If you are looking for a particular CSS style, the element would be present because it would have the CSS style. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selenium.browserbot.document.querySelector('foo.bar') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; | |
activityIndicator.center = CGPointMake(160, 191); // Subtract 49 pixels for the height if you have a tab bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Programmer { | |
public class Skillz { | |
public static void Main() { | |
Console.WriteLine("Round 1. CODE!"); | |
Console.WriteLine("--------------\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Cheese | |
attr_reader :name | |
def initialize | |
@name = "cheese" | |
end | |
def eat_cheese(cheese) | |
puts "This " + cheese.name + " is great!" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hello | |
def say_hello | |
puts "Hello world" | |
end | |
end | |
hello_class = Hello.new | |
hello_class.say_hello |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Diagnostics; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
using System.Data; | |
using System.Data.SqlClient; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Puppy | |
def bark | |
puts 'Woof' | |
end | |
def wag_tail | |
unless self.sad? | |
puts '<wags tail>' | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Example { | |
public class Pyro { | |
// Some property | |
bool isAwesome; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var contributionData = new List<dynamic> { | |
new Contribution { FundOrPledgeDrive = "Auto Test Fund", SubFund = null, Amount = "2204" }, | |
new Contribution { FundOrPledgeDrive = "Auto Test Fund", SubFund = null, Amount = "2208" } | |
}; |
OlderNewer