Skip to content

Instantly share code, notes, and snippets.

View aldegoeij's full-sized avatar
🚀

Alexander L. de Goeij aldegoeij

🚀
View GitHub Profile
@i-e-b
i-e-b / reset.txt
Created April 2, 2021 07:03
To reset "Dino World" Secret diary kid's toy
To reset dino world secret diary, hold 1, 3, and 0 together until it opens (about 3 seconds)
then enter new 4 digit code and press #
@aldegoeij
aldegoeij / openssl.md
Last active March 25, 2020 11:31
Often used and forgotten OpenSLL Commands

OpenSSL and SSH commands:

Adding password to an existing SSH key

ssh-keygen -p -f {file_name}

Generating SSL key-set (private & csr) (RSA 2048-bit SHA2)

@aldegoeij
aldegoeij / my_workspace.md
Last active August 14, 2019 13:45
A Cloud Engineer's Workspace

Hi, I'm a cloud engineer, spending most of my time in AWS with the occasional excursion into O365/Azure.

This is a collection of tools, ways of working and thoughts to keep stuff centralized for myself. Perhaps it can be useful to you!

I'm not a commandline junky so apologies for all the clickedy tools in this list!

  • VS Code: my IDE of choice, see my settings [here]
  • zsh
  • oh-my-zsh (agnoster, Solarized Dark, git npm yarn aws, eval "$(direnv hook zsh)")
  • direnv (
@npearce
npearce / install-docker.md
Last active April 19, 2024 12:35
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
@aldegoeij
aldegoeij / my_machine.sh
Last active November 10, 2022 07:37
A Cloud Engineer's Machine
#!/bin/bash
# This runs fabulously on macOS Mojave!
echo ""
echo "Do NOT run this as root! You were warned..."
echo ""
# Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@shortjared
shortjared / list.txt
Last active April 28, 2024 07:20
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active April 30, 2024 04:42
A badass list of frontend development resources I collected over time.
@k0emt
k0emt / Enron_to_Mongo.py
Last active April 26, 2018 04:05
Convert the Enron email dataset files to a MongoDB. Blog post here: http://soloso.blogspot.com/2011/07/getting-enron-mail-database-into.html Brendan McAdams @rit created a version of the code which utilizes the Python email library to produce a database with more metadata. You can see the results of his work here: http://mongodb-enron-email.s3-w…
import os
import datetime
from pymongo import MongoClient
__author__ = 'k0emt'
MAIL_DIR_PATH = '/Users/k0emt/Projects/enron/enron_mail_20110402/maildir'
PREFIX_TRIM_AMOUNT = len(MAIL_DIR_PATH) + 1
MAX_USER_RUN_LIMIT = 50
MAX_USER_EMAILS_PER_FOLDER_FILE_LIMIT = 2
counter = 1