This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, lib, ... }: | |
| let | |
| dtUser = "mit"; | |
| dtGroup = "photos"; | |
| dtPath = "/data/darktable"; | |
| in | |
| { | |
| environment.systemPackages = [ pkgs.acl ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, lib, flakeInputs, ... }: | |
| let | |
| jellyUID = 5000; | |
| jellyGID = 5000; | |
| mediaMountPoint = "/mnt/media"; | |
| remoteMediaPath = "nyx:/mnt/storage1/media"; | |
| jellyConfigPath = "/data/jellyfin/config"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, lib, pkgs, ... }: | |
| let | |
| mpdUser = "mpd"; | |
| mpdGroup = "mpd"; | |
| icecastUser = "icecast"; | |
| icecastGroup = "icecast"; | |
| mpdDir = "/srv/mpd"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = import <nixpkgs> {}; | |
| ruby = pkgs.ruby_3_2; | |
| bundler = pkgs.buildRubyGem { | |
| inherit ruby; | |
| gemName = "bundler"; | |
| version = "2.6.8"; | |
| source = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, lib, pkgs, ... }: | |
| # Headless Mopidy + Icecast Streaming Setup on NixOS | |
| # | |
| # Minimal and robust audio streaming setup using Mopidy and Icecast. | |
| # Streams MP3 audio from Mopidy to Icecast (/mpd.mp3) using a clean GStreamer pipeline. | |
| # No local audio output — pure network streaming. | |
| # | |
| # For example: use this setup to run a local home audio "radio" stream |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, lib, ... }: | |
| let | |
| domain = "localhost"; | |
| dataDir = "/srv/phpbb"; | |
| app = "phpbb"; | |
| in { | |
| services.mysql = { | |
| enable = true; | |
| package = pkgs.mariadb; |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Was versteht man unter der Klassischen Testtheorie (KTT)?";"Lineares Modell von Wahrem Wert und Messfehler" | |
| "Wie wird ein beobachteter Wert in der KTT zerlegt?";"Wahrer Wert plus Zufallsfehler" | |
| "Welche Grundannahme trifft die KTT über den Mittelwert des Messfehlers?";"Er ist gleich Null" | |
| "Was ist der Wahre Wert laut KTT?";"Erwartungswert des beobachteten Werts" | |
| "Was bedeutet Messfehlerunabhängigkeit in der KTT?";"Fehler sind unabhängig vom Wahren Wert" | |
| "Wofür steht die Fehlervarianz in der KTT?";"Varianz der Zufallskomponente" | |
| "Warum kann man die KTT auch 'Teilungsmodell' nennen?";"Weil der Messwert in zwei Komponenten zerlegt wird" | |
| "Welche Rolle spielt die Reliabilität in der KTT?";"Sie misst die Genauigkeit eines Tests" | |
| "Wie wird Reliabilität formal definiert?";"Varianz Wahrer Wert / Varianz beobachteter Wert" | |
| "Welchen Wertebereich kann Reliabilität annehmen?";"Zwischen 0 und 1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'find' | |
| def remove_trailing_whitespaces(directory) | |
| Find.find(directory) do |path| | |
| next unless File.file?(path) # Skip directories | |
| next if path =~ /\.\/\.git/ | |
| begin | |
| text = File.open(path, "r:UTF-8") do |file| | |
| file.read.encode("UTF-8", invalid: :replace, undef: :replace, replace: "") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "pp" | |
| module M | |
| def self.run(arg) | |
| r = `#{arg} 2>&1` | |
| return r | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS_GHC -Wno-deprecations #-} | |
| import XMonad | |
| import System.IO | |
| import XMonad.Actions.CycleWS | |
| import XMonad.Actions.FloatKeys | |
| import XMonad.Actions.SpawnOn | |
| import XMonad.Config.Gnome | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks |
NewerOlder