Skip to content

Instantly share code, notes, and snippets.

View gideonshaked's full-sized avatar
👋

Gideon Shaked gideonshaked

👋
View GitHub Profile
@gideonshaked
gideonshaked / lint.yml
Created January 19, 2021 15:44
Pre-commit lint github actions workflow
name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
@gideonshaked
gideonshaked / bw-server-backup
Created January 14, 2021 01:35
A bash script to back up bitwarden_rs db and attachments with rclone
#!/usr/bin/env bash
#
###################################################################################################################
# Script to back up Bitwarden_rs db and attachments with rclone. Overall, this script should be preferred to
# bitwarden-backup.sh because it backs up all users and does not need to be run interactively.
#
# Note that this script does not encrypt the backup because Bitwarden stores it already encrypted.
#
# This script is specific to my setup. It had to have some workarounds due to permissions issues and other things.
# Please test it before you try it!
@gideonshaked
gideonshaked / docker-compose.yml
Last active August 2, 2020 20:02
Docker-Compose for adblocking DoH with WireGuard
version: "3"
services:
# pihole
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: always
privileged: true
ports:
- "53:53/tcp"