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 fitz # PyMuPDF | |
| import json | |
| def pdf_to_json(pdf_path, json_path): | |
| doc = fitz.open(pdf_path) | |
| data_list = [] | |
| for page_num in range(len(doc)): | |
| page = doc.load_page(page_num) | |
| text = page.get_text().replace("а́\n-", "а́-") |
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 isRepairingTracks = false; | |
| let wasPlaying = false; | |
| let videoLoaded = false; | |
| let isWaiting = false; | |
| function setTracks() { | |
| if (!document.querySelector('video')) { | |
| return; | |
| } |
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
| function() | |
| local BL = { | |
| Wrath = 190984, | |
| Starfire = 194153, | |
| EclipseSolar = 48517, | |
| EclipseLunar = 48518, | |
| Starsurge = 78674, | |
| Starfall = 191034, | |
| Sunfire = 93402, |
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
| function() | |
| local BL = { | |
| Wrath = 5176, | |
| Starfire = 197628, | |
| EclipseLunar = 48518, | |
| EclipseSolar = 48517, | |
| Starsurge = 197626, | |
| Sunfire = 93402, | |
| Moonfire = 8921, |
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
| name | website | genre | mtv | |||
|---|---|---|---|---|---|---|
| Adele | http://www.facebook.com/9770929278 | http://www.twitter.com/officialadele | Pop | http://www.mtv.com/artists/adele/biography | ||
| Joey + Rory | http://www.facebook.com/15044507815 | http://www.twitter.com/joeyandrory | Country | http://www.cmt.com/artists/joey-rory/biography | ||
| Draaco Aventura | http://www.facebook.com/856796091053581 | http://www.twitter.com/DraacoAventura | http://www.bandpage.com/draacoaventura | Pop Latino | http://www.mtv.com/artists/draaco-aventura/biography | |
| Justin Bieber | http://www.facebook.com/309570926875 | http://www.twitter.com/justinbieber | http://www.justinbiebermusic.com | Pop | http://www.mtv.com/artists/justin-bieber/biography | |
| Peer van Mladen | http://www.facebook.com/264487966 | http://www.twitter.com/Predrag_Jugovic | http://pejaintergroup.eu/Peer_van_Mladen.html | House | http://www.mtv.com/artists/peer-van-mladen/biography | |
| Chris Janson | http://www.facebook.com/296647641825 | http://www.twitter.com/janson_chris | http://www.chrisjanson.com | Country | http://www.cmt.com/a |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| global_colors = Dict( | |
| "aliceblue" => [240, 248, 255], | |
| "antiquewhite" => [250, 235, 215], | |
| "aqua" => [0, 255, 255], | |
| "aquamarine" => [127, 255, 212], | |
| "azure" => [240, 255, 255], | |
| "beige" => [245, 245, 220], | |
| "bisque" => [255, 228, 196], | |
| "black" => [0, 0, 0], | |
| "blanchedalmond" => [255, 235, 205], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <img src="img/missing-image.png" onerror="javascript:this.src='img/default.png'"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.