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
youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" https://www.youtube.com/playlist\?list\=PLu8EoSxDXHP5uyzEWxdlr9WQTJJIzr6jy |
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
public class Address | |
{ | |
// Internally used to determine if valueOf method should read the state and country picker fields | |
private static Boolean stateAndCountryPickersEnabled = false; | |
static | |
{ | |
// Are State and Country pickers enabled in this org? | |
Map<String, Schema.SObjectField> accountFields = Account.sObjectType.getDescribe().fields.getMap(); | |
stateAndCountryPickersEnabled = accountFields.containsKey('BillingStateCode'); |