Skip to content

Instantly share code, notes, and snippets.

View Jwink3101's full-sized avatar

Justin Winokur Jwink3101

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Apply the same git commands to all git repositories below to a specified depth
(default 1). Note: Will go below a top level repo for submodules, etc. WARNING:
if there is ambiguity as to git flags vs git-all (this code) flags, separate
with `--`
"""
from __future__ import division, print_function, unicode_literals, absolute_import
@Jwink3101
Jwink3101 / 20201203_ab_help.md
Created December 3, 2020 23:33
Archive Box Question, 2020-12-03

Hi,

I didn't want to make an "issue" of this since I suspect it is user error but if you'd prefer, I can do that.

I am trying to set up ArchiveBox with Docker behind a Caddy Reverse proxy. I did make a few minor modifications to the docker-compose file to (a) use port 25005 (which is what I have in Caddy proxying to Archive Box), (b) set a full path to my data folder, and (c) settings.

My docker-file.yaml looks like: (where my username is USER

version: '3.7'
@Jwink3101
Jwink3101 / B2_snapshot_restore.clean.ipynb
Created December 17, 2020 22:23
Demonstration of extracting from a Backblaze Restor
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jwink3101
Jwink3101 / recovery.ipynb
Created June 18, 2021 21:10
Sparse Recovery Play
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jwink3101
Jwink3101 / GPG_from_python.ipynb
Created December 23, 2022 21:52
Example of symmetric GPG of data streams in Python with minimal password exposure (USE AT YOUR OWN RISK)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jwink3101
Jwink3101 / rclone_cloud_API
Created February 13, 2023 21:55
This is a WIP and incomplete way to use rclone programmatically to connect to cloud storage
{
"cells": [
{
"cell_type": "markdown",
"id": "372c730b-581d-459a-9973-eecd922d0cee",
"metadata": {},
"source": [
"# Rclone as API\n",
"\n",
"**PROOF OF CONCEPT**. Needs work! \n",