Skip to content

Instantly share code, notes, and snippets.

@joshuarli
joshuarli / macos-tmux-256color.md
Created February 18, 2020 18:20 — forked from bbqtd/macos-tmux-256color.md
Installing tmux-256color for macOS

Installing tmux-256color for macOS

macOS has ncurses version 5.7 which doesn't 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 you can use screen-256color, place this command into your ~/.tmux.conf.

set-option -g default-terminal "screen-256color"
@joshuarli
joshuarli / main.go
Created June 7, 2020 19:17 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@joshuarli
joshuarli / 4.gif
Last active May 2, 2019 18:40
ri
4.gif
@joshuarli
joshuarli / 6.gif
Last active April 11, 2019 11:45
girl
6.gif
@joshuarli
joshuarli / 5.gif
Last active April 11, 2019 11:45
ne
5.gif
@joshuarli
joshuarli / 3.gif
Last active April 11, 2019 11:45
ou
3.gif
@joshuarli
joshuarli / 2.gif
Last active April 11, 2019 11:45
mb
2.gif