Skip to content

Instantly share code, notes, and snippets.

Avatar
🤠
Chilling Out !!

Yash Sharma yashrsharma44

🤠
Chilling Out !!
View GitHub Profile
@jph00
jph00 / py.md
Last active Sep 3, 2021
Organized and hyperlinked index to every module, function, and class in the Python standard library
View py.md

All of the python 3.9 standard library

For a version without the collapsible details sections (so you can search the whole thing in your browser), click here.

abc

@ameenkhan07
ameenkhan07 / FB-PE-InterviewTips.md
Last active Oct 24, 2021
Facebook Production Engineering Interview
View FB-PE-InterviewTips.md

What to Expect and Tips

• 45-minute systems interview, focus on responding to real world problems with an unhealthy service, such as a web server or database. The interview will start off at a high level troubleshooting a likely scenario, dig deeper to find the cause and some possible solutions for it. The goal is to probe your knowledge of systems at scale and under load, so keep in mind the challenges of the Facebook environment.
• Focus on things such as tooling, memory management and unix process lifecycle.

Systems

More specifically, linux troubleshooting and debugging. Understanding things like memory, io, cpu, shell, memory etc. would be pretty helpful. Knowing how to actually write a unix shell would also be a good idea. What tools might you use to debug something? On another note, this interview will likely push your boundaries of what you know (and how to implement it).

Design/Architecture 

Interview is all about taking an ambiguous question of how you might build a system and letting

@vxgmichel
vxgmichel / go-style-generators.md
Last active Jul 3, 2018
Go-style generators in asyncio
View go-style-generators.md

Go-style generators in asyncio

I've recently been looking into the go concurrency model to see how it compares to asyncio.

An interesting concept caught my attention: go generators.

Generators in Go

@nikhita
nikhita / update-golang.md
Last active Oct 25, 2021
How to update the Go version
View update-golang.md

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

@blixt
blixt / logger_middleware.go
Last active May 22, 2021
Logger middleware for Go HTTP servers which logs every request with response status code in the Apache format.
View logger_middleware.go
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
"time"
)
View txasynciouvloop.py
"""
twisted async/await with asyncio reactor and uvloop
"""
import asyncio
import uvloop
from asyncio.tasks import ensure_future
try:
# as per github source the asyncio reactor is intended to be released in future version
@evantoli
evantoli / GitConfigHttpProxy.md
Last active Oct 24, 2021
Configure Git to use a proxy
View GitConfigHttpProxy.md

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like: