Skip to content

Instantly share code, notes, and snippets.

View luciovilla's full-sized avatar

Lucio Villa luciovilla

View GitHub Profile
import { useRef } from 'react';
import { useRouter } from 'next/router';
export default function SearchComponent() {
const searchInputRef = useRef(null);
const router = useRouter();
const search = (event) => {
event.preventDefault();
@luciovilla
luciovilla / wmata_api_stations.json
Created October 11, 2022 03:41
Full list of stations from WMATA API request
{
"Stations": [
{
"Code": "A01",
"Name": "Metro Center",
"StationTogether1": "C01",
"StationTogether2": "",
"LineCode1": "RD",
"LineCode2": null,
"LineCode3": null,
@luciovilla
luciovilla / config.json
Last active November 22, 2023 18:14
test
{
"f5615ba6-a142-440f-ac38-d20d9a05fcc4": {
"forceTags": ["force-youtube"],
}
}