Skip to content

Instantly share code, notes, and snippets.

View fabianocouto's full-sized avatar
💭
Learning everything as I can

Fabiano Couto fabianocouto

💭
Learning everything as I can
View GitHub Profile
@fabianocouto
fabianocouto / solid-single-responsibility-principle.md
Last active March 29, 2025 15:52
SOLID — SRP — Single Responsibility Principle

SOLID - Single Responsibility Principle (SRP)

It is the first and one of the most important principles of object orientation (OOP).

Its objective is to understand classes and their responsibilities within the system. It is one of the easiest to understand and apply, and is based on the following premise:

Important

A class should have one, and only one, reason to change.

Let's look at the class below:

@fabianocouto
fabianocouto / how-to-transfer-repository-from-any-git-service-to-github.md
Last active February 28, 2025 14:45
How to transfer repository from any git service to Github

How to transfer/import repository from any git service to Github

In this example I'll use Bitbucket, but it works with any git service, like GitLab, OneDev, Gogs and others.

If the import tool does not work, perform the following steps.

Step 1

Create an empty repository on Github.

Example: https://github.com/fabianocouto/repo.git

@fabianocouto
fabianocouto / incoder.md
Last active November 27, 2019 16:34
InCoder is an API-based online code editor

inCoder

InCoder is an API-based online code editor.

The idea is to provide a simple way to develop or change web site and application code quickly, conveniently and completely online, just by using a web browser through a computer, tablet or smartphone.

Demo

http://www.inicial.com.br/incoder/