Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');| import React, {Component} from 'react'; | |
| import {TextInput, View, Keyboard} from 'react-native'; | |
| import {Constants, Notifications, Permissions} from 'expo'; | |
| export default class Timer extends Component { | |
| onSubmit(e) { | |
| Keyboard.dismiss(); | |
| const localNotification = { | |
| title: 'done', |
| import React from "react"; | |
| const context = React.createContext(); | |
| export function QueryClientProvider({ children, client }) { | |
| React.useEffect(() => { | |
| const onFocus = () => { | |
| client.queries.forEach((query) => { | |
| query.subscribers.forEach((subscriber) => { | |
| subscriber.fetch(); |
| // open your javascript console and paste this | |
| copy([...$('[role="grid"]')[Object.keys($('[role="grid"]')).filter(x => x.startsWith('__reactProps'))[0]].children[0].props.values[0][1].collection].filter(x => x.value.audio_url).map(x => x.value.audio_url).join(' ')) | |
| // now you have a list of mp3 urls directly in your clipboard that you can pass to wget or a url downloader |