Skip to content

Instantly share code, notes, and snippets.

@syrm
syrm / keymap.c
Last active January 9, 2024 09:09
Bépo preonic
/* Copyright 2015-2021 Jack Humbert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@maratori
maratori / .golangci.yml
Last active May 22, 2024 12:59
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.58.2
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt and change it for your needs.
run:
@syrm
syrm / love.php
Last active March 14, 2021 13:00
Love compatibility test
<?php
/**
* Made in 2000 on a TI-92
* Executed again lots of years after for fun (in 2019) with a result of 99% compatibility with my wife.
* So i decided to retranscript it on PHP.
*/
class Person
{