Skip to content

Instantly share code, notes, and snippets.

Avatar

Mitchel Cabuloy mixxorz

View GitHub Profile
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active Jul 22, 2021
True Color and Italics w/alacritty + tmux + vim
View alacritty-tmux-vim_truecolor.md

This should make true-color and italics work in your tmux session.

Tested successfully in bash and zsh with latest packages from Arch (with exception of Neovim from Git) 20019-07-07.

Notes

  1. Don't use &t_8f and &t_8b in your vim config
  2. Don't set $TERM in your zshrc, bashrc, etc. Let your terminal set this. So far xterm-256color has worked best for me.

Testing colors

View URLs-syntax-DEP.md

======================== DEP XXX: Simplified routing syntax

  • DEP: XXX
  • Author: Tom Christie
  • Implementation Team: Tom Christie
  • Shepherd: Tim Graham
  • Status: Draft
  • Type: Enhancement
@alferov
alferov / docker-rm-images.md
Last active Jul 6, 2021
Remove all (untagged) images and containers from Docker
View docker-rm-images.md
# Delete all containers
docker rm $(docker ps -aq)
# Delete all images
docker rmi $(docker images -q)
# Delete all untagged images
docker rmi $(docker images -q --filter "dangling=true")

References:

@palibaya
palibaya / gist:5361696
Created Apr 11, 2013
Environment for Behave + Django + Selenium
View gist:5361696
# -*- coding: utf-8 *-*
import os
import urlparse
import logging
from selenium import webdriver
# This is necessary for all installed apps to be recognized, for some reason.
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'
def before_all(context):