Skip to content

Instantly share code, notes, and snippets.

View chussenot's full-sized avatar
❤️

Clément Hussenot chussenot

❤️
View GitHub Profile
@chussenot
chussenot / bash-template.sh
Created April 16, 2020 07:23 — forked from PhilipSchmid/bash-template.sh
Bash script template (incl. logging functions)
#!/bin/bash
#################################
# Constants / global variables
#################################
LOGFILE='example.log'
LOGLEVEL='INFO'
#################################
# Functions
@chussenot
chussenot / dummy-web-server.py
Created April 20, 2021 13:10 — forked from bradmontgomery/dummy-web-server.py
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
"""
Very simple HTTP server in python (Updated for Python 3.7)
Usage:
./dummy-web-server.py -h
./dummy-web-server.py -l localhost -p 8000
Send a GET request:
@chussenot
chussenot / README.md
Created July 13, 2024 07:20 — forked from kirederik/README.md
Pushing Resource Requests to Bitbucket

Steps

  1. At the root of your backstage directory, run:
    yarn --cwd packages/backend add @backstage/plugin-scaffolder-node
    yarn --cwd packages/backend add zod
    yarn --cwd packages/backend add fs-extra @types/fs-extra
    yarn install
    
  2. Create a custom.ts file in packages/backend/src/plugins/actions/ with the contents of the custom.ts file below
@chussenot
chussenot / app-config.yaml
Created July 13, 2024 07:24 — forked from kjenney/app-config.yaml
Using Self-hosted Github instance with Backstage Scaffolder
app:
title: Test
baseUrl: http://localhost:3000
organization:
name: Test
backend:
# Used for enabling authentication, secret is shared by all backend plugins
# See https://backstage.io/docs/auth/service-to-service-auth for