Skip to content

Instantly share code, notes, and snippets.

View davialcantaraa's full-sized avatar
🎯
Focusing

Davi Alcântara davialcantaraa

🎯
Focusing
View GitHub Profile
@stereobooster
stereobooster / 0-react-maps.md
Last active August 16, 2023 12:19
React Maps
[Raster tiles][rt] [Vector tiles][vt] GeoJSON virtual-dom offline map quality React component React Native
google maps + + good [4 unsupported][gm-react] [+][gm-native]
leaflet * + [+][ll-vt] + [+/-][ll-offline] depends [+][ll-rect]
d3 * + [+/-][d3-vdom] +/- depends [+][d3-react]
MapboxGL + + depends [+][mb-react] [+][mb-native]
Yandex Maps +
@CharlieEtienne
CharlieEtienne / profile.ps1
Last active January 22, 2023 09:49
PowerShell Welcome Message
$curUser = (Get-ChildItem Env:\USERNAME).Value
$curComp = (Get-ChildItem Env:\COMPUTERNAME).Value
$pvmaj = $Host.Version.Major
$pvmin = $Host.Version.Minor
$psversion = "$pvmaj.$pvmin"
$identity = "$curUser@$curComp"
#-----------------------------------------------------
# WINDOW TITLE
@guilhermerodz
guilhermerodz / argv.json
Last active April 11, 2024 18:59
VSCode setup
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelyhood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
// Use software rendering instead of hardware accelerated rendering.
// This can help in cases where you see rendering issues in VS Code.
@scotato
scotato / twitter-hegagon-shape.svg
Created January 21, 2022 03:55
twitter nft pfp shape
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattstobbs
mattstobbs / month-picker.tsx
Created July 26, 2023 22:15
A simple month picker that matches the style of shadcn/ui
import {
add,
eachMonthOfInterval,
endOfYear,
format,
isEqual,
isFuture,
parse,
startOfMonth,
startOfToday,
@mjbalcueva
mjbalcueva / password-input.tsx
Last active July 16, 2024 14:48
shadcn ui custom password input
"use client"
import { forwardRef, useState } from "react"
import { EyeIcon, EyeOffIcon } from "lucide-react"
import { Button } from "@/components/ui/button"
import { Input, InputProps } from "@/components/ui/input"
import { cn } from "@/lib/utils"
const PasswordInput = forwardRef<HTMLInputElement, InputProps>(
({ className, ...props }, ref) => {