Skip to content

Instantly share code, notes, and snippets.

View basola21's full-sized avatar
:shipit:
Under refactoring….

Basel Mahmoud basola21

:shipit:
Under refactoring….
View GitHub Profile
@AntonFriberg
AntonFriberg / README.md
Created August 3, 2024 13:40
How to install and configure a basic Hyprland setup on Ubuntu 24.04 using Nix and Home Manager

Hyprland on Ubuntu 24.04

Hyprland is not available by default on Ubuntu 24.04 so instead we can utilize the Nix package manager and Home Manager.

Nix

The benefit of the Nix package manager compared to others in this case is that the package and dependencies of Nix packages is immutable and self contained. This means that the entire setup is contained to a separate /nix path. Changes to Nix packages does not break Ubuntu and changes to Ubuntu does not break Nix packages.

@bradtraversy
bradtraversy / ssh.md
Last active October 22, 2024 15:35
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@rcotrina94
rcotrina94 / regex para staticfiles en Django
Last active May 9, 2023 08:17
Find and Replace Django static files from template
Find what:
`(href|src)="([a-zA-Z0-9/.-]+[^.html])"`
Replace with:
`$1=\"{% static "assets/$2" %}"`