Skip to content

Instantly share code, notes, and snippets.

View ameukam's full-sized avatar
:octocat:
🚶‍♂️

Arnaud M. ameukam

:octocat:
🚶‍♂️
View GitHub Profile
Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
- Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
- Reasoning Before Conclusions: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
- Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.
- Conclusion, classifications, or results should ALWAYS appear last.
- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.
- What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from p
package main
import (
"context"
"flag"
"fmt"
"net"
"os"
"time"

API Changes

What APIs?

  • REST APIs
    • built-in go-based APIs
    • custom resources
      • x-k8s.io - experimental, fast prototyping
      • k8s.io - "official", get API reviewed
    • most difficult to change over time
  • all (non-alpha) versions have to round-trip to each other losslessly
@milesbxf
milesbxf / monzo-alertmanager-config.yaml
Last active February 25, 2025 15:26
Monzo's Alertmanager Slack templates
###################################################
##
## Alertmanager YAML configuration for routing.
##
## Will route alerts with a code_owner label to the slack-code-owners receiver
## configured above, but will continue processing them to send to both a
## central Slack channel (slack-monitoring) and PagerDuty receivers
## (pd-warning and pd-critical)
##
@teamdandelion
teamdandelion / notes.md
Last active August 18, 2019 20:39
SustainOSS Ways to Encourage Contributors

List of Ways to Help Get New Contributors

Ideas

(Sorted by # of people who voted for each one)

  • Say "Thank You" / Acknowledgement (8)
  • Have website (but website can be a distraction) (8)
  • "Setup social spaces" (8)
  • Good First Issue (7)
  • Status / Recognize status. A way to show/document that someone is a maintainer vs a collaborator (7)
  • Have a fast build (6)
@acolyer
acolyer / jessfraz.md
Created November 19, 2017 13:39
Containers, operating systems and other fun things from The Morning Paper
@tallclair
tallclair / restricted-psp.yaml
Last active April 16, 2024 07:46
Restricted PodSecurityPolicy
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
name: restricted
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default'
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
spec:
@shanselman
shanselman / aspnetcore.yml
Created October 31, 2017 17:00
Basic ASP.NET Core YAML
---
apiVersion: v1
kind: Service
metadata:
name: aspnetcoreapp
labels:
app: aspnetcoreapp
spec:
type: NodePort
ports:
@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active March 5, 2025 16:55
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@ageis
ageis / systemd_service_hardening.md
Last active February 22, 2025 12:01
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict