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, { useState } from "react" | |
| import PropTypes from 'prop-types' | |
| import "./input.css" | |
| import TypingIndicator from "./TypingIndicator" | |
| const input = (props) => { | |
| const styles = ["plank", "staggered", "split"] | |
| const [stateIsFocused, setStateIsFocused] = useState(false) |
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 pandas as pd | |
| from token import TOKEN # token personal: http://www.energiaabierta.cne.cl/ | |
| TIPOS = ['calefaccion','vehicular'] | |
| SOURCE = 'http://api.cne.cl/v3/combustibles/{}/estaciones?token={}' | |
| COPY_VARS = ['nombre_comuna', 'id_region', 'direccion_calle', 'fecha_hora_actualizacion'] | |
| for tipo in TIPOS: | |
| print(tipo) | |
| df = pd.read_json(SOURCE.format(tipo, TOKEN)) | |
| out = pd.DataFrame() |
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
| {"keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": | |
| [ | |
| { "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" }, | |
| { "match_all": true, "key": "selection_empty" }, | |
| { "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" }, | |
| { "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" }, | |
| { "match_all": true, "key": "is_abbreviation" } | |
| ] | |
| } |