Skip to content

Instantly share code, notes, and snippets.

View lukasnxyz's full-sized avatar

lukas lukasnxyz

View GitHub Profile
@lukasnxyz
lukasnxyz / gist:dd848a04b0adec0ffddf18480743b7f4
Last active November 26, 2025 08:05
Gnome Custom Settings
#!/bin/sh
# 9 static workspaces
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 9
# switch to work space i keybinds
# move to work space i keybinds
# disable super num to open applications
for i in {1..9}; do
@lukasnxyz
lukasnxyz / face_landmark_detection.py
Created February 18, 2025 18:47
face landmark detection
# python3.12 needed for mediapipe!
# pip install mediapipe opencv-python numpy
import mediapipe as mp
from mediapipe.tasks import python
from mediapipe.tasks.python import vision
from mediapipe import solutions
from mediapipe.framework.formats import landmark_pb2
import cv2
import numpy as np
@lukasnxyz
lukasnxyz / truth_sentences.txt
Last active July 24, 2024 15:03
truth sentences
leo is a kind of constellation
the earth revolving around the sun causes stars to appear in different areas in the sky at different times of year
a constellation contains stars
earth is a kind of celestial object
stars appear to move relative to the horizon during the night
a star is a kind of celestial object / celestial body
the earth rotating on its axis causes stars to appear to move across the sky at night
apparent motion is when an object appears to move relative to another object 's position
diurnal motion is when objects in the sky appear to move due to earth 's rotation on its axis
stars appear to move relative to the horizon during the night