Skip to content

Instantly share code, notes, and snippets.

View nixinator's full-sized avatar
❄️
nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"

Lee Hughes nixinator

❄️
nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"
View GitHub Profile
@nixinator
nixinator / convert_url_files_to_bookmarks.sh
Created November 22, 2023 11:39 — forked from GeoffreyPlitt/convert_url_files_to_bookmarks.sh
Convert a folder of .URL files to a bookmarks.html file that can be imported into a browser
#!/bin/bash
#
# Run this script in a folder full of ".url" files, and pipe output to an HTML file.
# Example: ./convert_url_files_to_bookmarks.sh > bookmarks.html
echo "<!DOCTYPE NETSCAPE-Bookmark-file-1>"
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">'
echo '<TITLE>Bookmarks</TITLE>'
echo '<H1>Bookmarks</H1>'
echo '<DL><p>'