Skip to content

Instantly share code, notes, and snippets.

View lance's full-sized avatar
🎯
Focusing

Lance Ball lance

🎯
Focusing
View GitHub Profile

Why?

Bucket notifications is a powerful integration feature, with some interesting applications, but like anything that has to do with integration, it has lots of moving parts that require setup. I thought that trying to create such a setup from scratch, as a small demo running on my laptop, is probably the best way to figure out the pain points in the process.

In this setup, Ceph, together with the RADOS Getaway (RGW) will be running inside a minikube Kubernetes cluster, using Rook. Knative will be running in the same cluster.

everything is tested with:

  • Fedora32
  • minikube: v1.13.0
  • knative: v0.22
  • rook: v1.6.0
@lance
lance / telegram-example.yaml
Created November 20, 2020 19:16 — forked from nicolaferraro/telegram-example.yaml
Telegram Example
---
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: example-telegram-source
spec:
source:
properties:
authorizationToken: put-here-your-token
@lance
lance / chief-architect.md
Last active December 12, 2018 19:56
CA Responsibilities

Engineering/Development

  • Work on critical issues/features/blockers etc
  • Assist others when needed
  • Contribute to platform and project development tasks as required.
  • Mentor their team technically, organisationally and on Open Source matters
  • Is the ultimate technical decision maker in their area
@lance
lance / rosemary-shortbread.md
Created December 23, 2017 18:56
Most excellent vegan rosemary and olive oil shortbread

Olive Oil Rosemary Shortbread

  • 130g (2/3 C) olive oil
  • 60 g (1/3 C) powdered sugar
  • 200g (1.5 C) all purpose flour
  • 60g (1/3 C) whole wheat flour
  • 2g (1/2 tsp) fleur de sel
  • 2g (1/4 tsp) kosher salt
  • 5g (2 Tbsp) chopped fresh rosemary
┌────────────────────┬─────────────────────────────────────┬────────┬────────┐
│ Function │ File │ Line │ Time │
├────────────────────┼─────────────────────────────────────┼────────┼────────┤
│ global.process.ne… │ /Users/lanceball/src/fidelity/lib/i │ 226 │ 23205 │
│ │ ndex.js │ │ │
├────────────────────┼─────────────────────────────────────┼────────┼────────┤
│ runner │ /Users/lanceball/src/fidelity/node_ │ 67 │ 20788 │
│ │ modules/bench/lib/bench.js │ │ │
├────────────────────┼─────────────────────────────────────┼────────┼────────┤
│ lap │ /Users/lanceball/src/fidelity/node_ │ 57 │ 9173 │
13:12:14,288 ERROR [stderr] (Controller Boot Thread) "operation" => "add",
13:12:14,288 ERROR [stderr] (Controller Boot Thread) "address" => [("subsystem" => "messaging-activemq")]
13:12:14,288 ERROR [stderr] (Controller Boot Thread) }, {
13:12:14,288 ERROR [stderr] (Controller Boot Thread) "operation" => "add",
13:12:14,288 ERROR [stderr] (Controller Boot Thread) "address" => [
13:12:14,288 ERROR [stderr] (Controller Boot Thread) ("subsystem" => "messaging-activemq"),
13:12:14,288 ERROR [stderr] (Controller Boot Thread) ("server" => "default")
13:12:14,288 ERROR [stderr] (Controller Boot Thread) ],
13:12:14,288 ERROR [stderr] (Controller Boot Thread) "cluster-password" => expression "${jboss.messaging.cluster.password:CHANGE ME!!}"
13:12:14,288 ERROR [stderr] (Controller Boot Thread) }, {
@lance
lance / my_face.md
Last active August 29, 2015 14:02
These are my words that I spoke at Mike Ball's memorial service. I read this poem, and spoke about family.

In addition to reading this poem, I was asked to speak a few words about family. Mike was my uncle.

This poem speaks to me of finding and accepting who you are, because of (or in spite of) the face, the name, the family you are given. It is about acceptance.

There is a famous quote by Leo Tolstoy. I think it is the opening line of Anna Karenina. I am paraphrasing: "Every happy family is exactly the same. But each unhappy family is unhappy in its own unique way." I like this quote. But I don't really think it's true. I think ALL families are unhappy in some way. But that doesn't make them bad, or wrong. It just makes them real. It gives shape and contour to the mask of the face you are given.

@briancavalier
briancavalier / example.js
Last active November 24, 2021 20:10
Infinite "lists" in es6 using generators and yield
// Requires traceur
import { iterate, take, map, foldl } from './list-out-of-yield';
// Sum of squares of integers 1..100
var values = take(100, iterate(x => x + 1, 1));
var result = foldl((x, y) => x + y, 0, map(x => x * x, values));
console.log(result);
@lance
lance / TODO
Last active January 2, 2016 14:39 — forked from adamstac/TODO
* Review this article and add new steps as needed: http://blog.therubymug.com/blog/2010/05/20/the-install-osx.html
@lance
lance / bootstrap-project.sh
Last active December 28, 2015 10:29
Bootstrap a project with tmux
#!/bin/sh
if [ -z "$1" ] ; then
echo "usage: $0 <projectname> [/path/to/project]"
exit 1
fi
MYPROJECT=$1
# Setup some variables needed for bootstrapping the environment
if [ -z "$2" ] ; then