Skip to content

Instantly share code, notes, and snippets.

Jeppe Fihl-Pearson Tenzer

Block or report user

Report or block Tenzer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Tenzer
Tenzer / 000-README.md
Last active Sep 29, 2019
LastPass Pwned Passwords checker
View 000-README.md

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).

@Tenzer
Tenzer / 000-README.md
Last active May 29, 2019
Cask upgrade
View 000-README.md

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 / keybase.md
Created Nov 24, 2015
Keybase proof
View keybase.md

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 Feb 18, 2015
Docker Registry S3 cleanup script
View README.md

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.

You can’t perform that action at this time.