Skip to content

Instantly share code, notes, and snippets.

View marcopaganini's full-sized avatar
💭
"Now" is the envy of all the dead.

Marco Paganini marcopaganini

💭
"Now" is the envy of all the dead.
View GitHub Profile
@marcopaganini
marcopaganini / symantec-vip-access-totp.md
Created September 30, 2023 23:08 — forked from jarbro/symantec-vip-access-totp.md
Generate Symantec VIP Access Token as TOTP

Generate Symantec VIP Access Token as OTP

Recently I came across a web service that required two-factor authentication using the Symantec VIP Access App. I already manage all of my OTP tokens in a different app (If you are on iOS I highly recommend using OTP Auth by Roland Moers.) and did not want to have to use yet another app to generate the TOTP.

There is a way to generate a Symantec VIP Access compatible token very easily if you have access to an environment which can run Python PIP. I happen to have Ubuntu Windows Subsystem Linux running on my machine. (If you are running Windows 10 and don't have this you should really check it out.) Let's get started...

hello

Instructions

Here we install python3-pip and qrencode so we can generate our secret, I

@marcopaganini
marcopaganini / how-to-remove-git-crypt.md
Last active June 20, 2025 02:48
How to remove git-crypt from your repo (maintaining history).

How to remove git-crypt and maintain your history

I've been successfully using git-crypt to provide provide partial encryption to some of my repos. It's a great program and I'd definitely recommend it for your git repository encryption needs.

However, while installation is quite simple, I couldn't find good instructions on how to uninstall git-crypt and maintain history intact.

This guide provides simple instructions on how to accomplish that. In the end,

@marcopaganini
marcopaganini / ipv6-comcast.md
Created January 19, 2024 21:29
Quick debian guide for IPv6 on Comcast

IPv6 on Comcast

WAN (eth0) configuration using wide-dhcpv6

This component does a few important things:

  • Retrieves an IPv6 address (from comcast) for our external interfaces (Using IA).

  • Retrieves a prefix from comcast using Prefix Discovery (PD). By default, comcast will send a /64 prefix, which is only good for one host (we need more

@marcopaganini
marcopaganini / git-tips.md
Last active June 28, 2024 21:24
Git tips

Git tips

Setup

git config --global user.name "Firstname Lastname"
git config --global user.email "[email protected]"

If using on a directory where we don't want to see every file not under git

@marcopaganini
marcopaganini / nanopi_r5s_meltdown_report.md
Created January 16, 2025 18:19
NanoPI R5S meltdown report

NanoPI R5S meltdown report

"A tale of a bad decision and a stream of misfortunes..."

It all started with poor Internet experience, not particularly localized to a single site or operation. I'm a Comcast (Xfinity) user, so I'm very familiar with unreliable Internet performance. The interesting thing this time is that the failure was selective. For example, speedtest showed full bandwidth with no delays. Visiting google.com would be OK, but duckduckgo.com would cause the page to take forever to load. I eventually found one file inside the