Skip to content

Instantly share code, notes, and snippets.

@ledti
ledti / sd
Last active April 10, 2021 17:31
Easily mount mass storage devices.
#!/bin/bash
# sd: easily mount mass storage devices.
# last modified: 2014/08/15
# commands: none, '-m', '-u', or '--help'.
# visually exclude the following /dev/sd* device(s) from the listing:
# syntax example: "abc", to exclude drives a,b, and c.
# use "-" to show everything.
exclude="a"
@yang-ling
yang-ling / newsbeuter-config
Created February 26, 2015 10:08
newsbeuter config
# vim: ft=conf nospell
browser /usr/bin/google-chrome-stable
external-url-viewer /usr/bin/urlview
always-display-description true
goto-next-feed no
save-path ~/KuaiPan/Downloads/rss/
text-width 78
cache-file ~/KuaiPan/Downloads/rss/config/cache.db
max-items 500
@nknapp
nknapp / Dockerfile
Created October 30, 2016 20:15
Traefik setup as reverse-proxy with docker and letsencrypt
FROM traefik:camembert
ADD traefik.toml .
EXPOSE 80
EXPOSE 8080
EXPOSE 443