This file contains hidden or 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
| /** | |
| * A UUID generator that can construct unique IDs in a variety of formats. | |
| * | |
| * A UUID is generated immediately upon instantiation of this class. The UUID can be retrieved in its normal form | |
| * (e.g. f111b8c5-ca2f-4a1a-8d0d-a8dd5f37c05f) or as a shortened web-safe form (e.g. jp64hwPZ-Lh7vY8INQA7ImQPbQE), which | |
| * is constructed by converting the UUID to Base64 and replacing '/' and '+' with '-' and '_', respectively. | |
| */ | |
| public class Uuid { | |
| private static final String HEX_PREFIX = '0x'; |
This file contains hidden or 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
| /** | |
| * A collection of static utility methods for unit testing. | |
| */ | |
| @IsTest | |
| public class TestUtil { | |
| // ID generator configuration | |
| private static final Integer ID_RESERVED_CHARACTERS = 7; | |
| private static final Integer ID_INCREMENTER_PREFIX_LENGTH = 1; | |
| private static final String BASE62_ALPHABET = '0123456789abcdefghijklmnopqrstuvwqyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; |
This file contains hidden or 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
| [ | |
| { | |
| "slug": "afghanistan", | |
| "name": "Afghanistan", | |
| "alpha2": "AF", | |
| "alpha3": "AFG", | |
| "numerical": "004", | |
| "iso_3166_2": "ISO 3166-2:AF" | |
| }, | |
| { |
This file contains hidden or 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
| hbspt.forms.create({ | |
| portalId: 'PORTAL_ID', | |
| formId: 'FORM_ID', | |
| onFormReady: function($form) { | |
| var $formRequiredElements = $form.find('[required]'); | |
| var formRequiredFields = []; | |
| $formRequiredElements.each(function() { | |
| var fieldName = $(this).attr('name'); |
This file contains hidden or 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
| # `curl https://raw.githubusercontent.com/ivolo/disposable-email-domains/master/index.json -s | jq -r '.[]' | gist` | |
| 0-180.com | |
| 0-30-24.com | |
| 0-420.com | |
| 0-900.com | |
| 0-aa.com | |
| 0-mail.com | |
| 0-z.xyz | |
| 00.pe | |
| 000476.com |
This file contains hidden or 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
| let bookmarkList = Array.from(document.querySelectorAll('.widget>.vbox')) | |
| .map(e => e.shadowRoot) | |
| .map(e => e && e.querySelector('.device-page-list')) | |
| .find(e => e); | |
| let bookmarks = Array.from(bookmarkList.querySelectorAll('.vbox')) | |
| .map(e => `<a href="${e.querySelector('x-link').innerHTML}">${e.querySelector('.device-page-title').innerHTML}</a>`); | |
| copy('<html><body>' + bookmarks.join('\n') + '</body></html>'); |
This file contains hidden or 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
| abb | |
| abbott | |
| abc | |
| abogado | |
| abudhabi | |
| ac | |
| academy | |
| accountant | |
| accountants | |
| aco |
This file contains hidden or 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
| *.abbott | |
| *.abogado | |
| *.abudhabi | |
| *.ac | |
| *.academy | |
| *.accountant | |
| *.accountants | |
| *.aco | |
| *.actor | |
| *.ad |
This file contains hidden or 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
| module Entry::TrackerBlocking | |
| extend ActiveSupport::Concern | |
| included do | |
| has_many :blocked_trackers | |
| end | |
| email_service_blockers = { | |
| "ActiveCampaign" => /lt\.php(.*)?l\=open/, | |
| "AWeber" => "openrate.aweber.com", |
This file contains hidden or 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
| gmail.com | |
| yahoo.com | |
| hotmail.com | |
| aol.com | |
| hotmail.co.uk | |
| hotmail.fr | |
| msn.com | |
| yahoo.fr | |
| wanadoo.fr | |
| orange.fr |