Skip to content

Instantly share code, notes, and snippets.

@jdloft
jdloft / .bash_profile
Last active October 18, 2021 01:36 — forked from dylon/.bash_profile
How to get 256 colors in a standard Linux terminal + screen (without X windows).
# ...
# This is for what I would consider a standard setup, where TTY's 1 -- 6 are
# "linux" terminals and TTY's 7+ are reserved for X windows. You should adjust
# it to your setup, accordingly.
#
# ::: Important ::: You must have both fbterm and screen installed and on your
# path for this to work.
case $(tty) in /dev/tty[0-6]*)
@jdloft
jdloft / secure-shell-solarized.js
Last active February 25, 2019 06:14 — forked from johnbender/prefs.js
Set up Chrome's Secure Shell extension to use solarized terminal colors
// Disable bold.
term_.prefs_.set('enable-bold', false)
// Solarized Dark
term_.prefs_.set('background-color', "#002b36");
term_.prefs_.set('foreground-color', "#839496");
term_.prefs_.set('cursor-color', "rgba(147, 161, 161, 0.5)");
// Solarized Light
//term_.prefs_.set('background-color', "#fdf6e3");
@jdloft
jdloft / user.css
Last active January 5, 2016 16:34 — forked from thatkookooguy/user.css
This will make tty.js open up a terminal in fullscreen after a user connects & change the background color to the default purple. This should be added to tty.js/static/
.terminal {
background-color: #300A24 !important;
border: #300A24 solid 5px;
}

tmux cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname