Skip to content

Instantly share code, notes, and snippets.

View arthurborgesdev's full-sized avatar
💎
life is precious!

Arthur Borges arthurborgesdev

💎
life is precious!
View GitHub Profile
@arthurborgesdev
arthurborgesdev / Cotacao.js
Created March 16, 2020 20:34
How to delete each Section without only the last one?
import React, { useState } from 'react';
import styled from 'styled-components';
import { Flex } from './Flex';
const Layout = styled.div`
margin: 0 auto;
`;
const Paragraph = styled.p`
margin-bottom: 5px;
@arthurborgesdev
arthurborgesdev / dry1
Created July 19, 2021 16:59
Is it DRY? Example 1
const pets = ['Cat', 'Dog', 'Bird', 'Fish', 'Frog', 'Hamster', 'Pig', 'Horse' 'Lion', 'Dragon'];
// Print all pets
pets.forEach(pet => console.log(pet))
...
.animal {
font-family: "Times New Roman", Times, serif;
font-size: 1rem;
}
@arthurborgesdev
arthurborgesdev / .p10k.zsh
Created July 26, 2021 14:50
Powerlevel 10k config file
# Generated by Powerlevel10k configuration wizard on 2020-06-20 at 00:56 -03.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 15764.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 24h time, angled separators, sharp heads, flat tails, 2 lines, disconnected,
# left frame, lightest-ornaments, sparse, many icons, fluent, transient_prompt,
# instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.