Skip to content

Instantly share code, notes, and snippets.

View biswajit-k's full-sized avatar
🎯
Focusing

Biswajit Kaushik biswajit-k

🎯
Focusing
View GitHub Profile
@nontech
nontech / Final Report GSoC 2022.md
Last active December 4, 2023 00:31
This is my final report for my GSoC 2022 OpenStreetMap(OSM) project
@nontech
nontech / Understanding the codebase.md
Last active January 23, 2023 16:22
This article captures how I navigated through the codebase of OpenStreetMap(OSM) for my GSoC 2022 project

Understanding the codebase

What is this article about?

This article is about understanding how ‘Custom Map Data’ works.

This understanding helped me create the requested feature (Geo-referenced image viewer) as part of GSoC 2022.

To learn more about

I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:

Do consider to STAR, if it helped you.

London

@wojteklu
wojteklu / clean_code.md
Last active June 18, 2024 15:19
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@LeoHuckvale
LeoHuckvale / api_request.py
Last active June 8, 2024 11:05
Generic API request class based on Python Requests library
import json
from urllib.parse import urljoin
import logging
import requests
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)
@kmonsoor
kmonsoor / get_yt_video_id.py
Last active February 15, 2024 17:15
Extract Video-ID from a Youtube url
# initial version: http://stackoverflow.com/a/7936523/617185 \
# by Mikhail Kashkin(http://stackoverflow.com/users/85739/mikhail-kashkin)
def get_yt_video_id(url):
"""Returns Video_ID extracting from the given url of Youtube
Examples of URLs:
Valid:
'http://youtu.be/_lOT2p_FCvA',
'www.youtube.com/watch?v=_lOT2p_FCvA&feature=feedu',
@tsaqib
tsaqib / ideas.md
Last active April 14, 2024 12:48
Ideas that you can use for hackathons, competitions and research.

Ideas

I have collected and moderated these ideas from various public sources and put into one place so that problem solvers and solution developers may find inspirations. Because I wish to update it regularly, I have setup as a single page wiki. You may try these ideas on hackathons/competitions/research; some are quite intense problems and some are not. Many of the problems were prepared keeping Dhaka/Bangladesh in mind, but of course can be applied to just about any underdeveloped/developing and sometimes developed countries.

Categories:
  • Eradicate Extreme Poverty and Hunger
  • Education
  • Healthcare
  • Governance
@jboner
jboner / latency.txt
Last active June 18, 2024 20:22
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD