Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@arbelt
arbelt / macos-tmux-256color.md
Created June 27, 2020 16:07 — 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"
@arbelt
arbelt / open_without.sh
Created October 8, 2019 21:16 — forked from jamesrampton/open_without.sh
Clean up Mac OS X Open With menu
#!/bin/bash
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
killall Finder
@arbelt
arbelt / gist:781c43ef581928ab6260dacaf443f274
Created December 23, 2016 23:52 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview
@arbelt
arbelt / 00_theme_mods.R
Last active March 22, 2016 16:14 — forked from hrbrmstr/orig.png
Supreme Annotations - moar splainin here: http://rud.is/b/2016/03/16/supreme-annotations/ - NOTE: this requires the github version of ggplot2
# CAVEATS:
#
# 1. This requires nonstandard fonts. Showtext is the best way to handle this portably, BUT
# it doesn't work within the RStudio viewer pane. Exported files (and knitr) are fine, also
# interactive sessions without RStudio (e.g., using XQuartz).
#
# When working in RStudio, I generally don't change the font and preview an "ugly" version
# of the chart. Just make sure all the elements are set when exporting.
#
# To set up showtext:
;; Usage Example:
;;
;; <!-- BEGIN RECEIVE ORGTBL ${1:YOUR_TABLE_NAME} -->
;; <!-- END RECEIVE ORGTBL $1 -->
;;
;; <!--
;; #+ORGTBL: SEND $1 orgtbl-to-gfm
;; | $0 |
;; -->