Skip to content

Instantly share code, notes, and snippets.

@dinolupo
dinolupo / .dircolors
Created May 16, 2015 18:11
.DIRCOLORS I really do not like those blue folders on Linux
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
# are permitted provided the copyright notice and this notice are preserved.
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# slackware version of dircolors) are recognized but ignored.
# Below, there should be one TERM entry for each termtype that is colorizable
TERM Eterm
TERM ansi
@dinolupo
dinolupo / .bashrc
Created May 16, 2015 18:09
.BASHRC improved command prompt for OSX, CENTOS, UBUNTU, etc,
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@dinolupo
dinolupo / .vimrc
Last active September 26, 2018 19:11
VIMRC
syntax on
:colorscheme darkblue
:set tabstop=4
:set shiftwidth=4
":set expandtab
" Clear last search highlighting
nnoremap <Space> :noh<cr>
" If arrows key not working do the following
@dinolupo
dinolupo / Docker_frequent_ commands.md
Last active August 29, 2015 14:21
Docker frequent commands

Docker frequent commands

running a container

docker run -d -P  training/webapp python app.py
-d //is for background
-P // map any port inside container to the our host
docker ps -l  // details of last container

docker ps -a // details of all containers (also stopped ones)