Skip to content

Instantly share code, notes, and snippets.

View ianfelix's full-sized avatar
:octocat:
Hey!!

Ian Felix ianfelix

:octocat:
Hey!!
View GitHub Profile
TypeScript 26 hrs 50 mins ████████████████████▌ 97.9%
Other 22 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.4%
JSON 5 mins ░░░░░░░░░░░░░░░░░░░░░ 0.3%
XML 2 mins ░░░░░░░░░░░░░░░░░░░░░ 0.2%
INI 2 mins ░░░░░░░░░░░░░░░░░░░░░ 0.1%
@ianfelix
ianfelix / Head.jsx
Last active October 6, 2020 23:51
dinamic title and description with React.JS
import React, { useEffect } from 'react';
const Head = (props) => {
useEffect(() => {
document.title = 'StartArt | ' + props.title;
document
.querySelector('meta[name="description"]')
.setAttribute('content', props.description);
}, [props]);
@ianfelix
ianfelix / settings.json
Last active June 30, 2022 14:55
VSCode Settings
{
// Workbench
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Dracula Pro (Van Helsing)",
"workbench.editor.labelFormat": "short",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.untitled.hint": "hidden",
"workbench.productIconTheme": "fluent-icons",
// Editor settings