Rafi

Rafi @rafi993

About: I'm a developer who works mostly with Javascript.

Joined:
Feb 19, 2018

Rafi
articles - 34 total

Choosing the editor for the next decade

I have used lot of editors over the years. For the last 5 years I have been using VSCode. It has been...

Learn More 0 0Jun 8 '24

Minimal theme for Youtube

I was bored today, so I build this simple Chrome extension that adds minimal theme to youtube to make...

Learn More 5 5Aug 31 '22

Optimizing pull request for developer happiness

We as developers create a lot of pull requests from building new features to fixing bugs and...

Learn More 9 2Jun 26 '21

Simple hook to handle featue flags

Let's say you want to enable or disable some features based on users role or some permission that the...

Learn More 7 0Mar 31 '21

Star background using Houdini CSS

I was playing with Houdini css and built this. It is a worklet that allows you to render stars in the...

Learn More 26 1Dec 19 '20

Converting GIF to MP4

GIF's are awesome we use them everywhere. But the issue with GIF's are they are usually much larger i...

Learn More 17 2Nov 15 '20

Implementing custom liquid tags

Liquid tags are awesome dev.to uses some custom liquid tags to embed posts, gist, github repos, twitc...

Learn More 8 3Nov 12 '20

How do you manage your github notifications?

I primarily use email to manage my Github notifications. I have setup rules for auto labelling in my...

Learn More 1 0Oct 20 '20

Git internals

Lets see what's hiding inside git

Learn More 54 2Aug 20 '20

Building GUI for your shell script using zenity

Sometimes the shell scripts that you write asks questions to the user so that they could change the...

Learn More 34 4Aug 7 '20

Tiny alternative to electron

I wanted to build a small desktop app for my own usage but using electron felt like an overkill...

Learn More 6 3Jul 18 '20

Markdown like syntax parser

Sometimes you want markdown like syntax but not exact markdown specification. I build a really tiny...

Learn More 8 0Jul 8 '20

What aliases and scripts do you use?

As developers we use a lot of alias and small scripts to automate boring stuff. Here is my commonly...

Learn More 2 3Jul 6 '20

Access file system like object

When you write small scripts in nodejs it is sometimes annoying to deal with the file system API....

Learn More 8 0Jul 4 '20

Clean Email

Built this really simple extension to make gmail look nicer

Learn More 7 2Jun 20 '20

How do you organise your files in your computer?

Is there any pattern that you follow or do you just dump everything in the desktop?

Learn More 6 4May 28 '20

Creating useEffect in nodejs

React hooks is one of the best parts that I like about react. It would be nice to have something like...

Learn More 8 0Apr 12 '20

Simple hook to deal with async function calls

For smaller react projects I wanted something simple to deal with asynchronous function calls like fe...

Learn More 30 6Apr 11 '20

Simple React hook to handle input

When building in react often you have to deal with different inputs like text, number, date... and ea...

Learn More 18 5Mar 31 '20

Programmers are writers

We as programmers write a lot of code and we read more code than we write. We write drafts first then...

Learn More 12 0Mar 8 '20

Building simple spreadsheet in React

I recently tried to implement a simple spreadsheet in React with basic support for formulas using +,...

Learn More 19 0Feb 28 '20

Implementing context menu using react hooks

Sometimes you want to override the browsers default context menu in your react app. You can easily do...

Learn More 13 7Jan 18 '20

Using javascript proxy

I have recently been digging into proxy in Javascript. I was surprised by what it can do. Proxy...

Learn More 18 0Jan 15 '20

API request using tagged template literals

I recently came across this awesome video introducing tagged template literals. At the end of the vid...

Learn More 13 0Jan 5 '20

Poem generation in JS

I recently came across this awesome site https://kingjamesprogramming.tumblr.com It generates posts b...

Learn More 19 0Dec 26 '19

Top level await in Dev tools

Many times when you are writing code you may want to do a simple fetch request and see the response....

Learn More 12 1Dec 22 '19

Backdrop filter

I was playing with css backdrop-filter

Learn More 7 0Dec 21 '19

Apply dark theme to your site using prefers-color-scheme

Apply dark/light theme to your website based on users os set theme

Learn More 84 0Dec 5 '19

Skip links

Make your web app more keyboard friendly by using skip links

Learn More 12 0Nov 3 '19

Roving focus in react with custom hooks

Making your list more keyboard friendly using roving index with custom hooks

Learn More 45 3Oct 26 '19