Skip to content

Instantly share code, notes, and snippets.

View Ogromny's full-sized avatar
🏠
Working from home

огромный Ogromny

🏠
Working from home
View GitHub Profile
@capezotte
capezotte / Replacing_Udev.md
Last active November 11, 2023 00:08
Instructions on replacing udev/eudev on Artix

Replacing udev on Artix Linux

Reminder this is UNSUPPORTED. Reproduce bugs on a stock install with xudev/eudev before reporting them.

Preparations

Do not reboot until you've done them all.

Step 1 - remove udev

@probonopd
probonopd / Wayland.md
Last active July 25, 2024 02:13
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.

In fact, it is merely an incompatible alternative, and not e

@james2doyle
james2doyle / tailwind-screen-is.js
Last active March 20, 2023 12:48
Find out if a tailwind screen value matches the current window
/**
*
* Find out if a tailwind screen value matches the current window
*
* @param {string} screen
*
* @return {Object|Boolean}
*/
export const screenIs = (screen = '') => {
// "Theme" is an alias to where you keep your tailwind.config.js - most likely your project root
@onjin
onjin / docker-compose.yml
Created June 29, 2020 21:38
sentry /traefik / docker-compose
version: '3'
services:
sentry:
image: 'sentry:latest'
command: start
networks:
- sentry
- traefik-public
depends_on:
- redis
@progandy
progandy / README.md
Last active September 26, 2023 08:27
Sway output mirror and screencast

Sway output mirror and screencast

Mirror

wf-recorder

With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.

@Pen-y-Fan
Pen-y-Fan / Test Driven Laravel.md
Created July 25, 2019 10:12
Test Driven Laravel
@carloscm
carloscm / bgfx-nuklear.cpp
Last active June 13, 2024 11:35
bgfx renderer for nuklear. Bring your own event handling and your own common sense for integration into your project.
#include "../platform/platform.h"
#include <cstdlib>
#include <cstring>
#include <bgfx/bgfx.h>
#include <bgfx/embedded_shader.h>
#include <bx/allocator.h>
#include <bx/math.h>
#define NK_IMPLEMENTATION
@jonhoo
jonhoo / userChrome.css
Created June 5, 2018 05:34
Firefox tabs-on-bottom
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* tabs on bottom of window */
#navigator-toolbox { -moz-box-ordinal-group: 10; }
#TabsToolbar { -moz-box-ordinal-group: 10; }
#PopupAutoCompleteRichResult {
margin-top: -35vh;
/*
position: fixed;
bottom: 74px;
@guycalledseven
guycalledseven / manual-uninstall-paragon-ntfs.sh
Last active July 10, 2024 21:30
Manually remove Paragon NTFS v15 leftovers MacOS
# after appcleaner does his magic, do this
sudo rm -rf "/Library/Application Support/Paragon Software/"
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/