Skip to content

Instantly share code, notes, and snippets.

View Strum355's full-sized avatar
🗿
Registered Bruh Moment

Noah S-C Strum355

🗿
Registered Bruh Moment
View GitHub Profile
BEGIN;
CREATE OR REPLACE FUNCTION glob_to_regex(pat text) RETURNS text AS $$
DECLARE
res text[] := array[]::text[];
i int := 0;
n int := length(pat) + 1;
BEGIN
WHILE i < n LOOP
DECLARE
{
description = "SCIP index emitter CLI and Java compiler plugin for Java/Kotlin/Scala";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs =
@Strum355
Strum355 / configuration.nix
Created September 23, 2021 23:52
wayland nix discord
{ config, pkgs, lib, ... }:
let
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
exec -a "$0" "$@"
'';

Keybase proof

I hereby claim:

  • I am strum355 on github.
  • I am strum355 (https://keybase.io/strum355) on keybase.
  • I have a public key ASA-VGMNKKrILExg8O1zpWI92ntOnRjTiPc73mPTrMN8igo

To claim this, I am signing this object:

@Strum355
Strum355 / README.md
Created March 12, 2019 23:25
Noto Sans Installer and Config Generator

Noto Sans Config Generator

Downloads and installs all Noto Sans fonts and prints a config section to be added to your ~/.config/fontconfig/fonts.conf

How to use

  1. Run the download.sh file
  2. Copy the output XML and pasted it before the final closing </fontconfig> tag in your ~/.config/fontconfig/fonts.conf file

Flags

@Strum355
Strum355 / jpeg.css
Last active June 6, 2018 10:35
Refined Github Sicc af CSS. Make the Githoob look cool and wide
.discussion-timeline::before {
width: 0px;
}
.container {
width: 90%;
}
body {
min-width: 0px;