Skip to content

Instantly share code, notes, and snippets.

View ldelossa's full-sized avatar
🤟

Louis DeLosSantos ldelossa

🤟
View GitHub Profile
local dap = require('dap')
dap.adapters.lldb = {
type = 'executable',
command = '/usr/bin/lldb-vscode', -- adjust as needed, must be absolute path
name = 'lldb'
}
dap.configurations.c = {
{
00:00:00.000 [INFO] [sway/main.c:343] Sway version 1.7
00:00:00.000 [INFO] [sway/main.c:344] wlroots version 0.15.0
00:00:00.001 [INFO] [sway/main.c:120] Linux fedora 5.19.11-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 23 15:07:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
00:00:00.001 [INFO] [sway/main.c:136] Contents of /etc/os-release:
00:00:00.001 [INFO] [sway/main.c:120] NAME="Fedora Linux"
00:00:00.001 [INFO] [sway/main.c:120] VERSION="36 (Workstation Edition)"
00:00:00.001 [INFO] [sway/main.c:120] ID=fedora
00:00:00.001 [INFO] [sway/main.c:120] VERSION_ID=36
00:00:00.001 [INFO] [sway/main.c:120] VERSION_CODENAME=""
00:00:00.001 [INFO] [sway/main.c:120] PLATFORM_ID="platform:f36"
00:00:00.000 [INFO] [sway/main.c:343] Sway version 1.8-dev
00:00:00.000 [INFO] [sway/main.c:344] wlroots version 0.16.0-dev
00:00:00.001 [INFO] [sway/main.c:120] Linux fedora 5.17.11-300.fc36.x86_64 #1 SMP PREEMPT Wed May 25 15:04:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
00:00:00.001 [INFO] [sway/main.c:136] Contents of /etc/os-release:
00:00:00.001 [INFO] [sway/main.c:120] NAME="Fedora Linux"
00:00:00.001 [INFO] [sway/main.c:120] VERSION="36 (Workstation Edition)"
00:00:00.001 [INFO] [sway/main.c:120] ID=fedora
00:00:00.001 [INFO] [sway/main.c:120] VERSION_ID=36
00:00:00.001 [INFO] [sway/main.c:120] VERSION_CODENAME=""
00:00:00.002 [INFO] [sway/main.c:120] PLATFORM_ID="platform:f36"
@ldelossa
ldelossa / cilium.sh
Last active February 24, 2022 20:59
#!/bin/bash
# build and push the cilium dev agent image to
# a local repository at localhost:5000
function cilium-agent-push {
if [ -z "${1}" ]; then
echo "tag not provided"
return
fi
cd /home/louis/git/gopath/src/github.com/cilium/cilium
package gobgp
import (
"fmt"
v2alpha1api "github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2alpha1"
)
// workDiff is a helper structure which provides fields and a method set
// for computing a diff of work to achieve a given
provider "google" {
project = "cilium-dev"
region = "us-east4"
}
// create two vpc networks disconnected
// from one another.
resource "google_compute_network" "bgp_demo_network_1" {
name = "bgp-demo-network-1"
}
---
name: Release
on:
push:
tags:
- v4.*
jobs:
build-binaries:

name: Release

on: push: tags: - v4.*

jobs: build-binaries:

[Unreleased]

Fix

  • 4672db1d: Missing storage argument and type error when calling file.write (#514)

[solo] - 2020-07-13

Keystonev2

# GCE vimeo-logs shortcuts
# Images shortcuts
logs-lim() { gcloud --project vimeo-logs compute images list }
logs-rmim() { if [ $# -eq 0 ]; then echo "Deletes an image: [image-name]"; else
gcloud --project vimeo-logs compute images delete $1; fi }
# Instances shortcuts
logs-li() { gcloud --project vimeo-logs compute instances list }