Skip to content

Instantly share code, notes, and snippets.

View wdudek82's full-sized avatar

Wojciech Dudek wdudek82

  • none
  • Krakow, Poland
View GitHub Profile
@wdudek82
wdudek82 / cloudSettings
Last active January 20, 2021 14:01
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-01-20T14:01:17.298Z","extensionVersion":"v3.4.3"}
@wdudek82
wdudek82 / tmux.conf
Created March 29, 2017 10:18 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@wdudek82
wdudek82 / tmux-cheatsheet.markdown
Created March 28, 2017 21:01 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@wdudek82
wdudek82 / bash_prompt.sh
Created January 4, 2017 22:24 — forked from insin/bash_prompt.sh
Set color bash prompt according to active virtualenv, git branch and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
@wdudek82
wdudek82 / twoline_prompt.sh
Created January 4, 2017 21:40 — forked from mkottman/twoline_prompt.sh
A two-line colored Bash prompt (PS1) with Git branch and a line decoration which adjusts automatically to the width of the terminal. Recognizes SVN, Git and Fossil version control systems and shows the current branch/revision.
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration
# which adjusts automatically to the width of the terminal.
# Recognizes and shows Git, SVN and Fossil branch/revision.
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png
# Michal Kottman, 2012
RESET="\[\033[0m\]"
RED="\[\033[0;31m\]"
GREEN="\[\033[01;32m\]"
BLUE="\[\033[01;34m\]"