Skip to content

Instantly share code, notes, and snippets.

View gbraad's full-sized avatar
👨‍👩‍👦‍👦
Working from home

Gerard Braad gbraad

👨‍👩‍👦‍👦
Working from home
View GitHub Profile
@gbraad
gbraad / numworkstest.py
Last active March 21, 2022 18:37
NumWorks - test
from math import *
import React from 'react';
import {
NumberInput,
} from '@patternfly/react-core';
export default {
title: 'Example/NumberInput',
component: NumberInput,
argTypes: {
},
  • slides
    • outline
      • intro
      • problem definition
      • how did you solve it how did you do it
        • swift -> react
          • it is complicated
            • HTML
  • JS (es6)
@gbraad
gbraad / README.md
Last active January 13, 2022 06:19
Proof of Concept to use bearer token with Cockpit

Proof of Concept to use bearer token with Cockpit

/usr/local/bin/verify-bearer-token

#!/bin/sh
# This file is part of CRC
# Note: this is a POC and should not be used in production
#
# Copyright (C) 2021 Red Hat, Inc.
@gbraad
gbraad / README.md
Created October 28, 2021 12:33
OpenTX overview
      / \                / \
       | T                | E
    R  |               A  |
  <----o---->        <----o---->
       |                  |
       |                  |
      \ /                \ /
@gbraad
gbraad / README.md
Created October 27, 2021 07:17
Run openvscode-server from Podman

Run openvscode-server from Podman

It's a simple as:

podman pull docker.io/gitpod/openvscode-server:latest
podman run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/openvscode-server

Note: since podman runs rootless you might get a Permission Denied:

@gbraad
gbraad / README.md
Last active October 27, 2021 06:57
VS Code on Google Colab
@gbraad
gbraad / README.md
Last active May 14, 2023 11:01
Fedora system upgrade without a possibility to reboot (eg. Termux)
@gbraad
gbraad / readme.md
Created September 15, 2021 12:28 — forked from guillaumerose/readme.md
Microshift with podman machine

5 minutes to OpenShift on a Mac with podman machine and microshift.

Steps:

  1. brew install podman
  2. podman machine init
  3. podman machine start
  4. podman machine ssh

(in the ssh session)

@gbraad
gbraad / README.md
Created September 11, 2021 14:58
Spotwelder timer