Skip to content

Instantly share code, notes, and snippets.

View vool's full-sized avatar

Keith Phelan vool

View GitHub Profile
@thaihust
thaihust / dos2unix.md
Created November 2, 2017 01:19 — forked from umidjons/dos2unix.md
Execute dos2unix for directory recursively.

Will recursively find all files inside current directory and call for these files dos2unix command. Would break if you had spaces in file name.

find . -type f -exec dos2unix {} \;

Wouldn't break if you had spaces in file names.

find . -type f -print0 | xargs -0 dos2unix
@dmiro
dmiro / createdbradio.py
Last active August 25, 2023 11:43
Create sqlite database from repository radio-browser.info
import subprocess
import gzip
import os
"""
create sqlite database from repository radio-browser.info
prerequisites:
(1) install sqlite3 (client)