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
{
"AP": "Andhra Pradesh",
"AR": "Arunachal Pradesh",
"AS": "Assam",
"BR": "Bihar",
"CT": "Chhattisgarh",
"GA": "Goa",
"GJ": "Gujarat",
"HR": "Haryana",
"HP": "Himachal Pradesh",
@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: #
# 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 / 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,
@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)
{
"urls":[
{
"url":"https://nullish.in",
"name":"Personal website/blog",
"env":null
},
{
"url":"https://todos.nullish.in",
"name":"Todo app using Nextjs",
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