Skip to content

Commit

Permalink
Adding IDE configs and tools instalation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ichupryna committed Mar 17, 2017
1 parent a7e7d1b commit 92447bc
Show file tree
Hide file tree
Showing 14 changed files with 5,522 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bash/.bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
#nohup command >/dev/null 2>&1 &

#EXPORT SECTION
export PATH=~/npm-global/bin:$PATH
export PATH=~/App/apache-maven-3.3.3/bin:$PATH
#export PATH=~/npm-global/bin:$PATH
export NPM_CONFIG_PREFIX=/opt/npm-global

#ALIAS SECTION
alias webstorm='nohup /home/ychupryn/App/webstorm-11/bin/webstorm.sh >/dev/null 2>&1 &'
#alias webstorm='nohup /opt/webstorm/bin/webstorm.sh >/dev/null 2>&1 &'

# Set Proxy
function setproxy() {
export {http,https,ftp}_proxy="http://proxy.astelit.ukr:3128"
export {http,https,ftp}_proxy="http://proxy:3128"
}

# Unset Proxy
Expand Down
8 changes: 8 additions & 0 deletions bash/install/node_global_modules.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

npm install -g bower
npm install -g grunt
npm install -g gulp
npm install -g karma
npm install -g protractor
npm install -g jshint
28 changes: 28 additions & 0 deletions bash/install/tools_install_deb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
sudo apt update
sudo apt upgrade
sudo apt install terminator

sudo apt -y install \
apt-transport-https \
ca-certificates \
curl

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

sudo apt update

sudo apt -y install docker-ce

sudo groupadd docker
sudo usermod -aG docker $USER

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

sudo apt update
sudo apt autoremove
21 changes: 21 additions & 0 deletions editorconfig/.editorconfig_tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[*.md]
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]

[*.html]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions editorconfig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Темплейт настройки некторых текстовых редактотов
читайте [тут](http://editorconfig.org/)
* переименовываем в .editorconfig
* делаем копию или софтлинк там где необходимо
10 changes: 10 additions & 0 deletions ide-config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Code styles to IDE.
Install to IDEA.
- copy intellij-java-google-style.xml to $HOME$\$IDEA$\config\codestyles
- open IntelliJIdea, File - Settings - Editor - Code style - Scheme, select GoogleStyle from dropdown list.
- press Ok.

Install to Eclipse
- Windows -> Preferences -> Java -> Code Style -> Formatter
eclipse-java-google-style.xml
Set the property "Indent using spaces" and "Indentation size" = 2.
Loading

0 comments on commit 92447bc

Please sign in to comment.