Skip to content

Instantly share code, notes, and snippets.

View rplaurindo's full-sized avatar
🎯
Focusing

Rafael rplaurindo

🎯
Focusing
  • Rio de Janeiro - RJ, Brasil
View GitHub Profile

Woking With SSH Authentication

Dependencies

  • xclip

Creating folder

$ mkdir ~/.ssh

Installing

Dependencies

On Ubuntu

  • curl

Specific version via APT (global)

@rplaurindo
rplaurindo / angular.md
Last active May 17, 2023 00:03
Front-end application

See how to install a specific version of the nodeJS.

Installing

Globally

$ npm i -g @angular/cli

Manually

@rplaurindo
rplaurindo / 1. PHP interpreter (on Windows).md
Last active April 6, 2023 18:42
Installing PHP interpreter

Downloading

Download the interpreter source code here.

After download the interpreter source code (preferable), set in the environment variables of the Windows.

Setting up the PHP interpreter in the environment variables

At Path key set the php interpreter path.

@rplaurindo
rplaurindo / diskpart.md
Last active January 28, 2023 12:23
Managing Disks On Windows By Line Command

Managing Disks

Using the DISKPART

Open the terminal as administrator, and run:

$ diskpart

Listinig All Disks

UEFI System Boot

Partitions schema

Type    Mount Point   Format  Device               Flags
fat32   /boot/efi             (SSD 200 Mib)        boot, esp
ext4    /             x       (SSD >= 20480 Mib)
ext4    /home                 (HDD)
swap                          (HDD 4096 Mib)
@rplaurindo
rplaurindo / 1 - shell commands.md
Last active January 10, 2023 00:25
Linux utils

Shell Commands

System informations

$ lsb_release -a

Discovering the UUID of a device

Run

On Windows

SHA256 Algorithm

Run the command below

$ certutil -hashfile <filepath> SHA256

See more here.

Syncronizing README Files Through the StackEdit

Consider that the "main menu" is at top right corner of the stackedit.io page.

In the first step, log in with a Google account to synchronize all data.

@rplaurindo
rplaurindo / 1.angular-libraries.md
Last active November 20, 2021 16:51
angular libraries

Angular Libraries

Generating

$ ng g library <library-name>

Configuration files to make build with Organization name

The library path can contain @<organization-name>/ to indicate that package are encapsulated to an organization, because the package belongs to it. The files below must be adapted its keys that reference paths. They must contain the @<organization-name>/.