Skip to content

Instantly share code, notes, and snippets.

@nmschulte
nmschulte / nfsn.api.sh
Last active January 29, 2023 23:04
NearlyFreeSpeech.NET API request "library", in pure shell (requires sha1sum and curl)
#!/usr/bin/env sh
# Copyright © 2022 Nathan Schulte
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
# nfsn.api.sh --
@damphat
damphat / apt-rdepends-tree
Last active December 16, 2023 01:38
debian dependency tree
#! /bin/bash
# Description: show dependency tree
# Author: damphat
if [ $# != 1 ]; then
echo 'Usage: apt-rdepends-tree <package>'
echo 'Required packages: apt-rdepends'
exit 1
fi
@orenhe
orenhe / style.css
Created June 19, 2012 19:15
Wordpress Twentyeleven theme zenburn colors
/*
Theme Name: Twenty Eleven zenburn colors
Author: Oren Held
Template: twentyeleven
Version: 0.1
License: MIT
Notes:
* Make sure you have Twentyeleven theme installed
* Set it to "dark" colorscheme