Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jaysonrowe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View backup
echo "*** $(date -R) ***" >> $LOG
rsync -av --delete /home/jayson /storage/backup
rsync -av --delete /home/jayson /data/backup
View trim
echo "*** $(date -R) ***" >> $LOG
fstrim -v /boot >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
View fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<match target="font">
<edit mode="assign" name="rgba">
<edit mode="assign" name="hinting">
View .Xresources
! gerneral xterm settings -----
XTerm*utf8: 1
XTerm*pointerColor: white
XTerm*pointerColorBackground: black
XTerm*cursorColor: yellow
XTerm*cursorBlink: true
XTerm*selectToClipboard: true
XTerm*SaveLines: 9000
XTerm*ScrollBar: false
XTerm*visualbell: true
View compact
VBoxManage modifyhd <Filename of vdi> --compact
View discard-specific-machine
VBoxManage storageattach Lubuntu --storagectl "SATA" --port 0 --discard on
View discard
VBoxManage storagetattach <VM name> --storagectl "SATA-Controller" --port <port number of disk image> --discard on
View .Xdefaults
! xscreensaver ---------------------------------------------------------------
!font settings
xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
You can’t perform that action at this time.