Skip to content

Instantly share code, notes, and snippets.

View RobinBoers's full-sized avatar

Robin Boers RobinBoers

View GitHub Profile
@RobinBoers
RobinBoers / aws2bunny.sh
Created August 2, 2023 19:25
Simple script to migrate the contents of an AWS S3 bucket to a bunny.net Storage Zone.
#!/bin/sh
# Script to copy files from GCS bucket to Bunny(.net) Storage.
# This script assumes you're logged into the `gcloud` cli, and
# that all the files are at the top-level of the bucket and/or zone.
# Usage:
# ./copy.sh <BUCKET> <ZONE> <PASSWORD> [FLAGS]
# Arguments:
# $1: S3 bucket ID
@RobinBoers
RobinBoers / package.json
Last active July 10, 2023 20:38
Script to authenticate with the Somtoday API via SSO, by intercepting the redirect to the app.
{
"dependencies": {
"axios": "^1.4.0"
}
}
@RobinBoers
RobinBoers / element-dark.json
Created June 11, 2023 07:28
SchildiChat Desktop element theme
{
"name": "Schildi Element Dark",
"is_dark": true,
"colors": {
"primary-color": "#0dbd8b"
}
}
@RobinBoers
RobinBoers / element-light.json
Created May 14, 2023 16:55
vector-im/element-web default light theme
{
"name": "Default light theme",
"is_dark": false,
"colors": {
"accent-color": "#0DBD8B",
"primary-color": "#238CF5",
"warning-color": "#FF4B55",
"sidebar-color": "#27303A",
"roomlist-background-color": "#F3F8FD",
@RobinBoers
RobinBoers / gitea-github-layout.css
Last active June 10, 2023 20:04
Bit of CSS that makes Gitea more like GitHub. Currently used on https://git.geheimesite.nl.
.organization.profile .ui.container:first-child {
margin: 38px auto;
}
.organization.profile p:empty {
display: none;
}
.organization.profile .org-avatar {
width: 130px;
@RobinBoers
RobinBoers / remote-car.md
Last active July 26, 2022 15:11
Remote car with line following, hook grip thingie and remote control using micro:bit MOVE motor and Waveshare joystick controller.

MOVED TO REPO:

@RobinBoers
RobinBoers / neopunk.css
Last active September 20, 2022 15:09
Neopunk: my personal neopub theme.
/** General **/
html {
margin-left: calc(100vw - 100%);
margin-right: 0;
scroll-behavior: smooth;
box-sizing: border-box;
background-color: rgb(255, 102, 102);
background: linear-gradient(-45deg, #F59E0B, #DB2777, #0995ad, #38BDF8);
background-size: 400% 400%;
@RobinBoers
RobinBoers / README.md
Last active May 3, 2022 10:00 — forked from dianoetic/README.md
A GitHub Action for sending webmentions after your site builds

Send Webmentions with GitHub Actions

Action that uses curl to send your webmentions. It gets the most recent addition to a JSON feed (ideally, your latest post), looks for the value of a key called uri (ideally, your post's permalink) and sends webmentions for it.

The services currently in the file are webmention.app and brid.gy, but any service that can be triggered with a POST request will work fine with this.

This workflow file is run once another GitHub Action named "Build" completes successfully.

Usage

@RobinBoers
RobinBoers / deploy.yaml
Created April 10, 2022 09:28
GitHub action to deploy my website via FTP
on:
push:
branches: [ master ]
name: Deploy website via FTP
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
@RobinBoers
RobinBoers / som.css
Last active June 14, 2022 05:33
Userstyle to clean up somtoday ELO.
/**************************************************************************************************************************\
________ ________ _____ ______ _________ ________ ________ ________ ___ ___ _______ ________
|\ ____\|\ __ \|\ _ \ _ \|\___ ___\\ __ \|\ ___ \|\ __ \ |\ \ / /| / ___ \ |\ __ \
\ \ \___|\ \ \|\ \ \ \\\__\ \ \|___ \ \_\ \ \|\ \ \ \_|\ \ \ \|\ \ \ \ \/ / / /__/|_/ /| \ \ \|\ \
\ \_____ \ \ \\\ \ \ \\|__| \ \ \ \ \ \ \ \\\ \ \ \ \\ \ \ __ \ \ \ / / |__|// / / \ \ \\\ \
\|____|\ \ \ \\\ \ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \_\\ \ \ \ \ \ \/ / / / /_/__ __\ \ \\\ \
____\_\ \ \_______\ \__\ \ \__\ \ \__\ \ \_______\ \_______\ \__\ \__\__/ / / |\________\\__\ \_______\
|\_________\|_______|\|__| \|__| \|__| \|_______|\|_______|\|__|\|__|\___/ / \|_______\|__|\|_______|