Skip to content

Instantly share code, notes, and snippets.

View dukenmarga's full-sized avatar

Duken Marga dukenmarga

View GitHub Profile
@dukenmarga
dukenmarga / font.md
Created April 26, 2025 04:23
Install Microsoft Windows Font (Arial, etc) on openSuse
sudo zypper install fetchmsttfonts
@dukenmarga
dukenmarga / ollama-install.md
Last active April 26, 2025 03:57
Ollama Installation

Install

curl -fsSL https://ollama.com/install.sh | sh

Change Ollama download directory (where models are saved)

# Create your mounting directory where models will be saved
mkdir -p /media/data/ollama-models
sudo chown -R ollama:ollama /media/data/ollama-models 
@dukenmarga
dukenmarga / docker.md
Last active April 24, 2025 12:16
Docker Cheatsheet

Docker check containers stats

docker stats

Docker check logs of a container

docker logs -f backend_api
@dukenmarga
dukenmarga / emoji-font-opensuse.md
Created April 8, 2025 04:43
Install Color Emoji Font openSuse
sudo zypper install noto-coloremoji-fonts emojione-color-font unicode-emoji
@dukenmarga
dukenmarga / install-vulkan-opensuse.md
Created March 25, 2025 02:25
Install Vulkan openSUSE
@dukenmarga
dukenmarga / git-flow-opensuse.md
Created March 20, 2025 03:46
Install git flow openSUSE

Download binary file from devel:tools:scm

Then install. It only requires 1 binary file.

Add remote repo

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo"

Change flatpak installation directory

Souce: flatpak/flatpak#2147 (comment)

cd /var/lib
sudo cp -R flatpak /media/data/
@dukenmarga
dukenmarga / snap.md
Created March 3, 2025 02:01
Snap Command

Search software

snap search ferdium

List installed software

snap list
snap list --all
@dukenmarga
dukenmarga / guile.md
Created February 21, 2025 07:09
libguile-3.0.so.1 not found after compiling guile source code

Problem

We downloaded the Guile source code and compile it by running:

./configure
make
sudo make install
rehash
@dukenmarga
dukenmarga / fix-opensuse.md
Created December 18, 2024 10:41
Fix opensuse 15.6 Flicker Gnome + Wayland

How to fix flickering in openSuse 15.6 with Gnome + Wayland system?

Add some boot options from Yast2 > Bootloader

... nvidia_drm.modeset=1

Then add new file /etc/modprobe.d/50-nvidia.conf and add line:

options nvidia NVreg_EnableGpuFirmware=1