Skip to content

Instantly share code, notes, and snippets.

@siddolo
siddolo / README.md
Last active May 5, 2024 19:45
Raspberry Pi 4 arm64 + Docker + Portainer on USB3 storage

Raspberry Pi 4 arm64 + Docker + Portainer on USB3 storage

assume that /dev/sda1 is USB3 storage

Install docker and stop daemon

curl -sSL https://get.docker.com | sh
usermod -aG docker pi
service docker stop
@siddolo
siddolo / git-gource-mp4.md
Created February 10, 2021 23:00
Gource to mp4

Gource to mp4

gource \
  --auto-skip-seconds .1 \
  --multi-sampling \
  --seconds-per-day .06 \
  --hide filenames,progress \
  --highlight-users \
 --user-scale 4 \
@siddolo
siddolo / policy.json
Created December 30, 2020 18:26
Minimum permission policy for Synology CloudSync s3 source backup job
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSepcificBucket",
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:List*"
],
@siddolo
siddolo / bettercap.md
Last active April 7, 2024 15:55
bettercap webui from docker

bettercap webui from docker

create volume

docker volume create bettercap

bootstrap/update

Only run caplets.update the first time as every time the entire system caplets folder is replaced with the downloaded contents from github, overwriting your changes, such as the credentials, with default values. You can either backup your changes and restore them later in the system folder, or simply copy the changed caplet files in bettercap’s working directory, in which case they’ll be loaded before the ones installed system wide. https://www.bettercap.org/usage/

@siddolo
siddolo / sonarqube.md
Last active February 13, 2020 11:06
Persistent dockerized Sonarqube installation and usage example with dockerized maven

SonarQube

Persistent SonarQube installation with Docker.

First Installation

Install docker:

sudo apt update
@siddolo
siddolo / freeotp_backup.md
Created August 26, 2019 10:07 — forked from kontez/freeotp_backup.md
A guide to back up and recover 2FA tokens from FreeOTP (Android)

Backing up and recovering 2FA tokens from FreeOTP

Backing up FreeOTP

Using adb, create a backup of the app using the following command:

adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
@siddolo
siddolo / 371.conf
Created November 20, 2018 20:35 — forked from ckhung/371.conf
/etc/pve/lxc conf file for a proxmox lxc to be used as a docker host
# https://newtoypia.blogspot.com/2018/09/proxmox-lxc-storage.html
# 幫 proxmox 的 lxc 擴充硬碟
arch: amd64
hostname: whale
memory: 1024
mp0: local-zfs:subvol-371-disk-2,mp=/var/lib/docker,size=10G
net0: bridge=vmbr35,hwaddr=ff:ff:ff:ff:ff:71,ip=192.168.35.99/24,name=eth0,type=veth
onboot: 0
ostype: debian
rootfs: local-zfs:subvol-371-disk-1,size=4G
Verifying that +siddolo is my blockchain ID. https://onename.com/siddolo