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
| alert("loading and executing external script from github!!!"); |
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
| """ | |
| Run this code via | |
| $ python download_youtube.py <youtube_url> | |
| Requires downloading ffmpeg | |
| $ sudo apt install ffmpeg | |
| Sometimes ipv6 needs to be switched off. | |
| $ sudo sysctl net.ipv6.conf.all.disable_ipv6=1 | |
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
| """ | |
| Converts standard SVG data uri into a tiny one as per: | |
| https://github.com/tigt/mini-svg-data-uri | |
| """ | |
| import urllib.parse | |
| import re |
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
| import React, {useEffect, useState, ReactDOM} from 'react'; | |
| import {useLocation} from 'react-router-dom'; | |
| // This is shared code for all CMS listeners. | |
| // Listens to events from login.<domain-name>.craftie.xyz, | |
| // Edits the page after events are received. | |
| import Quill from 'quill'; | |
| // import ReactQuill from 'react-quill'; | |
| // import 'react-quill/dist/quill.snow.css'; | |
| import getCssSelector from 'css-selector-generator'; |