Skip to content

Instantly share code, notes, and snippets.


Rafael rplaurindo

Block or report user

Report or block rplaurindo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View angular

Angular Libraries


$ ng g library <package-name>

Obs.: the name can contain the @ character with /<package-name> to indicate that project are encapsulated by a package that belongs to a company.

Configuration files

View Windows environment

Setting an environment variable

General procedures

  • Open Advanced system settings;
  • On tab Advanced click on Environment Variables;
  • Select the environment variable in "User variables" or "System variables" and click on Edit;

On Windows

View boot as

############ Usando o SSD de ultrabooks híbridos (HDD + SSD) como cache em sistemas Dual Boot

Normalmente, os ultras já vêm com uma partição do tipo EFI (Extensible Firmware Interface) no SSD. Nesse caso, não é necessário criar

uma outra, pois esta pode ser usada tanto para o Windows como para o Linux.

Verificando se o sistema de boot da BIOS é do tipo UEFI ou Legacy Mode

não remova os espaços dos colchetes

$ [ -d /sys/firmware/efi ] && echo "UEFI boot" || echo "Legacy boot"

Se precisar mudar para UEFI, entre no sistema da BIOS, vá em configurações de Boot, e em "Boot Mode" selecione UEFI




On Ubuntu

  • curl
Specific version via APT (global)
rplaurindo /
Last active Aug 18, 2019
Front-end application

See how to install a specific version of the nodeJS.



Create ~/package.json file.

~$ npm init
rplaurindo / 1.
Last active Jul 1, 2019
Installing PHP interpreter
View 1.

Installing PHP interpreter and Apache module (HTTP Server) via XAMPP Project

Dowloading the XAMPP Project

Download distributions here.

Follow the steps and at end run localhost in URL bar to test if Apache module it works.

Install your projects

rplaurindo / Deploying a Rails app using RVM and
Last active May 24, 2018
Steps to deploy a Rails application with Passenger.
View Deploying a Rails app using RVM and

Deploying a Rails Application using RVM and Passenger

Instalations (via APT)

Required packages

  • curl
  • gnupg
  • build-essential
  • git
View 1 -

RVM (Ruby Version Manager)

Required packages

  • sed
  • tar
  • curl
  • gnupg

Import the mpapis Public Key through GPG (GNU Privacy Guard)

View ftp




$ sudo apt-get install -fyu vsftpd


View 1 - working with ssh

Woking With SSH Authentication


  • xclip

Creating folder

$ mkdir ~/.ssh
You can’t perform that action at this time.