Skip to content

Instantly share code, notes, and snippets.

View borisfaure's full-sized avatar
🐢
I may be slow to respond.

Boris Faure borisfaure

🐢
I may be slow to respond.
View GitHub Profile
@borisfaure
borisfaure / diff
Created September 20, 2022 15:46
darken background
diff --git a/data/themes/default/core.edc b/data/themes/default/core.edc
index ab0d2e9a..5c0dca23 100644
--- a/data/themes/default/core.edc
+++ b/data/themes/default/core.edc
@@ -66,6 +66,11 @@ group { name: "terminology/core";
action: STATE_SET "movie" 0.0;
target: "terminology.background";
}
+ part { name: "terminology.bg_fade"; type: RECT;
+ description { state: "default" 0.0;
@borisfaure
borisfaure / keybase.md
Created September 25, 2020 09:30
keybase proof

Keybase proof

I hereby claim:

  • I am borisfaure on github.
  • I am billiob (https://keybase.io/billiob) on keybase.
  • I have a public key whose fingerprint is A03F 74A6 51C4 36DA 002A D7C8 5787 DA62 0CE5 17D1

To claim this, I am signing this object:

@borisfaure
borisfaure / txt.edc
Created July 29, 2020 10:03
EDC example to produce text with background and border as rectangles
/* edje_cc txt.edc && edje_player txt.edj */
collections {
group { name: "base";
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 247 240 215 255;
}
}
part { name: "base"; type: RECT;
@borisfaure
borisfaure / term_bench.c
Created April 12, 2018 10:09
Benchmark for terminal apps
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#define CLS "\e[2J"
#define COUNT 1000
int w,h,mode;

Keybase proof

I hereby claim:

  • I am billiob on github.
  • I am billiob (https://keybase.io/billiob) on keybase.
  • I have a public key whose fingerprint is A03F 74A6 51C4 36DA 002A D7C8 5787 DA62 0CE5 17D1

To claim this, I am signing this object:

@borisfaure
borisfaure / dnd.c
Created September 1, 2011 19:36
dummy dnd test
/* gcc -ggdb3 -std=gnu99 dnd.c -o dnd -lX11 */
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>