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

Using

Installing dependencies

Inside the folder that contains the package.json, run:

$ npm i

Then the package-lock.json file will be created.

Disabling Fast Boot and Hibernate

Open the console as administrator, so run

$ powercfg /h off

$ powercfg /hibernate off

Disabling the Encryption

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

@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

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.

On Windows

SHA256 Algorithm

Run the command below

$ certutil -hashfile <filepath> SHA256

See more here.

@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