Skip to content

Instantly share code, notes, and snippets.

View ton3s's full-sized avatar
😜

Antonio Cunanan ton3s

😜
  • Richardson, Texas
View GitHub Profile
#!/usr/bin/env python
import re
import pexpect
#-----------------------------------------------------------------------
def get_devices_list():
    devices_list = []
    file = open('devices_iosxr', 'r')
R9#show debug
OSPF:
OSPF RIB (Routing Information Base) debugging is on
OSPF Local RIB (Routing Information Base) debugging is on
OSPF Global RIB (Routing Information Base) debugging is on
OSPF Redistribution debugging is on
OSPF events debugging is on
OSPF flooding debugging is on
OSPF LSA generation debugging is on
import {Injectable} from '@angular/core';
import {FirebaseAuth, AngularFire} from "angularfire2";
import {Subject, Observable, BehaviorSubject} from "rxjs";
import {AuthInfo} from "./auth-info";
@Injectable()
export class AuthService {
static UNKNOWN_USER = new AuthInfo(null);
authInfo$: BehaviorSubject<AuthInfo> = new BehaviorSubject<AuthInfo>(AuthService.UNKNOWN_USER);