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
| const sku = 'swg_stepped_pricing_test'; | |
| const getWindowSwg = (context = window) => { | |
| // eslint-disable-next-line compat/compat | |
| return new Promise((resolve, _reject) => { | |
| // SWG (global): represents an array of handlers that are called back | |
| // with a reference to the Subscriptions API once the library is loaded. | |
| // eslint-disable-next-line no-param-reassign | |
| (context.SWG = context.SWG || []).push((swg) => resolve(swg)); | |
| }); |
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
| rsync -v --progress --ignore-existing -a /path/to/itunesLibrary/ /path/to/backup/ |
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
| newsletterList: [ | |
| { | |
| name: 'WIRED Daily', | |
| newsletterId: 216, | |
| slug: 'daily', | |
| subscribe: { | |
| buttonLabel: 'Sign Up Now', | |
| dangerousDek: | |
| 'Our biggest stories, delivered to your inbox every day.', | |
| dangerousHed: 'Get WIRED's Daily Newsletter' |
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
| newsletterList: [ | |
| { | |
| name: 'Daily', | |
| newsletterId: 217, | |
| slug: 'daily', | |
| subscribe: { | |
| buttonLabel: 'Sign Up Now', | |
| dangerousDek: | |
| 'The best of <i>The New Yorker</i>, every day, in your in-box.', | |
| dangerousHed: 'The Daily' |
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
| newsletter: { | |
| defaultNewsletterId: 35169, | |
| manage: { | |
| dangerousDek: | |
| "Stay in the know with the latest stories from Vogue", | |
| dangerousHed: 'Sign Up For Our Newsletters' | |
| }, | |
| newsletterList: [ | |
| { | |
| name: 'Vogue Daily', |
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
| https://www.glamour.com/newsletter/[email protected]&newsletterId=248699 | |
| https://www.glamour.com/newsletter/unsubscribe?email=linh_nguyen%[email protected]&newsletterId=248699 | |
| Because the email address isn't properly encoded, Hapi will chunk it into something like "linh_nguyen [email protected]" |
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
| class Sponsor(models.Model): | |
| name = models.CharField(max_length=60) | |
| url = models.CharField(max_length=200, | |
| null=True, blank=True) | |
| ordering = models.PositiveIntegerField(default=0) | |
| sponsor_image = PostSaveImageField( | |
| upload_to=upload_path, | |
| thumbnails=( | |
| ('medium', ResizeRenderer(200, 200, quality=100)), | |
| ('small', ResizeRenderer(105, 105, quality=100)),)) |
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
| newsletters: [ | |
| { | |
| newsletterId: 39, | |
| buttonLabel: 'Sign Me Up', | |
| dangerousDek: | |
| 'Sign up to get the latest exclusive from Teen Vogue and friends', | |
| dangerousHed: 'Teen Vogue Daily Newsletter', | |
| name: 'Teen Vogue Daily Newsletter' | |
| }, | |
| { |
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
| newsletters: [ | |
| { | |
| buttonLabel: 'Sign Up', | |
| dangerousDek: | |
| 'Today’s biggest stories, from pop culture to politics', | |
| dangerousHed: 'Glamour Daily', | |
| newsletterId: 248699, | |
| name: 'Glamour Daily' | |
| }, | |
| { |