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 from 'react' | |
| import { withRouter, Link } from 'react-router-dom' | |
| import { graphql, compose } from 'react-apollo' | |
| import { Formik } from 'formik' | |
| import Yup from 'yup' | |
| import FormWideError from '../elements/form/FormWideError' | |
| import TextInput from '../elements/form/TextInput' | |
| import Button from '../elements/form/Button' | |
| import { H2 } from '../elements/text/Headings' |
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
| module YourAPIClient exposing (Config, otherFunctions) | |
| import Http | |
| import Json.Decode as Decode | |
| import Json.Encode as Encode | |
| -- Config | |
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
| #first install all the things: | |
| sudo apt-get install flac ffmpeg mp3splt libav-tools shntool | |
| # Okay first lets do an MP3: | |
| # input files: | |
| # --> cd.ape | |
| # --> cp.cue | |
| # (there are other options, like bitrate, but this is just the bare bones) | |
| avconv -i cd.ape cd.mp3 |
brew install mutt- setup an app password for mutt in gmail
- setup an app password for imap_notifier in gmail
brew install terminal-notifierterminal-notifiergem install imap_notifierimap_notifierbrew install urlviewbrew install w3m(linkswould be OK too)- Install pandoc to author in markdown and send as HTML
Provided that you already have a file or stream segmenter generating your .m3u8 playlist and .ts segment files (such as the ffmpeg 'hls' muxer), this little node server will serve up those files to an HLS compatible client (e.g. Safari). If you're using node for your streaming app already, this obviates the need to serve the HLS stream from a separate web server.
loosely based on https://gist.github.com/bnerd/2011232
// loosely based on https://gist.github.com/bnerd/2011232
// requires node.js >= v0.10.0
// assumes that HLS segmenter filename base is 'out'
// and that the HLS playlist and .ts files are in the current directory