Skip to content

Instantly share code, notes, and snippets.

View lucasjellema's full-sized avatar

Lucas Jellema lucasjellema

View GitHub Profile
@lucasjellema
lucasjellema / query.tf
Created December 2, 2021 07:34
quick-terraform-oci-initialization
terraform {
required_version = ">= 0.14"
}
provider oci {
region = var.region
}
variable tenancy_ocid {default = "the ocid of your tenancy"}
variable region {default = "the region in which you want to query"}
@lucasjellema
lucasjellema / query.tf
Last active December 2, 2021 07:40
terraform-oci-query-functions-in-application
variable "application_name" { default = "cloudnative-2021App"}
data "oci_functions_applications" "function_applications" {
compartment_id = var.compartment_id
display_name = "${var.application_name}"
}
data "oci_functions_functions" "application_functions" {
application_id = data.oci_functions_applications.function_applications.applications[0].id
}
@lucasjellema
lucasjellema / commands.md
Last active December 12, 2021 12:46
OKE-dashboard-app-deployment

Get Kubernetes Dashboard Running

Install Dashboard on Cluster kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml

Verify the deployment kubectl -n kubernetes-dashboard get pods

Proxy Cluster kubectl proxy

@lucasjellema
lucasjellema / main.go
Last active December 28, 2021 12:08
OCI Go SDK ObjectStorag explorations
package main
import (
"context"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"os"
@lucasjellema
lucasjellema / objectstorage.go
Created December 28, 2021 13:39
SkeletonStateStoreComponent
/*
OCI Object Storage state store.
Sample configuration in yaml:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
spec:
@lucasjellema
lucasjellema / objectstorage.go
Last active December 31, 2021 11:39
Dapr custom state store on OCI ObjectStorage
/*
OCI Object Storage state store.
Sample configuration in yaml:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
spec:

Conclusion Code Cafe - 17th November 2022 - Handson

Three handson labs:

  • Backstage
  • Gitpod
  • OpenTelemetry

Backstage

The Backstage handson provides a Gitpod workspace in which a Backstage instance can be easily installed and explored. The handson instruction has some references to tutorials that help you look around Backstage.

@lucasjellema
lucasjellema / TagComponent.vue
Created July 23, 2024 06:31
Custom Vuetify components for editing tags
<template>
<v-autocomplete clearable chips closable-chips v-model="selectedTags" :items="filteredTags" multiple
item-title="name" item-value="name" auto-select-first hide-no-data hide-selected small-chips
label="Voeg tags toe" append-icon="mdi-tag-plus" @blur="handleBlurOnTags" :custom-filter="customFilter"
@update:model-value="handleSelectionUpdate" clear-on-select ref="autocompleteRef" class="ma-0 mt-5">
<!-- selected items -->
<template v-slot:chip="{ props, item }">
<v-chip v-bind="props" :text="item.raw.name"></v-chip>
</template> <!-- to select -->
<template v-slot:item="{ props, item }">