Skip to content

Instantly share code, notes, and snippets.

View kenlee0305's full-sized avatar

KenCanDoIT kenlee0305

  • Hong Kong
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@kenlee0305
kenlee0305 / WSL_terminal.md
Created April 12, 2022 16:58 — forked from michaeltreat/WSL_terminal.md
Update Windows PowerShell Ubuntu Terminal

Update the WSL Ubuntu Terminal

Home

Typically we will always be working in the Windows PowerShell, but for this task we need to be in the Ubuntu app because we need to edit a file in the Ubuntu File System.

It is also highly recommended that you DO NOT edit a file in the Ubuntu system from Windows or through a Windows app as there will be errors, so we are doing this the right way by going through Ubuntu's commandline editor Nano.

At the end, this will add some coloring to your command line, and you command line will be formatted like this:

PathToCurrentDirectory[GitStatus]$

Note: This doc is currently being updated.

Windows 201 WSL setup

Preface

WSL stands for Windows Subsystem for Linux and it is a feature that you can enable on Windows 10 machines. It allows for you to add a Linux subsystem to your Windows machine. This subsystem will allow you to run programs and files in a POSIX or Unix-like environment, which solves many common issues that Windows users face when trying to run software that is developed for Linux.

Before you begin check to make sure that you have the most recent version of Windows 10.

@kenlee0305
kenlee0305 / all_aws_managed_policies.json
Created November 25, 2021 05:49 — forked from gene1wood/all_aws_managed_policies.json
A list of all AWS managed policies and they're policy documents as well as a short script to generate the list
This file has been truncated, but you can view the full file.
{
"APIGatewayServiceRolePolicy": {
"Arn": "arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy",
"AttachmentCount": 0,
"CreateDate": "2019-10-22T18:22:01+00:00",
"DefaultVersionId": "v6",
"Document": {
"Statement": [
{