I hereby claim:
- I am supryan on github.
- I am supryan (https://keybase.io/supryan) on keybase.
- I have a public key ASDivYGRwC1udJZwawbb9MEBoIC0V7WJoG0taeynGUDCAgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { Injectable } from '@angular/core'; | |
import { Observable, Subject, from } from 'rxjs'; | |
@Injectable() | |
export class EventsService { | |
public listeners; | |
public eventsSubject; | |
public events; | |
constructor() { |
Last modified: 7/17/19 6:10PM PST
Writing this for posterity to ensure that all local servers/databases are secure across an open network. All of the following actions must be done on the command line.
This is if your credentials are default root password with blank URL. These commands only work for MySQL v5.6 and below. Your phpMyAdmin credentials will be updated immedaitely after
detectIE() { | |
const ua = window.navigator.userAgent; | |
const msie = ua.indexOf('MSIE '); | |
const trident = ua.indexOf('Trident/'); | |
const edge = ua.indexOf('Edge/'); | |
const rv = ua.indexOf('rv:'); | |
if (msie > 0) { | |
// IE 10 or older => return version number | |
return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); |