Skip to content

Instantly share code, notes, and snippets.

View Tenzer's full-sized avatar

Jeppe Fihl-Pearson Tenzer

View GitHub Profile
@Tenzer
Tenzer / keybase.md
Created November 24, 2015 20:09
Keybase proof

Keybase proof

I hereby claim:

  • I am tenzer on github.
  • I am tenzer (https://keybase.io/tenzer) on keybase.
  • I have a public key ASBieeCfdeLPufZammQG8WO1S3ftHcI91EgYOvzY-CVHggo

To claim this, I am signing this object:

@Tenzer
Tenzer / README.md
Created February 18, 2015 21:20
Docker Registry S3 cleanup script

Docker Registry S3 cleanup script

This simply requires you to install the boto3 package and set the DOCKER_BUCKET variable to point at the bucket you would like to clean up, and the rest should be handled automatically. That's is presuming you have credentials to manage the S3 bucket in one of the default locations where Boto go to look for them.

Since the script more or less traverses through your entire S3 bucket, it probably makes sense to only run it infrequently, like daily or weekly, depending on the amount of repositories and layers you have and the amount of updates on the registry in total.

@Tenzer
Tenzer / 000-README.md
Last active December 11, 2020 10:19
Cask upgrade

Cask-Upgrade

Small utility to help you manage packages installed via Homebrew Cask as it currently can't upgrade installed packages for you or clean up old versions.

The script will ask you if you want to upgrade applications which has newer versions available. Downloads from previous versions of applications will be removed when an application is updated, like what Homebrew has been doing since version 2.0.0. This behaviour can be disabled by setting the environment variable HOMEBREW_NO_INSTALL_CLEANUP.

Installation

@Tenzer
Tenzer / 000-README.md
Last active January 18, 2024 07:02
LastPass Pwned Passwords checker

LastPass Pwned Passwords checker

This is a script for checking if any of the passwords you have stored in LastPass have been exposed through previous data breaches.

To use the script you need to have Python 3 installed and you need a CSV export of your LastPass vault. The export can be generated from the LastPass CLI with:

lpass export > lastpass.csv

or can be extracted with the browser plugin by going to the LastPass icon → More Options → Advanced → Export → LastPass CSV File (note that I did have problems getting this to work).