Skip to content

Instantly share code, notes, and snippets.

View hoomanist's full-sized avatar
🍍
coding

hooman hoomanist

🍍
coding
  • Iran
View GitHub Profile
@christoph-frick
christoph-frick / Awesome-Fennel.md
Last active March 1, 2024 19:42
Use fennel to write the awesome-wm config

How to write an awesome-wm config with Fennel

Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).

General setup

Fetch a recent Fennel version (the

@ChrisWellsWood
ChrisWellsWood / empty_rust_structs.md
Last active November 8, 2023 10:05
Initialising empty structs in Rust.

Initialising Empty Structs in Rust

In C/C++, you can initialise a struct without giving values for any of the fields:

struct Point {
  float x;
  float y;
  float z;
};
@riku179
riku179 / python3_memo.md
Last active March 26, 2020 13:57
How to use OpenCV with Python3 in ArchLinux
  • procedure
$ sudo pacman -S opencv
$ sudo pip install numpy
  • check
$ python
>>> import cv2
@lirenlin
lirenlin / gist:9892945
Last active April 21, 2024 17:27
i3 wm, hide window title bar