Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View notnmeyer's full-sized avatar

Nate Meyer notnmeyer

View GitHub Profile
@notnmeyer
notnmeyer / flake-template.sh
Last active April 12, 2024 03:06
nix flake template
#/usr/bin/env bash
echo '{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};
outputs = {
systems,
@notnmeyer
notnmeyer / macos-tmux-256color.md
Created August 4, 2022 14:11 — forked from bbqtd/macos-tmux-256color.md
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

  1. sudo "/usr/lib/plexmediaserver/Plex Media Server" --sqlite "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db" "update metadata_items set added_at = created_at where added_at >= date('now');"
  2. rescan library from client
@notnmeyer
notnmeyer / nix-on-macos-catalina.md
Created December 30, 2021 02:55 — forked from chriselsner/nix-on-macos-catalina.md
Nix on macOS Catalina

Nix on macOS Catalina

I'm writing this gist for my own records but it might help someone else too.

Installing Nix

Support for Catalina has improved a lot since the update was first rolled out.

Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume option.

Compiling Cookbooks...
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/hekad/recipes/default.rb
================================================================================
NoMethodError
-------------
undefined method `general purpose data acquisition and processing engine' for Custom resource systemd_service from cookbook systemd
@notnmeyer
notnmeyer / -
Created September 14, 2016 15:35
test
@notnmeyer
notnmeyer / -
Created September 14, 2016 15:35
test
https://github.com/chef-cookbooks/homebrew/issues/87
https://github.com/kejadlen/sprout-homebrew/commit/f85b2ef275a5ad09eee1d29e6ad1ad2b5311dfa7