Skip to content

Instantly share code, notes, and snippets.

View maziCodes's full-sized avatar
:octocat:
Churning codes...

Emeka Nwachukwu maziCodes

:octocat:
Churning codes...
View GitHub Profile
@maziCodes
maziCodes / number-to-words.pipe.ts
Created May 31, 2019 01:12 — forked from itsTeknas/number-to-words.pipe.ts
An Angular 4 pipe to convert a number to an equivalent words representation for Indian Rupees.
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'numberToWords'
})
export class NumberToWordsPipe implements PipeTransform {
a = [
'',
'one ',
@maziCodes
maziCodes / nigeria-states-and-local-govts.json
Created January 28, 2019 15:59 — forked from mofesolapaul/nigeria-states-and-local-govts.json
Json array containing objects of each Nigerian state, and its local governments
[
{
"state": "Abia",
"lgas": [
"Aba North",
"Aba South",
"Arochukwu",
"Bende",
"Ikawuno",
"Ikwuano",