Skip to content

Instantly share code, notes, and snippets.

View dstuecken's full-sized avatar

Dennis Stücken dstuecken

View GitHub Profile
@dstuecken
dstuecken / install-docker.md
Created September 25, 2020 00:28 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start
@dstuecken
dstuecken / avast-password-manager-json-to-lastpass-csv.php
Created November 28, 2019 02:58
Small PHP script to convert Avast Password Manager export into a CSV file that is readable by e.g. LastPass
<?php
/**
* @author dennis stücken
*
* Usage:
* Put the export into same directory as the script and execute the following in your terminal (replace /path/to/script with the directory):
* cd /path/to/script && php avast-password-manager-json-to-lastpass-csv.php
*/
$json = json_decode(file_get_contents("passwords.json"), true);
"dependencies": {
"babel-polyfill": "6.16.0",
"chalk": "1.1.3",
"compression": "1.6.2",
"cross-env": "3.1.3",
"express": "4.14.0",
"fontfaceobserver": "2.0.5",
"history": "3.0.0",
"immutable": "3.8.1",
"ip": "1.1.3",