Code Monkey home page Code Monkey logo

numerology's Introduction

Numerology

This is a fun piece of JS code that takes in a Javascripted array of names, and filters out all the ones which (by default) have the numerological value of 22.

Numerology is a devisive topic; no scientific proof exists that backs up the claims made by its supporters. Yet, in some belief systems, numerology is a very popular way of determining any number of life factors - those of loved ones, people you know, events, the ideal time of conception.

Prerequisites

You will need the following installed on your computer

  • Git
  • Python (this is already installed on later versions of Mac OS and various popular flavours of Linux)

Installation and running

  • git clone <repository-url> this repository
  • change into the new directory
  • Invoke the Python SimpleHTTPServer, by typing python -m SimpleHTTPServer. By default, this opens on port 8000.
  • Enter http://localhost/<repository-url>

A list of names should appear onscreen.

About the code

Two reasons exist for this repository; the first is that I wanted a playground within which to expand my knowledge of Javascript, best practices, that sort of thing. Secondly, was that I learned about numerology from a recently passed away acquaintance of mine. He worked as a nurse in Malaysia, but was well versed in Indian Astrology, from which this particular 'strand' of numerology is based. I'm no 'expert' on numerology, and have merely based my particular alphabet numerology on a chart that he passed on. On the proviso that the code is used for informational and entertainment purposes, I hope you enjoy looking over it.

At present, it relies on the jQuery library, merely for HTML list population. This can easily be replaced in the future. The code originally lived as a JSFiddle, but it made more sense to move it to a repo, so revisions could be tracked better.

The JS code is annotated, something I intend to keep as much as possible.

I'm certainly interested in seeing what the ES6 specification can bring in terms of further code amends, any suggestions about this or anything code related are welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.