Skip to content

Instantly share code, notes, and snippets.

View sardemff7's full-sized avatar

Morgane Glidic sardemff7

View GitHub Profile
@sardemff7
sardemff7 / varlogpaludis1648113747-install-gnome-desktop_gobject-introspection-1.72.0:1::gnome.out
Created March 24, 2022 10:17
/var/log/paludis/1648113747-install-gnome-desktop_gobject-introspection-1.72.0:1::gnome.out
+++ Executing phase 'killold' as instructed
=== Running ebuild phase killold as root:root...
=== Starting builtin_killold
=== Done builtin_killold
=== Completed ebuild phase killold
+++ Executing phase 'init' as instructed
=== Running ebuild phases init saveenv as paludisbuild:paludisbuild...
=== Starting builtin_init
=== Done builtin_init
=== Starting builtin_saveenv
xkb_symbols "simple" {
include "fr(bepo)"
key <RALT> { [ Mode_switch ] };
key <HENK> { [ Mode_switch ] };
modifier_map Mod5 { <LVL3>, <RALT>, <HENK> };
key <AE01> { [ 1, exclam ], [ 6 ] };
key <AE02> { [ 2, at ], [ ampersand ] };
key <AE03> { [ 3, numbersign ], [ parenleft ] };
key <AE04> { [ 4, dollar ], [ parenright ] };
@sardemff7
sardemff7 / server implementation.md
Last active July 5, 2019 08:57
Wayland tiny examples

About naming: in specification and code, I will use the z<name>_v<unstable-version> unstable naming convention, while I will just use <name> in explanations.

First, our protocol:

<?xml version="1.0" encoding="UTF-8"?>
<protocol name="rainbow">
    <copyright>
    </copyright>

    <interface name="zex_rainbow_v1" version="1">
@sardemff7
sardemff7 / pinentry-rofi.rb
Last active July 31, 2023 15:09
Pinentry rofi-based bare implementation
#! /usr/bin/env ruby
# Copyright © 2016 Quentin "Sardem FF7" Glidic
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@sardemff7
sardemff7 / webhook-post-receive.bash
Last active May 11, 2017 14:47
GitHub WebHook trivial implementation in Bash
#! /bin/bash
pusher=${GL_USER:-${USER:-git}}
repository=${GL_REPO}
if [[ -z "${repository}" ]]; then
repository=$(basename ${PWD})
[[ ${repository} == ".git" ]] && repository=$(basename $(dirname ${PWD}))
fi