Skip to content

Instantly share code, notes, and snippets.

@worldofgeese
worldofgeese / main.md
Last active October 9, 2024 14:50
A methodology of sociotechnical DevRel

A methodology of Whole-Body DevRel

The activities of Developer Relations (DevRel) are many and varied, often defying neat boxes of practice to bind them to. This paper does not set all the activities in stone, but does provide a frame of reference you, a developer advocate, can use to orient yourself to the unique brand of Developer Relations we practice here at the LEGO Group. Because no practice of DevRel aspires to do what DevRel at the LEGO Group does, it must be its own thing. It is a holistic practice that takes a step back to view the entire system of human inputs and the software produced by them as outputs, and to address the needs of the system as a whole.

This is Developer Relations

Developer Relations has most commonly been adopted as a sub-field of technical Marketing for companies selling their products intended for use by software developers. It's an external function, where developer advocates--professional practitioners of DevRel--market a product to developers outside their company

@worldofgeese
worldofgeese / main.md
Last active August 21, 2024 05:46
Quickly get up and running with Python package manager, uv
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
'python-preference = "managed"' | Set-Content -Path $env:APPDATA\uv\uv.toml
uv venv
.venv\Scripts\activate
uv pip install git-filter-repo
curl -LsSf https://astral.sh/uv/install.sh | sh
@worldofgeese
worldofgeese / double-starter.ipynb
Created May 12, 2024 17:24
Double a number in C# using the design method
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@worldofgeese
worldofgeese / main.md
Created January 28, 2024 18:51
Logseq

tags:: Resources graph-hide:: true

  • template:: Lazy RPG Prep checklist template-including-parent:: false graph-hide:: true
    • characters:: [[Toad]] [[Ashley Kendall Anderson]] [[Toros Acale]] [[Ember]] [[Butler]]
    • Session summary


# Define the base directory
$baseDir = Join-Path (Resolve-Path "~") ".garden"
$gardenBinPath = Join-Path $baseDir "bin"
# Remove existing Garden binary directory
Remove-Item -Path $baseDir -Recurse -Force -ErrorAction SilentlyContinue
# Fetch the latest Garden release URL for Windows
$releaseData = Invoke-RestMethod -Uri "https://api.github.com/repos/garden-io/garden/releases/latest"
$assetUrl = $releaseData.assets | Where-Object { $_.browser_download_url -match "windows-amd64.zip$" } | Select-Object -ExpandProperty browser_download_url
@worldofgeese
worldofgeese / .gitpod.yml
Last active August 21, 2023 15:07
Development containers compatible with Gitpod and GitHub Codespaces
image:
file: prebuild-devcontainer/Dockerfile
tasks:
- init: |
direnv allow
vscode:
extensions:
- jetpack-io.devbox
- ms-python.python
FROM gitpod/workspace-base:latest
USER root
RUN addgroup --system nixbld \
&& adduser gitpod nixbld \
&& for i in $(seq 1 30); do useradd -ms /bin/bash nixbld$i && adduser nixbld$i nixbld; done \
&& mkdir -m 0755 /nix && chown gitpod /nix \
&& mkdir -p /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf
USER gitpod
@worldofgeese
worldofgeese / download_and_install.sh
Created August 16, 2023 21:43
Fira Code install script
#!/usr/bin/env bash
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d "${fonts_dir}" ]; then
echo "mkdir -p $fonts_dir"
mkdir -p "${fonts_dir}"
else
echo "Found fonts dir $fonts_dir"
fi
@worldofgeese
worldofgeese / getting-started.md
Last active June 3, 2023 10:35
Clear Linux on Framework setup

Setup Clear Linux on Framework

Allow user to execute privileged commands without password

sudo mkdir -p /etc/sudoers.d && echo 'taohansen ALL=(ALL) NOPASSWD: ALL' | sudo tee /etc/sudoers.d/visudo > /dev/null

Enable powersaving

sudo swupd bundle-add TLP 
sudo systemctl enable tlp.service
@worldofgeese
worldofgeese / cloud-shell-garden-tutorial.md
Last active May 24, 2023 15:11
Cloud Shell Garden tutorial

Garden quickstart for Cloud Shell

Let's get started

This quickstart will show you how to start a minikube cluster and deploy a simple application to it using Garden.

  • Setup your environment
    • Install Garden and start a minikube cluster you'll use to deploy your app to.
  • Deploy the app
  • You will be guided through the process of deploying a simple app to the cluster using Garden.