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 { Plugin } from 'prosemirror-state' | |
export default function ({ nodeType, onChange }) { | |
return new Plugin({ | |
state: { | |
init: () => null, | |
// eslint-disable-next-line max-params | |
apply: (tr, currentValue, oldState, newState) => { | |
const changes = { added: [], removed: [] } | |
tr.mapping.maps.forEach(map => { |
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
1 | |
00:01:28,236 --> 00:01:29,845 | |
<i>We're screwed.</i> | |
2 | |
00:01:29,946 --> 00:01:31,580 | |
<i>No more free Wi-Fi.</i> | |
3 | |
00:01:33,016 --> 00:01:34,016 |
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
#EXTM3U | |
#EXT-X-TARGETDURATION:125 | |
#EXT-X-VERSION:3 | |
#EXT-X-MEDIA-SEQUENCE:0 | |
#EXTINF:122.797511, | |
https://redirector.googlevideo.com/videoplayback?expire=1574079500&ei=qzfSXfffLteslQSw7KK4BQ&ip=58.186.79.102&id=o-AM77zJ944HQEZJoCwRtClsAKEJIvMmmnwZNH6KhWRWvp&itag=134&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-42u-i5ol%2Csn-npoe7ne7&ms=au%2Conr&mv=m&mvi=6&pl=22&initcwndbps=808750&mime=video%2Fmp4&gir=yes&clen=5317926&otfp=1&dur=122.789&lmt=1573625677438601&mt=1574057803&fvip=5&keepalive=yes&fexp=23842630&c=WEB&txp=6216222&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cmime%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=ALgxI2wwRQIhAOOfIWBrRKU8LM8CUwfw99dU_qdkrB0FsI7GxIVYq6p8AiBhiUEsyyovETPVJQ42zyuw91y_14Nvel6wcOKc3o7VmQ%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRAIgE22XS-X19oSeNrxfpgW0cSWelU3VgguddwxfIxuH_SMCIGHm-GwoTlrhIThqn0BoLRL6CWxX54hxu0ngol7Q-iHm | |
#EXTINF:117.458489, | |
https://redirector.googlevideo.com/videop |
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
#!/usr/bin/env bash | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get install -y python-software-properties |