Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Rafael rplaurindo

🎯
Focusing
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 library.md

Angular Libraries

Generating

$ 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 variables.md

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 UEFI.md

############ 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

View nodeJS.md

Installing

Dependencies

On Ubuntu

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

See how to install a specific version of the nodeJS.

Installing

Manually

Create ~/package.json file.

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

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
rplaurindo / Deploying a Rails app using RVM and Passenger.md
Last active May 24, 2018
Steps to deploy a Rails application with Passenger.
View Deploying a Rails app using RVM and Passenger.md

Deploying a Rails Application using RVM and Passenger

Instalations (via APT)

Required packages

  • curl
  • gnupg
  • build-essential
  • git
View 1 - RVM.md

RVM (Ruby Version Manager)

Required packages

  • sed
  • tar
  • curl
  • gnupg

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

View ftp server.md

FTP

VSFTPD

Instalation

$ sudo apt-get install -fyu vsftpd

Configuration

View 1 - working with ssh auth.md

Woking With SSH Authentication

Dependencies

  • xclip

Creating folder

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