Skip to content

Instantly share code, notes, and snippets.

View RobinBoers's full-sized avatar
curious

Robin RobinBoers

curious
View GitHub Profile
@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.
/**************************************************************************************************************************\
________ ________ _____ ______ _________ ________ ________ ________ ___ ___ _______ ________
|\ ____\|\ __ \|\ _ \ _ \|\___ ___\\ __ \|\ ___ \|\ __ \ |\ \ / /| / ___ \ |\ __ \
\ \ \___|\ \ \|\ \ \ \\\__\ \ \|___ \ \_\ \ \|\ \ \ \_|\ \ \ \|\ \ \ \ \/ / / /__/|_/ /| \ \ \|\ \
\ \_____ \ \ \\\ \ \ \\|__| \ \ \ \ \ \ \ \\\ \ \ \ \\ \ \ __ \ \ \ / / |__|// / / \ \ \\\ \
\|____|\ \ \ \\\ \ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \_\\ \ \ \ \ \ \/ / / / /_/__ __\ \ \\\ \
____\_\ \ \_______\ \__\ \ \__\ \ \__\ \ \_______\ \_______\ \__\ \__\__/ / / |\________\\__\ \_______\
|\_________\|_______|\|__| \|__| \|__| \|_______|\|_______|\|__|\|__|\___/ / \|_______\|__|\|_______|
@RobinBoers
RobinBoers / distro-list.md
Created January 16, 2022 11:41
A list of beginner friendly distros I would recommend to my friends if I had any.

GNOME

For GNOME I picked Fedora because it offers a vanilla GNOME experience and is frequently updated while remaining rock-solid.

Download

elementaryOS

Pantheon, the elementary desktop, is only shipped by the guys over at elementary, so that choice was quickly made.

@RobinBoers
RobinBoers / github-theme-notes-up.md
Created January 5, 2022 09:58
GitHub theme for Notes-Up

Notes-Up "GitHub" theme

This is a simple theme to make Notes-Up look like GitHub markdown. Adaptation of sindresorhus/github-markdown-css for Notes-Up.

Installation

  • Open Preferences
  • Click viewer
  • Enter the CSS below in "Global style modifications"
  • Click close
@RobinBoers
RobinBoers / must-watch-channels.txt
Created December 10, 2021 20:15
List of cool YouTube channels I follow
www.youtube.com/channel/UCLXo7UDZvByw2ixzpQCufnA
www.youtube.com/channel/UCcXUhZB4t3g8EGdYiqwS4Aw
www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA
www.youtube.com/channel/UCBa659QWEk1AI4Tg--mrJ2A
www.youtube.com/channel/UCvt0HYxX34vUvqu66HLXeUw
www.youtube.com/channel/UClY084mbGLK_SLlOfgizjow
www.youtube.com/channel/UCQHsMwcGoH1ygyi-pJs5Z8A
www.youtube.com/channel/UC9mvRrl9o7rG65ABsGVvDBw
www.youtube.com/channel/UCY1kMZp36IQSyNx_9h4mpCg
www.youtube.com/channel/UCmtyQOKKmrMVaKuRXz02jbQ
@RobinBoers
RobinBoers / must-read-blogs.txt
Created December 10, 2021 20:10
List of cool programming blogs I follow :)
https://kornel.ski/pornelski.atom
https://keithjgrant.com/posts/index.xml
https://webdevelopment-en-meer.blogspot.com/feeds/posts/default
https://witblauw.blogspot.com/feeds/posts/default
https://ictoblog.nl/feed
https://pointieststick.com/feed/
https://keithjgrant.com/posts/index.xml
https://www.wiserfirst.com/feed.xml
https://vyshnav.xyz/feed.xml
https://ferd.ca/feed.rss
@RobinBoers
RobinBoers / config.py
Created September 26, 2021 07:54
Qtile MacOS style config
# Config file for Qtile TWM written by Robijntje.
# This is part of Robijntjes dotfiles. Copy it and do whatever
# the hell you want with it.
# This is my MacOS clone config. Only the look
# is different from the main version. The rest of
# the config is identical to the main config file.
from typing import List # noqa: F401
@RobinBoers
RobinBoers / remote-car.py
Last active July 21, 2021 08:56
Script for a remote car control using :MOVE motor and another microbit for the micro:bit
# Script for the :MOVE motor
def on_received_value(name, value):
if value == 0:
moveMotorZIP.set_color(Kitronik_Move_Motor.colors(Kitronik_Move_Motor.ZipLedColors.WHITE))
Kitronik_Move_Motor.move(Kitronik_Move_Motor.DriveDirections.FORWARD, speed)
elif value == 1:
moveMotorZIP.set_color(Kitronik_Move_Motor.colors(Kitronik_Move_Motor.ZipLedColors.WHITE))
Kitronik_Move_Motor.move(Kitronik_Move_Motor.DriveDirections.REVERSE, speed)
elif value == 2:
@RobinBoers
RobinBoers / line-following.py
Created July 20, 2021 10:19
Line following MicroPython for the micro:bit MOVE Motor
# Add your Python code here. E.g.
from microbit import *
import math
from neopixel import NeoPixel
from time import sleep
import machine
import utime
from music import play,stop,BA_DING
# A module to simplify the driving o the motors on Kitronik :MOVE Motor buggy with micro:bit