Skip to content

Instantly share code, notes, and snippets.

View Aagbator's full-sized avatar

Agbator Anthony Aagbator

View GitHub Profile
@Aagbator
Aagbator / keybase.md
Last active November 6, 2023 17:52
GPG Public key

Keybase proof

I hereby claim:

  • I am aagbator on github.
  • I am aagbator (https://keybase.io/aagbator) on keybase.
  • I have a public key ASAlD6wNKzUM5-VsEyUEzIRitiD2z8Eryq-0KApBsiookAo

To claim this, I am signing this object:

import {Component, OnInit, ViewChild} from '@angular/core';
import {SharedService} from '../../../services/shared-service/shared.service';
import {Constants} from '../../../util/Constants';
import {AnonymousService} from '../../../services/anonymous-service';
import {AuthService} from '../../../services/auth-service/auth-service.service';
import {MdSnackBar, MdSnackBarConfig} from '@angular/material';
import {FormBuilder, FormGroup, FormGroupDirective, Validators} from '@angular/forms';
import {ErrorService} from '../../../util/error_service/error.service';
import {ToastService} from '../../../util/toast-service/toast.service';
import {MobileNetworks} from '../../../util/mobile-networks';
function first_repeating_character(ch) {
if(!ch){
return null;
}
let charSet = new Set(ch)
for (var c of [...ch] ) {
if(charSet.has(c)){
return c;
}
else {