Skip to content

Instantly share code, notes, and snippets.

View amirping's full-sized avatar
🏠
Working from home

Med Amir Saadallah amirping

🏠
Working from home
View GitHub Profile
@amirping
amirping / system information
Created January 30, 2021 20:40
system information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
CPU Family: 0x6
import { Component, Input, OnChanges, SimpleChange, OnInit, Inject } from '@angular/core';
import { Headers, Http, RequestOptions } from '@angular/http';
import { DomSanitizer, SafeHtml, SafeUrl, SafeStyle } from '@angular/platform-browser';
import { Observable } from 'rxjs/Observable';
import { radio } from '../classes/radio';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
import { DialogComponent } from './dialogWeather.components';
//declare var Vibrant: any;
//import Vibrant = require('node-vibrant/src/vibrant');
@amirping
amirping / pip
Created February 14, 2018 13:12
pip help
import { Pipe, PipeTransform } from '@angular/core';
import { radio } from '../classes/radio';
@Pipe({ name: 'searchRadio' })
export class SearchRadioPipe implements PipeTransform {
transform(allRadios: radio[] , name :string , location:string) {
let result ;
let final ;
let respat = RegExp(".","g"); // match any thing
@amirping
amirping / index.html
Created December 2, 2017 02:15
Cesar Cryptot
<!DOCTYPE html>
<html ng-app="app">
<head>
<link rel="stylesheet" href="style.css" />
</head>
<body ng-controller="main">