Skip to content

Instantly share code, notes, and snippets.

@i5ar
i5ar / custom_xkb.desktop
Created July 9, 2018 04:30 — forked from edliaw/custom_xkb.desktop
Custom keyboard layout for GNOME
[Desktop Entry]
Name=Keyboard Layout
Type=Application
Exec=sh -c "sleep 10 && [ -f \\$HOME/.Xkeymap ] && xkbcomp \\$HOME/.Xkeymap \\$DISPLAY 2> /dev/null"
Terminal=false
NoDisplay=true
X-GNOME-Autostart-enabled=true
@i5ar
i5ar / recover.c
Last active January 28, 2019 04:43 — forked from jcoryalvernaz/recover
Recover card
#include <stdio.h>
#include <stdbool.h>
int main(int argc, char *argv[])
{
// Make sure that I have one command line argument
if (argc != 2)
{
fprintf(stderr, "Usage: ./recover image\n");
@i5ar
i5ar / index.html
Created December 25, 2018 07:21 — forked from tmcw/index.html
d3.keybinding
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font:12px/20px 'Helvetica';
}
textarea, input {
width:100%;
height:20px;
margin:0;