Skip to content

Instantly share code, notes, and snippets.

View mxvsh's full-sized avatar
⚒️
Crafting web apps

Monawwar Abdullah mxvsh

⚒️
Crafting web apps
View GitHub Profile
@mxvsh
mxvsh / chakra-ui-simple-chat-ui.tsx
Created March 14, 2023 05:08
Simple Chakra-UI Chat Application User Interface
import {
Button,
Flex,
Heading,
HStack,
Input,
Stack,
Text,
} from '@chakra-ui/react';
@mxvsh
mxvsh / rename-js-to-ts.sh
Created September 25, 2022 14:30
Renaming JS to TS
find src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} ;
@mxvsh
mxvsh / caption.srt
Last active September 24, 2022 09:04
1
00:00:15.000 --> 00:00:17,951
At the left we can see...
2
00:00:18.166 --> 00:00:20.083
At the right we can see the...
3
00:00:20.119 --> 00:00:21.962
@mxvsh
mxvsh / gist:aaff036c47e302e0200e6977f10bf8f6
Created September 21, 2021 01:54 — forked from guilherme/gist:9604324
Git pre-commit hook that detects if the developer forget to remove all the javascript console.log before commit.
#!/bin/sh
# Redirect output to stderr.
exec 1>&2
# enable user input
exec < /dev/tty
consoleregexp='console.log'
# CHECK
if test $(git diff --cached | grep $consoleregexp | wc -l) != 0
then
@mxvsh
mxvsh / keybase.md
Last active January 10, 2021 13:22

Keybase proof

I hereby claim:

  • I am xencodes on github.
  • I am xencodes (https://keybase.io/xencodes) on keybase.
  • I have a public key ASAqTG3p3yePe-vAgVR0JU6AZaBVeTSMdD4ybeJuASPokgo

To claim this, I am signing this object: