Talha Mansoor

Talha Mansoor @talha131

About: I am a polyglot seasoned software engineer. Besides the day job, I contribute to open source projects, beta test startup products, and offer consultancy.

Joined:
Mar 15, 2020

Talha Mansoor
articles - 12 total

Sign In With Apple – You Should Know

"Sign in with Apple" lets users log in to different apps and services using their Apple account. I do...

Learn More 10 0Apr 29 '20

Iterate Over An Array And Remove Elements

Say you have an array, a simple array with 16 integers. const eg = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34...

Learn More 6 1Apr 15 '20

How To Add An Empty Directory To A Git Repository — Two Different Use Cases

Git lets you only add files to the index. If you want to add a directory, then Git does not have a bu...

Learn More 6 0Apr 4 '20

Use sed To Extract Filename, Extension, and Directory From Path

sed Expression echo $var | sed 's/\(.*\)\/\(.*\)\.\(.*\)$/\2\n\3\n\1/' The regex use...

Learn More 6 0Apr 1 '20

Conditional Spread Syntax In JavaScript

Spread syntax, in JavaScript, lets you expand arrays, objects and even strings succinctly. It is one...

Learn More 9 0Mar 31 '20

Build Your Own Hook To Access RESTful API

Hooks are a transformative feature introduced in Release 16.8.0 of React. Besides the builtin hooks,...

Learn More 64 0Mar 28 '20

How I Converted C# Yellow Book Sample Code To Images

What is C# Yellow Book Rob Miles' book, The C# Yellow Book is a beginner-friendly book to...

Learn More 5 0Mar 22 '20

Create Apple And Google Sign-In Buttons - Quick And Dirty Way

Both Apple and Google have extensive guidelines on how to use their respective logos and create sign-...

Learn More 8 0Mar 19 '20

Fix Gmail Spoof Warning From Mailchimp

I set up Mailchimp to send latest release notification to Pelican - Elegant theme users. Setting up t...

Learn More 4 0Mar 18 '20

When To Use useState vs useReducer Hook In React

Release 16.8.0 of React introduced a groundbreaking feature, hooks. It will not be an exaggeration to...

Learn More 10 1Mar 17 '20

Use Exit Status of A Command in A Fish Shell Function

Fish shell is a user-friendly and a feature-rich alternative to the Bash shell. Think Zsh, but with s...

Learn More 6 1Mar 16 '20

How To Create pre-commit Hooks For Git

Git has a robust system of hooks. Hooks are some scripts that fire off when specific actions occur. F...

Learn More 7 0Mar 17 '20