Skip to content

Instantly share code, notes, and snippets.

View ViViDboarder's full-sized avatar
🙈

Ian ViViDboarder

🙈
  • San Francisco, CA
View GitHub Profile
@ViViDboarder
ViViDboarder / Dockerfile
Created October 29, 2019 16:37
bitwarden_rs with backups
# backups/Dockerfile
FROM vividboarder/docker-restic-cron
MAINTAINER ViViDboarder <vividboarder@gmail.com>
# Install SQLite
RUN apt-get update \
&& apt-get install -y --no-install-recommends sqlite3 \
&& apt-get clean \
&& rm -rf /var/apt/lists/*
@ViViDboarder
ViViDboarder / install-user-mosh.sh
Last active September 9, 2023 02:05
Mosh is great, but sometimes the remote server you're accessing doesn't have it installed or doesn't give you sudo access. This script will install mosh as a user.
#! /bin/bash
# Make a directory to hold local libs and bins
mkdir -p ~/usr/local
# Get protobuf
wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
# Extract protobuf
tar -xvzf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
@ViViDboarder
ViViDboarder / gmail-snooze.js
Last active March 10, 2020 05:04
Gmail Snooze
/*
Gmail Message Snoozing
Quick implementation to allow snoozing of unread messages in Gmail
Usage:
The move unread emails into a snooze label for the desired snooze time. After
the specified time, the message should be moved back into your inbox. This will
only effect unread emails to prevent messages from continuing to bounce back
#! /bin/bash
# Create local theme dir
mkdir -p ~/.themes
# Enter theme dir
# Clone latest theme
git clone http://github.com/rhoconlinux/elementary-milk-theme.git ~/.themes/elementary-milk-theme
# Set current theme to cloned theme
gsettings set org.gnome.desktop.interface gtk-theme elementary-milk-theme
gsettings set org.gnome.desktop.wm.preferences theme elementary-milk-theme
@ViViDboarder
ViViDboarder / FilcoTweaks.ahk
Created December 31, 2012 14:48
Some hotkeys designed for my Filco Majestouch 2
;-- On Startup
vol_Step = 3
;-- Hotkeys
;-- Volume adjust
HotKey #PgUp, volUp ; Win+Page Up
HotKey #PgDn, volDn ; Win+Page Down
HotKey #End, volMute ; Win+End
;-- Browser Navigation
HotKey !#Left, browserBack ; Ctrl+Win+Left
@ViViDboarder
ViViDboarder / hhkb.ahk
Created December 31, 2012 14:35
Modified HHKB Pro AHK with Dip Switch Emulation Definitely a work in progress
; HHKB Pro2 emulation by AndrewZorn
; for use with QWERTY
; with DIP in position 011100
; (Mac Mode, Backspace, Left Fn)
;
; inspired by and based on ripster's
;
; Modified with Dip Switches by ViViDboarder
;
; "Inser" becomes `/~ because Backspace is too big