Skip to content

Instantly share code, notes, and snippets.

View jimdi's full-sized avatar
💭
крокодил залупа сыр

Jim_Di jimdi

💭
крокодил залупа сыр
View GitHub Profile
@jimdi
jimdi / tomat.sh
Created September 22, 2020 23:28 — forked from Imater/tomat.sh
> tomat 25 'Название дела'
#!/usr/bin/env bash
SLEEP_DURATION=${SLEEP_DURATION:=1} # default to 1 second, use to speed up tests
progress-bar() {
local duration
local columns
local space_available
local fit_to_screen
local space_reserved
@jimdi
jimdi / di-fm-premium-account-generator.sh
Last active February 5, 2019 08:24 — forked from hackruu/di-fm-premium-account-generator.sh
Generate di.fm premium account and playlist. Also supports radiotunes.com (ex sky.fm), jazzradio.com, rockradio.com, classicalradio.com
#!/bin/bash
AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
COOKIES="./cookies.txt"
DOMAIN=gmail.com
PLAYLISTDI="di.fm.m3u"
PLAYLISTSKY="sky.fm.m3u"
PLAYLISTJAZZ="jazzradio.m3u"
PLAYLISTROCK="rockradio.m3u"
PLAYLISTCLASSICAL="classicalradio.m3u"
PLAYLISTRADIOTUNES="radiotunes.m3u"