Skip to content

Instantly share code, notes, and snippets.

@graysky2
graysky2 / Xdefaults.jellybeans
Created November 24, 2016 15:49 — forked from pablox-cl/Xdefaults.jellybeans
Jellybeans color palette for rxvt and xfce4-terminal
# Adjust Rxvt to suit your terminal emulator
# Created with
# ITERM_COLOR_MULTIPLIER=2.5 ./itermcolors2Xdefaults.rb Jellybeans.itermcolors
# https://github.com/richo/jellybeans.vim/blob/c7ff7e9555881a5671fcc8753b381ba142b5ea82/Xdefaults/jellybeans.Xdefaults
Rxvt*color0: #393939
Rxvt*color1: #ca674a
Rxvt*color2: #96a967
Rxvt*color3: #d3a94a
Rxvt*color4: #5778c1
Rxvt*color5: #9c35ac
@graysky2
graysky2 / rrdbackup
Last active September 18, 2021 10:00
OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#!/bin/sh /etc/rc.common
# OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#
#
# howto:
# - upload this file as /etc/init.d/rrdbackup
# - (optional) adjust BACKUP_DIR below to point to a different target directory for the backup (e.g., a USB drive)
# - # chmod +x /etc/init.d/rrdbackup
# - # /etc/init.d/rrdbackup enable