Skip to content

Instantly share code, notes, and snippets.

@syrm
syrm / .gitconfig
Created September 1, 2025 09:31
1Password Git with PAT
[credential]
helper = !~/src/git-1password-credential.sh "login" "Item Name"
@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 December 9, 2025 00:12
Golden config for golangci-lint
# ==================================================================================================
#
# NOTICE
#
# This gist is no longer maintained. It was moved to repo:
#
# https://github.com/maratori/golangci-lint-config
#
# Full history and all v2 releases are preserved in the repo.
#
@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
{