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 allLinks = $('source[type="audio/mpeg"]') | |
| .toArray().map((elem) => { | |
| return $(elem).attr('src') | |
| }); | |
| function downloadBlob(blob, filename) { | |
| const a = document.createElement('a'); | |
| a.download = decodeURI(filename); | |
| a.href = blob; | |
| a.className = Math.floor(Math.random() * 100000).toString(); |
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
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.4; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| // @title An abstract contract for contracts that have a whitelist | |
| // @author twitter.com/aiomonitors | |
| // @dev Should be inherited | |
| abstract contract HasWhitelist is Ownable { |
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 Promise = require('promise'); | |
| const Embed = require('./maker.js').Embed; | |
| const Logger = require('./logger.js').logger; | |
| const funcs = require('./funcs.js'); | |
| const request = require('request-promise-native'); | |
| const cheerio = require('cheerio'); | |
| let jar = request.jar(); | |
| let infoJson = {}; |
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
| { | |
| "Martin Wong/Supreme Schott® 8-Ball Leather Varsity Jacket": { | |
| "description": "Cowhide leather with satin lining and full zip closure. Double welt hand pockets at lower front and interior chest pocket. Embroidered logo on chest and printed graphic on back. Original artwork by Martin Wong. Made exclusively for Supreme.", | |
| "image": "https://assets.supremenewyork.com/174592/zo/jw9zknKCOVw1.jpg", | |
| "url": "/previews/fallwinter2019/jackets/martin-wong-supreme-schott-8-ball-leather-varsity-jacket-4" | |
| }, | |
| "Team Varsity Jacket": { | |
| "description": "Wool blend with cowhide leather sleeves and quilted satin lining. Snap front closure with double welt hand pockets at lower front and interior chest pocket. Two-layer felt and chenille appliqué graphics with embroidery. Washed for a worn-in appearance.", | |
| "image": "https://assets.supremenewyork.com/173588/zo/8aqbRDRNYJo.jpg", | |
| "url": "/previews/fallwinter2019/jackets/team-varsity-jacket-6" |
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
| { | |
| "Martin Wong/Supreme Schott® 8-Ball Leather Varsity Jacket": { | |
| "description": "Cowhide leather with satin lining and full zip closure. Double welt hand pockets at lower front and interior chest pocket. Embroidered logo on chest and printed graphic on back. Original artwork by Martin Wong. Made exclusively for Supreme.", | |
| "image": "https://assets.supremenewyork.com/174592/zo/jw9zknKCOVw1.jpg", | |
| "url": "/previews/fallwinter2019/jackets/martin-wong-supreme-schott-8-ball-leather-varsity-jacket-4" | |
| }, | |
| "Team Varsity Jacket": { | |
| "description": "Wool blend with cowhide leather sleeves and quilted satin lining. Snap front closure with double welt hand pockets at lower front and interior chest pocket. Two-layer felt and chenille appliqué graphics with embroidery. Washed for a worn-in appearance.", | |
| "image": "https://assets.supremenewyork.com/173588/zo/8aqbRDRNYJo.jpg", | |
| "url": "/previews/fallwinter2019/jackets/team-varsity-jacket-6" |