Skip to content

Instantly share code, notes, and snippets.

View di-sukharev's full-sized avatar
🎺
tudududum

GPT8 di-sukharev

🎺
tudududum
View GitHub Profile
@di-sukharev
di-sukharev / pathetic_manager.bash
Created November 12, 2024 21:20
lines of code per day per person and first/last commit ta
#!/bin/bash
echo "" # Start with a blank line
# Function to calculate time difference in hours and minutes
calculate_duration() {
local diff_seconds=$1
local hours=$((diff_seconds / 3600))
local minutes=$(( (diff_seconds % 3600) / 60 ))
printf "%02d:%02d" $hours $minutes
[
{ name: 'Россия', name_en: 'Russia', value: '+7', sorted: true },
{ name: 'Беларусь', name_en: 'Belarus', value: '+375', sorted: true },
{ name: 'Казахстан', name_en: 'Kazakhstan', value: '+7', sorted: true },
{ name: 'Украина', name_en: 'Ukraine', value: '+380', sorted: true },
{ name: 'Узбекистан', name_en: 'Uzbekistan', value: '+998', sorted: true },
// rest
{ name: 'Австралия', name_en: 'Australia', value: '+61' },
{ name: 'Австрия', name_en: 'Austria', value: '+43' },
{ name: 'Азербайджан', name_en: 'Azerbaijan', value: '+994' },