- Entrada
id | Location |
---|---|
0 | UK ~ London~East London ~ Mile End |
1 | UK ~ London~East London ~ Shadwe |
- Comando:
XlocTree = pd.DataFrame(df_location_tree.rel.str.split('~', 3).tolist(), columns = ['ABBR','City','Region', 'Local'])
public String get(String filename) throws IOException { | |
Path root = Paths.get("data"); | |
Stream<Path> other = Files.walk(root, 3).filter(path -> !path.equals(root)).map(root::relativize); | |
List<Path> paths = (other.collect(Collectors.toList())); | |
System.out.println(paths); | |
for (Path path: paths) | |
if (path.toString().matches("^[A-z\\/]*" + filename)) |
import React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
import axios from 'axios'; | |
const BASE_URL = 'http://localhost:8080/api'; | |
class App extends Component { | |
constructor(props) { | |
super(props); |
<!-- Only permissions necessary --> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
<uses-feature android:name="android.hardware.location.gps" /> | |
<!-- Inside application tag --> | |
<service android:name=".LocationService"/> |
id | Location |
---|---|
0 | UK ~ London~East London ~ Mile End |
1 | UK ~ London~East London ~ Shadwe |
XlocTree = pd.DataFrame(df_location_tree.rel.str.split('~', 3).tolist(), columns = ['ABBR','City','Region', 'Local'])
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Materialize - Dash</title> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> |
Scripts to run specific services
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> |
#!/bin/sh | |
# prevents the display of color codes on colorless consoles | |
if test -t 1; then | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
BOLD='\e[01m' | |
RESET='\033[0m' | |
fi |