Skip to content

Instantly share code, notes, and snippets.

View seanke's full-sized avatar

Sean Kelly seanke

View GitHub Profile
@iLiranS
iLiranS / sideBar.background
Last active March 23, 2026 20:29
Rounded Corners for VsCode Settings.json
{
"explorer.confirmDelete": false,
"terminal.integrated.fontWeight": "500",
"terminal.integrated.letterSpacing": 1,
"terminal.integrated.fontWeightBold": "900",
"terminal.integrated.gpuAcceleration": "off",
"editor.fontFamily": " 'Fira Code Retina' ,Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontWeight": "400",
"liveServer.settings.donotShowInfoMsg": true,
@islamashraful
islamashraful / useApi.js
Last active July 19, 2022 10:46
A reusable hook for calling api in react
import { useState } from "react";
export default (apiFunc) => {
const [data, setData] = useState(null);
const [error, setError] = useState("");
const [loading, setLoading] = useState(false);
const request = async (...args) => {
setLoading(true);
try {