#256 colors in putty, tmux/screen and vim There is a detailed answer on stackoverflow. If you are looking for a short one, here it is.
-
putty
Set
Connection -> Data -> Terminal-type string
toxterm-256color
-
tmux
Add this line to ~/.tmux.conf
#256 colors in putty, tmux/screen and vim There is a detailed answer on stackoverflow. If you are looking for a short one, here it is.
putty
Set Connection -> Data -> Terminal-type string
to xterm-256color
tmux
Add this line to ~/.tmux.conf
#!/usr/bin/env python | |
# Copyright (C) 2006 by Johannes Zellner, <johannes@zellner.org> | |
# modified by mac@calmar.ws to fit my output needs | |
# modified by crncosta@carloscosta.org to fit my output needs | |
# Original source: https://github.com/incitat/eran-dotfiles/blob/master/bin/terminalcolors.py | |
import sys | |
import os |
echo "Installing Homebrew and Cask..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
install brew-cask | |
echo "Upgrading bash..." | |
brew install bash | |
brew install bash-completion | |
echo "Installing CLI Tools..." | |
brew install asciiquarium |
$ ./dup dup*.txt | |
[Found in 1 file(s)] yyy | |
5 hit(s) in dup4.txt | |
[Found in 2 file(s)] aaa | |
5 hit(s) in dup1.txt | |
1 hit(s) in dup2.txt | |
[Found in 3 file(s)] ccc | |
1 hit(s) in dup3.txt | |
1 hit(s) in dup1.txt | |
1 hit(s) in dup2.txt |
#include QMK_KEYBOARD_H | |
// Helpful Defines | |
#define _______ KC_TRNS | |
#define FN_CAPS LT(1, KC_CAPS) | |
#define LSFT_GRV LSFT_T(KC_GRV) | |
#define RSFT_SLSH RSFT_T(KC_SLSH) | |
#define RSFT_UP RSFT_T(KC_UP) | |
// Mac Keyboard Shorts |
#include <iostream> | |
#include <random> | |
#include <map> | |
#include <chrono> | |
int main() | |
{ | |
// Random Device | |
std::random_device rd; |