Skip to content

Instantly share code, notes, and snippets.

@hyperreal64
hyperreal64 / docker-compose.yml
Created Jun 23, 2021
Docker compose for Gitea
View docker-compose.yml
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.14.2
container_name: gitea
View nvidia.nix
{ pkgs, ... }:
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" "$@"
'';
@hyperreal64
hyperreal64 / linuxonly2.zsh-theme
Created May 12, 2021
Fork of the linuxonly theme for Oh My Zsh
View linuxonly2.zsh-theme
autoload -U add-zsh-hook
autoload -Uz vcs_info
local c0=$(printf "\033[0m")
local c1=$(printf "\033[38;5;215m")
local c2=$(printf "\033[38;5;209m")
local c3=$(printf "\033[38;5;203m")
local c4=$(printf "\033[33;4m")
local c5=$(printf "\033[38;5;137m")
local c6=$(printf "\033[38;5;240m")
@hyperreal64
hyperreal64 / vscode.repo
Created Mar 24, 2021
VSCode repository for Fedora
View vscode.repo
[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
View keybase.md

Keybase proof

I hereby claim:

  • I am hyperreal64 on github.
  • I am hyperreal2 (https://keybase.io/hyperreal2) on keybase.
  • I have a public key ASAT3QPRSlCSiQ1b-7eqdHpHnglM37ERFEQBQJy_3xvlDwo

To claim this, I am signing this object: