Skip to content

Instantly share code, notes, and snippets.

View gordonbondon's full-sized avatar
🤔

Artem Yarmoliuk gordonbondon

🤔
View GitHub Profile
@gordonbondon
gordonbondon / # Run Argo-CD with GitHub App private key authentication.md
Last active April 23, 2021 05:18
Run Argo-CD with GitHub App private key authentication

Currently argo-cd does not natively support authenticating with GitHub via GitHub App private keys.

This steps will allow you to achieve this, with AWS SSM as seret storage for a private key:

  1. Configure argo-cm repo credentials to point password to private key location, and username to app id location:
repository.credentials: |
  - url: https://github.com/<yourorgnamehere>
 passwordSecret:
@gordonbondon
gordonbondon / apply.sh
Created January 5, 2020 15:26
Bash scripts for atlantis custom steps
#!/usr/bin/env bash
set -e
# dont add pipefail because we need to catch exit code inside pipe
MISSING_VAR_MESSAGE='must be running inside atlantis'
: "${ATLANTIS_TERRAFORM_VERSION:?$MISSING_VAR_MESSAGE}"
: "${DIR:?$MISSING_VAR_MESSAGE}"
@gordonbondon
gordonbondon / tf-install-provider
Last active June 27, 2019 12:26 — forked from drewsonne/tf-install-provider
tf-install-provider
#! /usr/bin/env bash
# Installation:
# brew tap gordonbondon/tap
# brew install tf-install-provider
#
# Usage:
# Make sure your provider is in your $PATH sommewhere already
# Run `tf-install-provider <provider-stub>`
#
@gordonbondon
gordonbondon / keybase.md
Created June 18, 2019 12:57
keybase.md

Keybase proof

I hereby claim:

  • I am gordonbondon on github.
  • I am gordonbondon (https://keybase.io/gordonbondon) on keybase.
  • I have a public key ASCN16gbSDyGI-9Y1qNEHz7tzI5jQV-t-fc3E7d_aMGdYwo

To claim this, I am signing this object:

$OptionsDefinitions = @{
'Microsoft Windows 2000 Options' = @{
'1' = @{
Name = 'Microsoft Disable Netbios Option '
Type = 'DWord'
MultiValued = $false
}
'2' = @{
Name = 'Microsoft Release DHCP Lease On Shutdown Option'
  1. Install sstp-client and libsstp-client0 via PPA
    sudo add-apt-repository ppa:eivnaes/network-manager-sstp
    sudo apt-get update
    sudo apt-get install sstp-client
    sudo apt-get install libsstp-client0
  1. Try installing network-manager-sstp and network-manager-sstp-gnome also from this PPA
 sudo apt-get install network-manager-sstp
=CONCATENATE(history_old1!A3;",";"""";history_old1!B3;"""";",";"""";history_old1!C3;"""";",";"""";TEXT(history_old1!D3;"DD/MM/YYYY hh:mm:ss");"""";",";"""";TEXT(history_old1!E3;"DD/MM/YYYY hh:mm:ss");"""")
REG ADD "HKCU\Control Panel\Desktop" /v DpiScalingVer /t REG_DWORD /d 0x00001018 /f
REG ADD "HKCU\Control Panel\Desktop" /v Win8DpiScaling /t REG_DWORD /d 0x00000001 /f
REG ADD "HKCU\Control Panel\Desktop" /v LogPixels /t REG_DWORD /d 0x00000078 /f