Skip to content

Instantly share code, notes, and snippets.

View electrocucaracha's full-sized avatar

Victor Morales electrocucaracha

View GitHub Profile
@electrocucaracha
electrocucaracha / create_github_issue_for_kubernetes_website.js
Last active July 4, 2023 17:05 — forked from ramrodo/create_github_issue_for_kubernetes_website.js
Create GitHub Issue in kubernetes/website repo using GitHub API for Spanish localizations
// https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#create-an-issue
import { Octokit } from "octokit";
const GITHUB_TOKEN = process.env.GITHUB_TOKEN
const octokit = new Octokit({
auth: GITHUB_TOKEN
});
@electrocucaracha
electrocucaracha / Vagrantfile
Last active January 14, 2022 17:12
Bash script for testing changes on build Matter images
# frozen_string_literal: true
# -*- mode: ruby -*-
# vi: set ft=ruby :
##############################################################################
# Copyright (c)
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
@electrocucaracha
electrocucaracha / Vagrantfile
Created December 16, 2021 21:19
Deploy Distributed Compliance Ledger locally
# -*- mode: ruby -*-
# vi: set ft=ruby :
##############################################################################
# Copyright (c)
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
@electrocucaracha
electrocucaracha / Vagrantfile
Last active July 22, 2021 23:33
E2E Tizen Build
# -*- mode: ruby -*-
# vi: set ft=ruby :
##############################################################################
# Copyright (c)
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
@electrocucaracha
electrocucaracha / main.go
Created September 10, 2020 20:24
P-GW NSM implementation
// Copyright 2020
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
@electrocucaracha
electrocucaracha / deploy.sh
Created July 17, 2020 15:59
Customize kubernetes scheduler using KinD deployment tool
#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c)
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
@electrocucaracha
electrocucaracha / mgmt-net.md
Last active September 9, 2019 19:34
Electroucucaracha's IP address management

Electrocucaracha IPAM

This document pretends to manually track the CIDRs used by my projects to avoid any conflict in a server.

Project Name Networks CIDR Host Min Host Max Broadcast
OpenStack MultiNode mgmt-net 192.168.122.0/27 192.168.122.1 192.168.122.30 192.168.122.31
Kubernetes QAT Envoy qat-mgmt-net 192.168.123.0/27 192.168.123.1 192.168.123.30 192.168.123.31
K6board k6-mgmt-net 192.168.124.0/30 192.168.124.1 192.168.124.2 192.168.124.3
@electrocucaracha
electrocucaracha / podman.patch
Last active June 12, 2019 22:31
Podman change
commit ef164679af86749aa5edc660f9fb13235bd6c234
Author: Victor Morales <victor.morales@intel.com>
Date: Thu May 30 14:43:55 2019 -0700
Remove local registry
diff --git a/vagrant/installer.sh b/vagrant/installer.sh
index 58a0a5c..252c8b2 100755
--- a/vagrant/installer.sh
+++ b/vagrant/installer.sh
@electrocucaracha
electrocucaracha / ClearLinux.yml
Last active May 20, 2019 18:07
These are the changes required for compiling Kata containers kernet with QAT
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2019 Intel Corporation
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
qat_driver_pkgs: