You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🏠
Working from home
Shubham Dixit
shubham43MP
🏠
Working from home
Likes to code with React, Node, JS and much more. Blockchain & Web3 Enthusiast
I have two Github accounts: oanhnn (personal) and superman (for work).
I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Solution
Use ssh keys and define host aliases in ssh config file (each alias for an account).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.
An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.
An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have encountered some challenges that I believe require re-evaluation of the current approach. Different tables have distinct requirements, which inherently limit the scope for code reuse. Ideally, updating data for these tables may warrant separate components or pages altogether.
While the functionality for the courses table has been implemented as expected, extending the solution to other tables in a generic manner is proving to be infeasible. The variations in update requirements across tables cannot be effectively generalized.
For instance, the employer table requires sectorIds during updates, which should not be mandatory but is enforced by the API. Such nuances introduce additional complexities, making it difficult to work with a one-size-fits-all approach.
The basic UI for courses is functional, but the unique characteristics of each table highlight the inherent complexity. A more tailored solution may be necessary to address these challenges effectively.
This project allows users to hover over a paragraph (<p>) element, where a play button appears. Upon clicking the button, the text is read aloud using the Web Speech API, and the words being spoken are highlighted in real-time.
Features
Hover-to-Activate Button: On hovering over a paragraph, a play button appears next to the text.
Text-to-Speech: Clicking the play button reads the paragraph text aloud.
Word Highlighting: Words are highlighted as they are spoken aloud to provide visual context.
As the Senior Full-Stack Engineer and Lead Developer on the Hoory project, I played a pivotal role in designing and implementing key features of the platform, which includes customer support tools such as live chat, chatbot builders, AI assistants, and omnichannel inboxes. My primary focus was on API integration and creation to ensure seamless interactions between the platform's backend and various customer touchpoints.
Roles and Responsibilities:
API Design & Integration: Led the API design, development, and integration process, ensuring that Hoory's platform could seamlessly connect with various customer communication channels (email, WhatsApp, Telegram, etc.).
Backend Development: Built and optimized backend APIs for handling high volumes of requests efficiently, with a focus on scalability and performance.
Team Leadership: Managed and mentored two developers, providing technical guidance, conducting code reviews, and fostering collaboration within the tea
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters