Skip to content

Instantly share code, notes, and snippets.

View farhdibehnamdev's full-sized avatar
🎯
Focusing

Behnam farhdibehnamdev

🎯
Focusing
View GitHub Profile
@iam-doctor-j
iam-doctor-j / DataTable.tsx
Created February 27, 2021 16:07
DataTable component for React using MaterialUI
import { createStyles, Paper, Table, TableBody, TableContainer, TablePagination, Theme } from '@material-ui/core';
import { makeStyles, TableCell, TableHead, TableRow, TableSortLabel } from '@material-ui/core';
import React from 'react';
interface IDataTableColumn {
id: string
name: string,
enableSort?: boolean,
align?: "center" | "inherit" | "justify" | "left" | "right"
}
@micalevisk
micalevisk / .progress.
Last active August 31, 2023 00:01
📋 Reading List (updated at: 05/09/2022 22:13:43 [America/Manaus])
Articles █████████████▋░░░░░░░ 65.1%
Videos ██████████████████▌░░ 88.3%
Books ████████▋░░░░░░░░░░░░ 41.4%
Learn React ████████████░░░░░░░░░ 57.1%
Learn TypeScript █████████████████████ 100.0%
GitHub ████████████████▊░░░░ 80.0%
@JoshMock
JoshMock / restful-http-method-cheat-sheet.md
Last active July 10, 2023 03:28
RESTful HTTP method cheat sheet

GET

  • fetch entity data only
  • does not alter any data, ever

POST

  • create a new entity with the data values provided in the body
  • if an entity already exists with these values, create it anyway (read: non-idempotent)
  • should not be used to alter an existing entity