Skip to content

Instantly share code, notes, and snippets.

View jriguera's full-sized avatar

José Riguera Lopez jriguera

View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active May 31, 2024 14:15
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

Notes on CF k8s controllers

a quick poke at the latest cf-k8s-controllers to see what they have to offer (2022-02-18)

Run a local Cloud Foundry on k8s, make some orgs/spaces and push some apps, check out the cf experience and take a look behind the scenes with kubectl.

My toolkit

what version decription
@mmontes11
mmontes11 / worker-resource.go
Last active February 22, 2023 21:59
Worker controller resource
import (
echo "github.com/mmontes11/echoperator/pkg/echo"
echov1alpha1 "github.com/mmontes11/echoperator/pkg/echo/v1alpha1"
batchv1 "k8s.io/api/batch/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
func createJob(newEcho *echov1alpha1.Echo, namespace string) *batchv1.Job {
return &batchv1.Job{
@jshiell
jshiell / anyconnect.sh
Last active July 21, 2020 08:05
AnyConnect script for user/pass VPN on headless Linux (i.e. where secret-tool won't work)
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
readonly _CISCO_VPN="/opt/cisco/anyconnect/bin/vpn"
readonly _GREEN='\033[0;32m'
readonly _RED='\033[0;31m'
readonly _NC='\033[0m'
@pydevops
pydevops / k8s-crd.md
Last active September 1, 2023 00:41 — forked from smileisak/operators.md
k8s crd operator

Some useful resources regarding Kubernetes Operators, CRDs, etc.

@nikhilsuvarna
nikhilsuvarna / app_instance_identity_intro_to_envoy.md
Last active August 22, 2023 14:43
Application Instance Identity and Intro to Envoy in PCF
@plembo
plembo / RPIwithQEMU.md
Last active May 16, 2024 08:38
Emulating a Raspberry Pi with QEMU

Emulating a Raspberry Pi with QEMU

Goal: Emulate a Raspberry Pi with QEMU in order to run the Raspbian O/S (based on Debian Linux).

The current setup is not ideal. For one thing, the maximum RAM allowed using the "versatile-pb" firmware is 256 Mb. In addition, only the most basic peripherals, a keyboard and mouse, are supported.

A number of articles have been written on this topic. Most are outdated, and the few recent ones are missing key information.