Skip to content

Instantly share code, notes, and snippets.

View thedeveloperr's full-sized avatar

Mohit Gupta thedeveloperr

View GitHub Profile
@thedeveloperr
thedeveloperr / composing-software.md
Created August 6, 2022 05:22 — forked from Geoff-Ford/composing-software.md
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.

@thedeveloperr
thedeveloperr / gsoc_2020_zulip_workproduct.md
Last active August 31, 2020 16:15
This Gist contains work done for Zulip Open Source Project's Team chat software during Google summer of code 2020

Work Product Document for Zulip open source project as GSoC 2020 student developer.

Mohit Gupta | Github

Areas worked in: Tests, Search, Refactor, Keyboard support

Introduction

This gist contains work done during Google Summer of Code 2020 with Zulip open source project. Most of my work is fullstack. I Worked both on:

  • Zulip's main frontend webapp which is in Javascript
  • Zulip backend server which uses Python
@thedeveloperr
thedeveloperr / find-test-file-producing-spam.py
Last active July 15, 2020 18:25
[Zulip test-backend spam producing test finder script] It finds test that produce spam, in this case logs of code under test. Developed for issue https://github.com/zulip/zulip/issues/1587. #zulip_dev_utility script #zulip_dev
# Developed for https://github.com/zulip/zulip/issues/1587
# Usage, run following command in vagrant: ./tools/test-backend --parallel=1 |& python find-test-file-producing-spam.py >> spam_to_remove.txt
valid_line_patterns = [
"^Running ", # Example: Running zerver.tests.test_attachments.AttachmentsTests.test_delete_unauthenticated
"^\*\* Test is TOO slow: ", # Example: ** Test is TOO slow: analytics.tests.test_counts.TestRealmActiveHumans.test_end_to_end (0.581 s)
"^----------------------------------------------------------------------", # Example: ----------------------------------------------------------------------
"^INFO: URL coverage report is in", # Example: INFO: URL coverage report is in var/url_coverage.txt
"^INFO: Try running:", # Example: INFO: Try running: ./tools/create-test-api-docs
"^-- Running tests in", # Example: -- Running tests in parallel mode with 4 processes
Using existing clone for alias 'default'...
2020-07-11 13:40:22.102 INFO [zulip.auth.apple] AuthFailed: Authentication failed:
2020-07-11 13:40:22.163 INFO [zulip.auth.apple] HTTPError:
2020-07-11 13:40:23.110 WARN [zulip.auth.apple] Apple got invalid email argument.
Using existing clone for alias 'default'...
2020-07-11 13:40:24.266 INFO [zulip.auth.apple] AuthFailed: Authentication failed:
2020-07-11 13:40:24.333 INFO [zulip.auth.apple] HTTPError:
2020-07-11 13:40:25.341 WARN [zulip.auth.apple] Apple got invalid email argument.
2020-07-11 13:40:26.670 WARN [] New account email [email protected] could not be found in LDAP
2020-07-11 13:40:26.683 DEBG [zulip.ldap] ZulipLDAPAuthBackend: No ldap user matching django_to_ldap_username result: [email protected]. Input username: [email protected]
@thedeveloperr
thedeveloperr / InterviewRoadmap.md
Created June 5, 2020 15:21 — forked from khannasarthak/InterviewRoadmap.md
My Interview Study roadmap

Coding Interview University

I originally created this as a short to-do list of study topics for becoming a software engineer, but it grew to the large list you see today. After going through this study plan, I got hired as a Software Development Engineer at Amazon! You probably won't have to study as much as I did. Anyway, everything you need is here.

The items listed here will prepare you well for in an interview at just about any software company, including the giants: Amazon, Facebook, Google or Microsoft. >

@thedeveloperr
thedeveloperr / thought-process-vaccine tracker.md
Last active May 24, 2020 13:00
A scratchpad for my thought process while coding a small webapp

Story

Every thing starts with an Idea, this project also started with an Idea from a colleague from rentomojo, Rohit Bind. He is a designer at rentomojo. Designer's work is in a nutshell is to create design of a good to use product. (Think Apple iPhone, Android apps, Webapps etc.)

(See the first comment for the story. Sorry to lazy to type :p )

My work

Rohit Approached me with idea to make a small webapp which will track the number of vaccine and treatments under development. He wants to open source the webapp. The idea and the emotions behind this resonated with me so I said yes even though I am full of workload. I also thought of sharing the development of the app with you guys. A side benefit of this project. Smart no ?

" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@thedeveloperr
thedeveloperr / gsoc_2019_zulip_workproduct.md
Last active January 9, 2020 14:10
This Gist contains work done for Zulip Open Source Project's Team chat software during Google summer of code 2019

Work Product Document for Zulip open source project as GSoC 2019 student developer.

Mohit Gupta | Github | Linkedin

Areas worked in: Search, Message View, group PMs, bots, production

Introduction

This gist contains work done during Google Summer of Code 2019 with Zulip open source project. Most of my work is fullstack. I Worked both on:

  • Zulip's main frontend webapp which is in Javascript
  • Zulip backend server which uses Python's Django, sqlalchemy, tornado, rabbitmq.
@thedeveloperr
thedeveloperr / 0-startup-overview.md
Created March 15, 2017 14:22 — forked from dideler/0-startup-overview.md
Startup Engineering notes
<!DOCTYPE html>
<html>
<head>
<title> JS practice Session</title>
</head>
<body>
<script type="text/javascript">
var a = 10;
var b = 20.5;
var c = "Hello";