Git Product home page Git Product logo

azan's Introduction

azan

prayers time calculator, written in nasm.

  • standalone nasm
  • unix portable syscalls
  • tested on Linux, OpenBSD, FreeBSD and NetBSD
  • OpenBSD pledge.
  • binary size ≈ 7 kb
  • instructions ≈ 250-400
  • branches ≈ 6-20

Installation

dependency

  • nasm (assembler)
  • ld (linker)

current

git clone git://git.afify.dev/azan
cd azan/
make
make install

latest release

wget $(curl -s https://git.afify.dev/azan/tags.xml | grep --color=never -m 1 -o "\[v.*\]" | tr -d '[]' | awk '{print "https://git.afify.dev/azan/releases/azan-"$1".tar.gz"}')
tar -xzf azan-*.tar.gz && cd azan-*/
make
make install

Run

$ azan

Options

$ azan [-AaNnUuv]
$ man azan
option description
-A print all prayers time, 12-hour clock format.
-a print all prayers time, 24-hour clock format.
-N print next prayer time, 12-hour clock format.
-n print next prayer time, 24-hour clock format.
-U print all prayers time, unix-time format.
-u print next prayer time, unix-time format.
-v print version.

Configuration

The configuration of azan is done by creating a custom config.s and (re)compiling the source code.

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.