Skip to content

Instantly share code, notes, and snippets.

@mies
mies / macos-tmux-256color.md
Created March 10, 2023 01:01 — 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):

@mies
mies / learning.md
Created January 8, 2017 08:58 — forked from sibelius/learning.md
Learning Path React Native

Basics

  • Learn how to start a new react native project
  • Run it on ios simulator, on android emulator, on a real iPhone device and on a real Android device, with and without debugging enabled.
  • Learn how to upgrade a react native project
  • Learn how to add a package to the project
  • Learn how to add a package that has a native dependency (https://github.com/airbnb/react-native-maps, https://github.com/evollu/react-native-fcm) - DO NOT USE COCOAPODS

Learn Navigation

@mies
mies / cloud-config-local1.yaml
Created April 9, 2016 16:22 — forked from rawc0der/cloud-config-local1.yaml
CoreOS + Kubernetes 3 machine cluster deployment
#cloud-config
hostname: "coreos.local.1"
ssh_authorized_keys:
- ...
coreos:
etcd2:
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
# specify the initial size of your cluster with ?size=X
# discovery: https://discovery.etcd.io/64cdc949e85e49cbabe1f019b6c95408
# multi-region and multi-cloud deployments need to use $public_ipv4
@mies
mies / gist:1b27a60cba06e26112494a874dd37fb9
Created April 9, 2016 16:20
Droplet anchor IP configuration for CoreOS cloud-config on Digital Ocean
#cloud-config
coreos:
units:
# Explicit anchor IP configuration required on CoreOS stable droplet.
# <https://www.digitalocean.com/community/tutorials/how-to-enable-floating-ips-on-an-older-droplet>
- name: droplet-anchor-ip.service
command: start
content: |
[Unit]
@mies
mies / wercker.yml
Last active December 15, 2015 10:09
example yml
box: node
services:
- mongo:2.6
- id: api
url: file://../api#dev
cmd: node /pipeline/source/app.js
dev:
steps:
- npm-install
- internal/watch:
@mies
mies / wercker.yml
Last active December 21, 2015 22:48 — forked from pjvds/wercker.yml
box: wercker/python
build:
steps:
- install-packages:
packages: libfreetype6-dev
- pip-install
- script:
name: tests
code: python tests.py