This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html | |
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file | |
-Dfile=~/lib/groovy-wslite-1.1.0.jar \ | |
-DgroupId=com.github.groovy-wslite \ | |
-DartifactId=groovy-wslite \ | |
-Dversion=1.1.0 \ | |
-Dpackaging=jar \ | |
-DlocalRepositoryPath=~/myproject/lib/repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script setup my notebook | |
sudo apt-get update | |
sudo apt-get install ubuntu-gnome-desktop | |
sudo service gdm restart | |
sudo apt-get install terminator | |
# 1 - dev dependences | |
sudo apt-get install git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:~$ wget http://download.virtualbox.org/virtualbox/5.0.24/VBoxGuestAdditions_5.0.24.iso | |
vagrant@vagrant-ubuntu-trusty-64:~$ sudo mount VBoxGuestAdditions_5.0.24.iso -o loop /mnt | |
vagrant@vagrant-ubuntu-trusty-64:~$ sudo mount VBoxGuestAdditions_5.0.24.iso -o loop /mnt | |
vagrant@vagrant-ubuntu-trusty-64:~$ cd /mnt | |
vagrant@vagrant-ubuntu-trusty-64:~$ sudo sh VBoxLinuxAdditions.run --nox11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# commands | |
# git config --global global.excludesfile "~/.gitexcludes" | |
# echo '.svn' > .gitexcludes | |
# Project specific | |
dist/ | |
build/ | |
__build__/ | |
src/*/__build__/ | |
.tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apm install seti-ui open-recent todo-show highlight-selected autoclose-html docker linter linter-jshint linter-htmlhint auto-detect-indentation rest-client simple-drag-drop-text git-plus merge-conflicts color-picker seti-icons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dependencias git | |
sudo yum install autoconf libcurl-devel expat-devel gcc gettext-devel kernel-headers openssl-devel perl-devel zlib-devel -y | |
# remove git | |
rpm -qa | grep "git" | |
rpm -e --nodeps "git-1.8.3.1-6.el7_2.1.x86_64" | |
# create dirs | |
mkdir -p /opt/git/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#https://www.shellscript.sh/functions.html | |
install_gist() { | |
echo " | |
______________________________________________________________________________________ | |
install bash framework | |
______________________________________________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config http.postBuffer 524288000 #Set to 500MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "config: git config proxy..." | |
git config --global http.proxy 127.0.0.1:3128 | |
git config --global https.proxy 127.0.0.1:3128 | |
echo "config: yum proxy..." | |
sudo sed -i 's/#proxy=http:\/\/127.0.0.1:3128/proxy=http:\/\/127.0.0.1:3128/g' /etc/yum.conf | |
echo "restart cntlm..." | |
sudo service cntlm restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos/nodejs-8-centos7:latest | |
MAINTAINER igorferreira.noorden@sulamerica.com.br | |
ENV \ | |
HOME=/opt/app-root/src \ | |
PATH=/opt/app-root/src/bin:/opt/app-root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:$PATH | |
USER root | |
# Upgrading system |
OlderNewer