Skip to content

Instantly share code, notes, and snippets.

View mahalel's full-sized avatar
🧬

Andrei Mahalean mahalel

🧬
  • Christchurch, New Zealand
  • 20:25 (UTC +12:00)
View GitHub Profile
theme = "catppuccin_macchiato"
[editor]
auto-pairs = false
bufferline = "always"
color-modes = true
completion-replace = true
completion-trigger-len = 1
cursorline = true
idle-timeout = 0
@mahalel
mahalel / .pre-commit-config.yaml
Created December 9, 2022 03:05
pre-commit bootstrap
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
hooks:
- id: terraform_fmt
- id: terraform_validate
- id: terraform_docs
args:
- --hook-config=--path-to-file=README.md
- --hook-config=--add-to-existing-file=true
@mahalel
mahalel / Windows_to_WSL_Certs.ps1
Last active August 4, 2021 10:08
Powershell script to export all Root CA certs from the Windows Cert store and into WSL certificate store
<#
This script will export certificates based on your input from the Windows Certificate store and add it to your WSL Distro certificate store.
Requirements:
1. You have an idea of the certificate issuer and name.
2. You have WSL installed.
#>
# Read the cert name
$company = Read-Host 'Enter your certificate name'
try {

Keybase proof

I hereby claim:

  • I am mahalel on github.
  • I am mahalel (https://keybase.io/mahalel) on keybase.
  • I have a public key ASCz52FtNMxKliSq83enVx1wc2tvTpwo_VUQ5_5rwYOpBQo

To claim this, I am signing this object: