Skip to content

Instantly share code, notes, and snippets.

View muthhukumar's full-sized avatar
🏠
Working from home

Muthukumar muthhukumar

🏠
Working from home
View GitHub Profile
1. vercel - hosting
2. netlify - hosting
3. firebase - hosting, db, analytics, auth and more
4. supabase - db, auth and more
5. fly.io - hosting and db
6. github - github pages and github actions
7. travis - github action alternatives
8. heroku - hosting server and stuff
9. cloudflare - cdn, cf workers and more
10. hasura - graphql api and stuff
{
"urls":[
{
"url":"https://nullish.in",
"name":"Personal website/blog",
"env":null
},
{
"url":"https://todos.nullish.in",
"name":"Todo app using Nextjs",
@muthhukumar
muthhukumar / strictEquals.js
Created August 3, 2021 04:06
custom function that behaves as ===
function strictEqual(a, b) {
if ((Object.is(a, 0) && Object.is(b, -0)) || (Object.is(a, -0) && Object.is(b, 0))) {
return true
}
if (Object.is(a, NaN) && Object.is(b, NaN)) {
return false
}
return Object.is(a, b)
@muthhukumar
muthhukumar / chakra-ui-editable-textarea.tsx
Last active July 23, 2021 14:31
Chakra-ui editable textarea
import * as React from 'react'
import {
chakra,
forwardRef,
omitThemingProps,
StylesProvider,
SystemStyleObject,
ThemingProps,
useMultiStyleConfig,
useStyles,
# Remove the default interactive shell message
export BASH_SILENCE_DEPRECATION_WARNING=1
# Path export for android studio
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
@muthhukumar
muthhukumar / docker-aliases.sh
Created March 11, 2021 12:31 — forked from jgrodziski/docker-aliases.sh
Useful Docker Aliases
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash
# #
# # Usage: #
{
"AP": "Andhra Pradesh",
"AR": "Arunachal Pradesh",
"AS": "Assam",
"BR": "Bihar",
"CT": "Chhattisgarh",
"GA": "Goa",
"GJ": "Gujarat",
"HR": "Haryana",
"HP": "Himachal Pradesh",
@muthhukumar
muthhukumar / tmux-cheatsheet.markdown
Created November 25, 2020 03:04 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@muthhukumar
muthhukumar / css-default.css
Created September 5, 2020 06:21
css default properties
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}
a {
color: inherit;
@muthhukumar
muthhukumar / layout.pug
Created September 4, 2020 09:58
Pug starter boilerplate
doctype html
html
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
meta(name='description', content='')
meta(name='viewport', content='width=device-width, initial-scale=1')
title= title
link(rel='stylesheet', href='/stylesheets/style.css')