Skip to content

Instantly share code, notes, and snippets.

View pedrocarlos-ti's full-sized avatar
🎯
Have the power who act

Pedro Santos pedrocarlos-ti

🎯
Have the power who act
View GitHub Profile
@pedrocarlos-ti
pedrocarlos-ti / Response question - Pedro Santos
Created August 6, 2021 16:36
Response question - Pedro Santos
export default class OrdersAnalyzer {
constructor() {
this.weekdays = [
"SUNDAY",
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
@pedrocarlos-ti
pedrocarlos-ti / top-portfolio-front-end.md
Created February 28, 2021 21:27 — forked from felquis/top-portfolio-front-end.md
Portifólios legais de desenvolvedores Front-end que encontrei por ai

Developer's Web Sites, Portfolio and blogs

Os links aqui estão sem nenhum tipo de ordenação, então o que esta por ultimo não é necessariamente o mais ruim na minha opinião e o que esta primeiro não necessariamente é o melhor, sabendo disso, vamos a lista.

@pedrocarlos-ti
pedrocarlos-ti / emulator-install-using-avdmanager.md
Created June 4, 2020 15:04 — forked from mrk-han/emulator-install-using-avdmanager.md
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For generic skin emulator with default apis (without google apis):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-29;default;x86"

@pedrocarlos-ti
pedrocarlos-ti / service.js
Created May 17, 2019 21:17 — forked from paulsturgess/service.js
An example Service class wrapper for Axios
import axios from 'axios';
class Service {
constructor() {
let service = axios.create({
headers: {csrf: 'token'}
});
service.interceptors.response.use(this.handleSuccess, this.handleError);
this.service = service;
}