Skip to content

Instantly share code, notes, and snippets.

View siddharthkp's full-sized avatar

Siddharth Kshetrapal siddharthkp

View GitHub Profile
@siddharthkp
siddharthkp / settings.json5
Last active September 14, 2020 12:31
vscode cleanup
{
"breadcrumbs.enabled": false,
"editor.minimap.enabled": false, // removes minimap
"editor.renderWhitespace": "none", // removes whitespace chars
"editor.renderIndentGuides": false, // removes indent guides
"editor.overviewRulerBorder": false, // removes border from overview ruler (located on the right, same position as the scrollbar)
"editor.hideCursorInOverviewRuler": true, // hides cursor mark in the overview ruler
"editor.lineNumbers": "off", // hide line numbers
"editor.renderLineHighlight": "none", // removes line highlight
@siddharthkp
siddharthkp / settings.json
Created June 7, 2019 04:45
VS Code settings
{
"window.zoomLevel": 1,
"editor.fontFamily": "Dank Mono",
"editor.fontSize": 18,
"workbench.colorTheme": "Night Owl",
"editor.minimap.enabled": false,
"workbench.editor.focusRecentEditorAfterClose": false,
"breadcrumbs.enabled": false,
"workbench.activityBar.visible": false,
"workbench.fontAliasing": "antialiased",
import { spacing } from '@auth0/cosmos-tokens'
const directions = ['top', 'bottom', 'left', 'right']
/* this helper gets all the props of the component */
const margin = ({ margin = {} }) => {
let styles = ''
directions.map(direction => {
if (typeof margin[direction] !== 'undefined') {
https://unpkg.com/react@16.0.0/umd/react.development.js
https://unpkg.com/babel-standalone@6.26.0/babel.js
@siddharthkp
siddharthkp / reactivconf-2017-proposal.md
Last active February 25, 2024 10:06
Building applications for the next billion users