Skip to content

Instantly share code, notes, and snippets.

View Solamil's full-sized avatar

Solamil Solamil

View GitHub Profile
@Solamil
Solamil / motogcalendar2025.html
Created August 12, 2025 19:15
MotoGP calendar 2025 - Easy to print
<!DOCTYPE html>
<html>
<head>
<title>🏍️MotoGP Calendar</title>
<meta charset="utf-8"/>
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<style>
@Solamil
Solamil / dwm-monocle-patch.c
Last active January 23, 2023 16:17 — forked from gbgabo/dwm-monocle-patch.c
dwm vanity gaps for monocle layout
// snippet of refactored monocle() function, to support gaps on monocle layout too
// just substitute the monocle() function located on your dwm.c file to this snippet
// this change requires vanity-gaps patch on your dwm build - https://dwm.suckless.org/patches/vanitygaps/
// disable/enable gaps and gaps controls work just like in tile layout
// credits to breakfict for this contribution: https://www.reddit.com/r/suckless/comments/m88dwg/monocle_gaps/grxs54k/?context=3
void
monocle(Monitor *m)
{
unsigned int n = 0, oe = enablegaps;