cat xa{a..g} > somfile.extension
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 { Injectable } from '@angular/core'; | |
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; | |
import { Observable } from 'rxjs/Observable'; | |
@Injectable() | |
export class ServerLocationInterceptor implements HttpInterceptor { | |
public intercept(req: HttpRequest<any>, | |
next: HttpHandler): Observable<HttpEvent<any>> { |
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 {HttpClient, HttpErrorResponse, HttpHeaders, HttpParams} from '@angular/common/http'; | |
import {Injectable} from '@angular/core'; | |
import {Observable} from 'rxjs/Observable'; | |
export interface IRequestOptions { | |
headers?: HttpHeaders; | |
observe?: 'body'; | |
params?: HttpParams; | |
reportProgress?: boolean; | |
responseType?: 'json'; |
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 { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
import { ApplicationHttpClient, applicationHttpClientCreator } from './http-client'; | |
import { AppComponent } from './app.component'; | |
import { HttpClient } from '@angular/common/http'; | |
@NgModule({ |
git config --local user.name ""
git config --local user.email ""
// First enable developer mode and ADB debugging
from the Developer options.
adb connect xxx.xxx.xxx.xxx:5555
adb shell pm enable com.sony.dtv.smarthomesettings