Skip to content

Instantly share code, notes, and snippets.

View hoomanist's full-sized avatar
🍍
coding

Hoomân Hedayati hoomanist

🍍
coding
View GitHub Profile
@lirenlin
lirenlin / gist:9892945
Last active September 14, 2024 05:24
i3 wm, hide window title bar
@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
@ChrisWellsWood
ChrisWellsWood / empty_rust_structs.md
Last active November 8, 2024 11:54
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;
};
@christoph-frick
christoph-frick / Awesome-Fennel.md
Last active October 9, 2024 12:58
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