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 CodeRunner | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
Console.WriteLine ("Hello World!"); | |
} |
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
//: Playground - noun: a place where people can play | |
class Account: Hashable { | |
var accountID: String = "" | |
var hashValue: Int = 0 | |
} | |
func ==(lhs: Account, rhs: Account) -> Bool { | |
return lhs.accountID == rhs.accountID | |
} |
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 url = "https://appexchange.salesforce.com/listingDetail?listingId=a0N30000004fnkUEAQ"; | |
var page = require('webpage').create(); | |
var loaded = false; | |
var currentPage = 1; | |
// Set this to the highest page of reviews you want to load (e.g. if there are 1000 reviews, that's 100 pages to load) | |
var maximumPage = 1; | |
// It takes time to load each page of reviews. If this value is too low, you'll get errors because the data hasn't | |
// fully loaded. 15 seconds seems to always work, but 5 or 10 seconds may be enough. |
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
04ba45daf1df06ad63d54939106701a1e7d89b4f27d205ef4a96134c3376c4071d1f9ba549e9458fa109450bf868bbca44b773fa7a7ab2ee363a053b34176ecda2 |