Skip to content

Instantly share code, notes, and snippets.

Avatar

pavel lazyfrost

View GitHub Profile
@lazyfrost
lazyfrost / days_to_event.md
Last active Sep 14, 2015
script to show time left till defined date
View days_to_event.md

Script to calculate time left to defined date

I wrote this small script to have a tool that can show how many days are left
till defined date, it is running cyclically every 60 seconds until manually stopped,
or until condition of cycle is met.


#!/bin/bash  
# Script shows number of integer days from now till defined date  
clear ; read -p " Date of event (year-month-day): " n 
@lazyfrost
lazyfrost / mutt-gmail-yandex.md
Last active May 9, 2022
Configuring mutt to work with gmail and yandex
View mutt-gmail-yandex.md