Skip to content

Instantly share code, notes, and snippets.

View rhovelz's full-sized avatar
:octocat:
hm?

R rhovelz

:octocat:
hm?
View GitHub Profile
#############################
########## Bindings
#############################
# Set the prefix to `ctrl + a` instead of `ctrl + b`
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Automatically set window title
lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
sudo chown root chrome-sandbox
chmod 4755 chrome-sandbox
sudo sysctl kernel.unprivileged_userns_clone=1
https://github.com/electron/electron/issues/17972
# cat << EOF > /dev/null
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# /!\ do not edit this file
# instead, override settings in ~/.tmux.conf.local, see README.md
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export TERM="xterm-256color"
# Path to your oh-my-zsh installation.
export ZSH="/home/corshine/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
for code ({000..255}) print -P -- "$code: %F{$code}This is how your text would look like%f"
{
"segments": [
"virtual_env",
"aws_profile",
"ssh",
"cwd",
"git",
"git_stash",
"jobs",
"set_term_title",
#!/bin/bash
TEXT_RESET='\e[0m'
TEXT_YELLOW='\e[0;33m'
TEXT_RED_B='\e[1;31m'
TEXT_BLUE='\e[0;34m'
TEXT_PURPLE='\e[0;35m'
TEXT_CYAN='\e[0;36m'
TEXT_GREEN='\e[0;32m'