This file contains 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, { useState } from "react"; | |
import { Marker } from "pigeon-maps"; | |
import Modal from "react-modal"; | |
import "./RouteModal.css"; | |
export default function RouteModal(props) { | |
const [modal, setModal] = useState(false); | |
const toggleModal = () => { |
This file contains 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 python3 | |
import curses | |
def init_screen(): | |
stdscr = curses.initscr() | |
curses.echo() | |
curses.nocbreak() | |
curses.start_color() | |
curses.use_default_colors() |