Skip to content

Instantly share code, notes, and snippets.

View brian-pickens's full-sized avatar

Brian Pickens brian-pickens

  • Brian Pickens Web Solutions
View GitHub Profile
@brian-pickens
brian-pickens / Powershell_profile.md
Last active July 30, 2021 19:01
My Powershell Profile

Install Themes

Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy RemoteSigned
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser

Profile.ps1

@brian-pickens
brian-pickens / wsl-dns.md
Last active February 3, 2025 18:28
This is how I fixed my DNS issues in WSL and Docker Desktop for Windows

Fixes I found

Update /etc/wsl.conf

In the network section, set generateResolvConf = false like so:

[network]
generateHosts = true
generateResolvConf = false

Github Runners in Kubernetes

Description

This gist gives instructions for running the github action runners in kubernetes. It uses the evryfs project here

Setup

The operator communicates with GitHub in order to determine available jobs and execute workflow on runners. Authentication to GitHub is available using the following modes:

@brian-pickens
brian-pickens / dynamic-workflow-environment.md
Created January 15, 2022 07:02
Dynamic Workflow Environment

Creating a dynamic environment deployment

env:
  ENVIRONMENT: INTEGRATION
jobs:
  check:
    name: Deployment Check
    runs-on: self-hosted
 if: ${{ github.event.issue.pull_request }}
@brian-pickens
brian-pickens / solarized-dark.omp.json
Created January 17, 2023 16:26
Oh My Posh Themes
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#073642",
"foreground": "#2aa198",
"leading_diamond": "\ue0b6",