Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.targetCreate a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| import { Pipe, PipeTransform } from '@angular/core'; | |
| import { Http, RequestOptions, Headers, ResponseContentType } from @angular/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import 'rxjs/add/operator/map'; | |
| import 'rxjs/add/operator/switchMap'; | |
| @Pipe({name: 'image'}) | |
| export class ImagePipe implements PipeTransform { | |
| constructor(private http: Http) {} |
| import pandas as pd | |
| from google.cloud import firestore | |
| db = firestore.Client() | |
| users = list(db.collection(u'users').stream()) | |
| users_dict = list(map(lambda x: x.to_dict(), users)) | |
| df = pd.DataFrame(users_dict) |