Skip to content

Instantly share code, notes, and snippets.

View TheEvilSkeleton's full-sized avatar
💭
Mostly on GNOME GitLab nowadays

Hari Rana TheEvilSkeleton

💭
Mostly on GNOME GitLab nowadays
View GitHub Profile
@lleyton
lleyton / translation.md
Last active January 23, 2024 16:53
(ENG) Open Source Business Challenges and Reality, Rui Ueyama

Open Source Business Challenges and Reality

Original Japanese note here.

Original Author: Rui Ueyama (creator of the mold linker)

Translated by @windowsboy111

Minimally edited by @lleyton

Using VSCode Flatpak to launch DevContainers Using Podman with Support for Nvidia CUDA and VSCode's "Container Features" In SilverBlue.

Note: This Setup Works for Machine Learning and GPU Acceleration in Containers

Setup

Make Sure you have rebased to UBlue-Nvidia.

Install Visual Studio Code

"""
This python script will find flatpak deduplication size stats.
Made with :heart: by powpingdone#3611, or just powpingdone on github.
Explaination for output:
'no dedupe': The size that the ostree repository would take up if files were not deduplicated.
'dedupe': The actual size of the ostree repository.
'singlet': The size of all files that are referenced once.
'orphan': The size of all files not referenced (ie, only one hard link).
@Ozymandias42
Ozymandias42 / pulse-appmic-setup.sh
Last active July 20, 2021 22:19
Short Script that creates a streaming setup in pulseaudio.
#!/usr/bin/env bash
#Short script that creates a streaming setup in pulseaudio. It does the following:
#1. Create a null-sink as ApplicationSink to separate a single applications audio from the rest
#2. Create remap-source as Virtual Microphone; AppSource
#3. Loopback the the ApplicationSink's audio back to the systems default audio output
#4. Loopback AppSink into virtual microphone AppSource
# ┌────────────┐
@g1eny0ung
g1eny0ung / OpenSourceIsNotAboutYou.md
Created November 3, 2020 04:32 — forked from richhickey/OpenSourceIsNotAboutYou.md
Open Source is Not About You

Open Source is Not About You

The only people entitled to say how open source 'ought' to work are people who run projects, and the scope of their entitlement extends only to their own projects.

Just because someone open sources something does not imply they owe the world a change in their status, focus and effort, e.g. from inventor to community manager.

As a user of something open source you are not thereby entitled to anything at all. You are not entitled to contribute. You are not entitled to features. You are not entitled to the attention of others. You are not entitled to having value attached to your complaints. You are not entitled to this explanation.

If you have expectations (of others) that aren't being met, those expectations are your own responsibility. You are responsible for your own needs. If you want things, make them.

@Ozymandias42
Ozymandias42 / pulse-streaming-setup.sh
Last active May 14, 2021 20:22
Short bash script to setup a streaming setup with pulseaudio.
#!/usr/bin/env bash
#Short script that creates a streaming setup in pulseaudio. It does the following:
#1. Create a null-sink as ApplicationSink to separate a single applications audio from the rest
#3. Create another null-sink as Input-Combinator; CombineSink
#4. Create remap-source as Virtual Microphone; Vsource
#5. Loopback the the ApplicationSink's audio back to the systems default audio output
#6. Loopback ApplicationSink audio again, this time into the CombineSink
#7. Loopback actual microphone audio into the CombineSink as well
#8. Loopback combined application output and real-mic input from CombineSink into virtual microphone Vsource
@refi64
refi64 / README.md
Last active November 29, 2023 15:54
The best GitHub README

kma

Travis CI badge Circle CI badge GitHub Actions badge Coverage badge LGTM badge npm badge pub.dev badge Download count badge

#!/bin/sh
set -eufo pipefail
if [ "$#" -ne 2 ]; then
echo "usage: $0 source_repo_url target_repo_url" >&2
exit 1
fi
SOURCE_URL="$1"
@ObserverOfTime
ObserverOfTime / BDLinux.md
Last active July 22, 2024 15:05
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

@iosecure
iosecure / iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment.md
Last active May 7, 2024 14:23
iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

This post by a security researcher who prefers to remain anonymous will elucidate concerns about certain problematic decisions Apple has made and caution about future decisions made in the name of “security” while potentially hiding questionable motives. The content of this article represents only the opinion of the researcher. The researcher apologises if any content is seen to be inaccurate, and is open to comments or questions through PGP-encrypted mail.



TL;DR