Skip to content

Instantly share code, notes, and snippets.

View GabrielShaad's full-sized avatar
👨‍💻

Gabriel Alexandre Lima Santos GabrielShaad

👨‍💻
  • Grupo Boticário
  • Curitiba, Brazil
  • 09:47 (UTC -03:00)
  • X @gabalexsan
View GitHub Profile
@GabrielShaad
GabrielShaad / Profile.tsx
Created September 2, 2025 21:20
Figma Dev Mode MCP
import React from 'react';
// Imagens do Figma - normalmente essas seriam servidas do seu CDN ou pasta de assets
const imgEllipse = "http://localhost:3845/assets/a17ff650293d51394c417e488625f34b0994eb1e.png";
const imgRectangle2 = "http://localhost:3845/assets/2ade0d98e2d017549828f132dd9448107195c2c4.png";
const imgRectangle25 = "http://localhost:3845/assets/4f39923b2742f2a4ab6d24ec1ad85d24d6f52320.png";
const imgRectangle21 = "http://localhost:3845/assets/4617a4ed0486a26c76e2f11f0a3c218ce8b03e0f.png";
const imgRectangle23 = "http://localhost:3845/assets/6f4ae089b252688e26d038f2271ab651705640e9.png";
const imgRectangle24 = "http://localhost:3845/assets/9494ed1b997f19ca25e99aaee58cbaa7ed86d004.png";
const imgRectangle22 = "http://localhost:3845/assets/b456b7729bfd87c2f756ad7eb04aa0b569616767.png";
@GabrielShaad
GabrielShaad / filterList.js
Last active October 2, 2018 13:06
Filter list of objects to match normalized string and return an array of matches.
function _normalizeString(value) {
return value
.toString()
.replace(/á|ã|â/g, 'a')
.replace(/é|ê/g, 'e')
.replace(/í/g, 'i')
.replace(/ó|ô|õ/g, 'o')
.replace(/ú/g, 'u')
.replace(/ç/g, 'c')
.replace(/_/g, '');