Skip to content

Instantly share code, notes, and snippets.

@eydelrivero
eydelrivero / macos-tmux-256color.md
Created March 20, 2025 17:26 — 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):

@eydelrivero
eydelrivero / install_lamp_ubuntu.sh
Created April 27, 2021 09:44 — forked from ankurk91/install_lamp_ubuntu.sh
Ubuntu 20 - PHP development (php 7.4, apache 2.4)
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu 20.04 dev Server
# Run like (without sudo) - bash install_lamp.sh
# Script should auto terminate on errors
export DEBIAN_FRONTEND=noninteractive
$apiBaseUrl = 'https://ci.appveyor.com/api/account/<ACCOUNT_NAME>'
$token = '<API_TOKEN>'
$sourceEnvironmentName = '<SOURCE_ENVIRONMENT_NAME>'
Write-Host "$apiBaseUrl/environments"
$headers = @{
"Authorization" = "Bearer $token"
"Content-type" = "application/json"
}