Skip to content

Instantly share code, notes, and snippets.

View igorferreira's full-sized avatar
🏠
Working at Sulamerica

Igor Ferreira igorferreira

🏠
Working at Sulamerica
View GitHub Profile
# 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
# 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
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
# commands
# git config --global global.excludesfile "~/.gitexcludes"
# echo '.svn' > .gitexcludes
# Project specific
dist/
build/
__build__/
src/*/__build__/
.tmp/
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
# 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
#!/usr/bin/env bash
#https://www.shellscript.sh/functions.html
install_gist() {
echo "
______________________________________________________________________________________
install bash framework
______________________________________________________________________________________
@igorferreira
igorferreira / git-buffer-size
Created February 7, 2018 13:31 — forked from josephmilla/git-buffer-size
Increase git buffer size
git config http.postBuffer 524288000 #Set to 500MB
#!/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
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