Skip to content

Instantly share code, notes, and snippets.

@rsporteman
rsporteman / Install Spotify On Debian 9 Stretch (for x86_64 - amd64).md
Last active September 20, 2018 20:25
Install Spotify On Debian 9 Stretch (for x86_64 - amd64)
@rsporteman
rsporteman / Install PHPStorm IDE On Debian 9 Stretch.md
Created September 21, 2018 15:00
Install PHPStorm IDE On Debian 9 Stretch

Install PHPStorm IDE On Debian 9 Stretch

Download PHPStorm IDE (check last version first)

wget https://download-cf.jetbrains.com/webide/PhpStorm-2018.2.3.tar.gz

Extract

tar -vzxf PhpStorm-*.tar.gz

rm PhpStorm-*.tar.gz

@rsporteman
rsporteman / Install Java JDK SE Development Kit 8 On Debian 9 Stretch (for x86_64 - amd64).md
Created September 21, 2018 15:14
Install Java JDK SE Development Kit 8 On Debian 9 Stretch (for x86_64 - amd64)

Install Java JDK SE Development Kit 8 On Debian 9 Stretch (for x86_64 - amd64)

Use root user

su -

Download jdk, check last version

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz
@rsporteman
rsporteman / Install Skype On Debian 9 Stretch.md
Last active September 21, 2018 16:53
Install Skype On Debian 9 Stretch

Install Skype On Debian 9 Stretch

Use Root User

su -

Update System

apt-get update

apt-get upgrade

@rsporteman
rsporteman / Install Docker On Debian 9 Stretch (for x86_64 - amd64).md
Last active December 30, 2022 22:22
Install Docker On Debian 9 Stretch (for x86_64 - amd64)
@rsporteman
rsporteman / Install Composer On Debian 9 Stretch.md
Last active July 20, 2021 04:01
Install Composer On Debian 9 Stretch
@rsporteman
rsporteman / install_nvm_and_npm_on_centos
Last active January 31, 2019 11:54
Install Nvm and Npm On Centos
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
source ~/.bashrc
nvm install node
npm --version
@rsporteman
rsporteman / user_on_centos
Created January 31, 2019 11:53
User On CentOS
cat /etc/passwd
adduser heitor.glockner
passwd heitor.glockner
gpasswd -a heitor.glockner wheel
@rsporteman
rsporteman / Travamento Compilação do Angular.md
Created February 6, 2019 16:09
Travamento Compilação do Angular

Rodar o seguinte comando para resolver

`echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`
@rsporteman
rsporteman / git get all branches.md
Last active April 2, 2019 00:17
Git get All Branches

git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done

git fetch --all

git pull --all