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

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. Running a script.md
Last active June 22, 2021 17:08
Google Apps Script

Openning the Script Editor

With a Google Docs opened, choose

Tools -> Script Editor.

For use the script it must be encapsulated in a isolated (out of a class) function.

Using

@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>/.

Setting up an environment variable

General procedures

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

On Windows

  • Click with right button of mouse over My Computer in folder navigator;

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)

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.