Skip to content

Instantly share code, notes, and snippets.

View Luna-Klatzer's full-sized avatar
🏳️‍⚧️
Cherish growth ~ she/her

Luna Luna-Klatzer

🏳️‍⚧️
Cherish growth ~ she/her
View GitHub Profile
{
"name": "default_name",
"version": "0.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "default_name",
"version": "0.0.1",
"license": "GPL-3.0",
@Luna-Klatzer
Luna-Klatzer / README.md
Last active January 18, 2022 08:03
Setup Guide for Automatic Building and Deployment

Setup Guide for Automatic Building and Deployment

This Guide aims to explain the WMC "Standard" for deploying your site on GitHub, where it will stay online 24/7 under your own unique URL.

For that, we will use Github Pages and Github Actions, which are both integrated tools in GitHub everyone may use that has an account.

Content

@Luna-Klatzer
Luna-Klatzer / deploy-gh-pages.yml
Last active June 13, 2022 08:35
Deploying a project using Parcel with the addition of a disclaimer banner
name: Deploy GH-Pages
on:
push:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
@Luna-Klatzer
Luna-Klatzer / package.json
Last active June 13, 2022 08:19
Default Project Setup for Parcel
{
"name": "default_name",
"version": "0.0.1",
"description": "A default project setup to just have a basic local environment",
"keywords": [
"dummy"
],
"license": "GPL-3.0",
"author": "Luna Klatzer",
"engines": {
@Luna-Klatzer
Luna-Klatzer / insert-html-banner.py
Last active February 6, 2022 21:32
Python HTML Banner Insertion
""" Script to automatically insert a disclaimer html into each html page """
from html.parser import HTMLParser
from pathlib import Path
from typing import List
from glob import glob
BANNER_TO_INSERT: str = """
<div id="disclaimer-banner" style="display: flex; justify-content: center; background-color: white;">
<p style="padding: 0.5rem; font-style: italic; margin: 0;">
Educational, non-profit project created by students