My work environment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sublime/Packages/User
.editorconfig
.gitignore
README.md

README.md

dotfiles

My work environment

Ubuntu

Install

sudo apt-get install git

sudo apt-get install xclip

sudo apt-add-repository ppa:pitti/postgresql
sudo apt-get install postgresql-9.X

apt-get install pgadmin3

nodejs

npm install npm@VERSION -g
npm i -g bower gulp grunt-cli

Java:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java8-set-default

Gradle:

sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get install gradle

Soft

Terminator:

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Sublime Text 3:

sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get install -y sublime-text-installer

Package Control

VS Code

Settings.json:

// Place your settings in this file to overwrite the default settings
{
    "editor.tabSize": 2,
    "editor.renderWhitespace": "all",
    "editor.fontSize": 14,
    "editor.fontWeight": "400",
    "editor.cursorBlinking": "solid",
    "editor.wordWrap": "on",
    "files.exclude": {
      "**/.git": true,
      "**/.svn": true,
      "**/.hg": true,
      "**/.DS_Store": true
    },
    "files.watcherExclude": {
      "**/.git/objects/**": true,
      "**/node_modules/**": true
    },
    "workbench.colorTheme": "Solarized Dark",
    "workbench.iconTheme": "vscode-icons",
    "vsicons.projectDetection.autoReload": true,
    "window.zoomLevel": 0,
    "editor.renderIndentGuides": false,
    "editor.minimap.enabled": false,
    "emmet.includeLanguages": {
      "plaintext": "pug"
    }
  }

code --list-extensions

arcticicestudio.nord-visual-studio-code
eg2.tslint
eg2.vscode-npm-script
eryouhao.brackets-light-pro
joelday.docthis
johnpapa.Angular2
robertohuertasm.vscode-icons
wix.vscode-import-cost

OpenVPN:

sudo apt-get install openvpn

Dropbox

Skype

Chrome

.gitconfig

[alias]
	fm = fetch main
	cl = clone
	co = checkout
	cob = checkout -b
	st = status
	sl = stash list
	sa = stash apply
	ss = stash save
	cm = !git add --all :/ && git commit -m
	po = push origin
	hist = log --pretty=oneline
	ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
	lg = log --graph --oneline --decorate --all
	si = grep --break -C 2 "\!important"

Oh my Zsh:

sudo apt-get install zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

theme: Agnoster

sudo subl ~/.zshrc
source ~/.zshrc

Fonts

Fedora

Audio/video codecs http://www.binarytides.com/multimedia-codecs-fedora-23/ for Fedora 23:

su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free-extras ffmpeg
sudo dnf install vlc

sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-handbrake.repo

sudo dnf install libdvdcss

fonts like in ubuntu

yum install freetype-freeworld

create file: /etc/fonts/local.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="autohint">
   <bool>false</bool>
  </edit>
 </match>
 <dir>~/.fonts</dir>
</fontconfig>

Logout - login.

Windows

Soft