Coder Social home page Coder Social logo

midnight's Introduction

Полночь

По мнению некоторых ученых время ночного намаза заканчивается в полночь и ночной намаз, совершенный после полуночи считается возмещенным. А полночь в свою очередь определяется как середина между временем вечернего азана и утреннего.

Эта программа подсчитывает время полуночи для заданного года в заданной местности.

Как использовать?

  1. Создаем в корне файл config.json и заполняем:

    {
      "latitude": 21.422512,  // широта вашей местности
      "longitude": 39.82618,  // долгота вашей местности
      "year": 2024,
      "outputCSV": "Midnight.csv"
    }
  2. Теперь запускаем: make run.

  3. На этом полномочия данного кода все, теперь идем в гугл таблицы: https://docs.google.com/spreadsheets/

  4. Тыкаем сюда:

    img1.png

  5. Потом сюда:

    img2.png

  6. Выбираем выходной файл программы (если ничего не меняли, то он в папке с кодом: Midnight.csv)

  7. Теперь сортируем даты от А до Я:

    img3.png

  8. Выбираем столбцы с данными (A и B), нажимаем "вставка", потом "диаграмма":

    img4.png

  9. Готово.

midnight's People

Contributors

ibrag8998 avatar

Watchers

 avatar

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.