Make it very easy for anyone (even non-techy people) to set up a low-power, inexpensive home server with a Raspberry Pi 2* using Fedora.
* (possibly others later — start small, scale up)
#!/bin/sh | |
# | |
# A short script to discover HP JetDirect-enabled printers on your local network | |
# | |
# Requires: nmap, route, awk, grep | |
# | |
# On Fedora/RHEL/CentOS, you can install dependencies with: | |
# sudo yum install -y nmap net-tools curl gawk | |
# | |
# (Most of these commands will most likely be already installed.) |
#!/bin/bash | |
# This uses the mediawiki_cli gem; be sure to have it installed | |
## Usage | |
# | |
# Please pass the URL to your site's wiki prefix to this command, like so: | |
# sh mw-export.sh "http://wikisite/wiki/" | |
# |
This is from a rant of mine on IRC a while back. It has been minimally cleaned up.
#!/bin/bash | |
# Licensed under CC0 / Public Domain | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
for i in $NAUTILUS_SCRIPT_SELECTED_URIS; do | |
nautilus $i; | |
done; |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("lwn.net") { | |
body { | |
font-family: source sans pro, helvetica, arial, sans-serif; | |
} | |
.Page { | |
max-width: 60em; |
"\e[1~": beginning-of-line | |
"\e[4~": end-of-line | |
"\e[5~": beginning-of-history | |
"\e[6~": end-of-history | |
"\e[3~": delete-char | |
"\e[2~": quoted-insert | |
"\e[5C": forward-word | |
"\e[5D": backward-word | |
"\e\e[C": forward-word | |
"\e\e[D": backward-word |