- google/gvisor: Container Runtime Sandbox
- Google Cloud Platform Blog: Open-sourcing gVisor, a sandboxed container runtime
- virtualbox
- vagrant
| #!/bin/sh | |
| ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:?"Please set ANTHROPIC_API_KEY environment variable."} | |
| url=${1:?"Please provide a URL to summarize."} | |
| MODEL=${MODEL:-"claude-3-7-sonnet-20250219"} # see. https://docs.anthropic.com/en/docs/about-claude/models/all-models | |
| payload=$(printf '{ | |
| "model": "%s", | |
| "max_tokens": 1024, |
| [alias] | |
| find-pr = "!git-find-pr.sh $(git log --oneline | fzf | awk '{ print $1 }') " |
| NAME ?= world | |
| .PHONY: help | |
| help: ## show help | |
| @echo "Usage:" | |
| @awk -F':.*##' '/^[-_a-zA-Z0-9]+:.*##/{printf"%-12s\t%s\n",$$1,$$2}' $(MAKEFILE_LIST) | sort | |
| @echo "" | |
| .PHONY: greeting | |
| greeting: ## hello world |
| #!/usr/bin/env bash | |
| MFA_PROFILE_SUFFIX="-mfa" | |
| AWS_PROFILE="$(aws configure list-profiles | grep -v -e "$MFA_PROFILE_SUFFIX\$" | fzf)" | |
| if [ -z "$AWS_PROFILE" ]; then | |
| echo "Please select profile" >&2 | |
| exit 1 | |
| fi |
| { | |
| "title": "for Amazon Workspaces", | |
| "rules": [ | |
| { | |
| "description": "left_control to left_command", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "left_control" |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "syscall" | |
| ) | |
| func main() { |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Parameters: | |
| EnvironmentName: | |
| Type: String | |
| Default: "MyApp" | |
| # ... | |
| Resources: | |
| ECSTaskDefinition: |
| { | |
| "ociVersion": "1.0.1", | |
| "process": { | |
| "user": { | |
| "uid": 0, | |
| "gid": 0, | |
| "additionalGids": [ | |
| 0, | |
| 1, | |
| 2, |
| #!/bin/bash | |
| set -eu | |
| OWNER=${1:?"repo onwer required"} | |
| URL_BASE="https://api.github.com" | |
| REPOS_URL="/users/$OWNER/repos?per_page=100" | |
| PULLS_URL="/repos/$OWNER/%s/pulls" | |
| ISSUES_URL="/repos/$OWNER/%s/issues" |